]> git.baikalelectronics.ru Git - kernel.git/commit
EDAC/amd64: Get rid of the ECC disabled long message
authorBorislav Petkov <bp@suse.de>
Sat, 9 Nov 2019 09:00:54 +0000 (10:00 +0100)
committerBorislav Petkov <bp@suse.de>
Sat, 9 Nov 2019 09:06:36 +0000 (10:06 +0100)
commitf2f7acf407aea13a3e56377c1217ada5e4d66493
treee44b41016dd2530fd8fc9ff1d75e7a66a96ae45e
parent816f63c47b0afb79ddb3d805df921cab3a777ce1
EDAC/amd64: Get rid of the ECC disabled long message

This message keeps flooding dmesg on boxes where ECC is disabled or the
DIMMs do not support ECC but the module gets auto-probed. What's even
worse is that autoprobing happens on every CPU due to the CPU-family
matching the driver does and uevent being generated for each CPU device.

What is more, this message is becoming even more useless on newer
systems where forcing ECC is not recommended and it should be done in
the BIOS so the BIOS can do all the necessary work, i.e., just setting a
bit in an MSR is not enough anymore.

So get rid of it.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Yazen Ghannam <yazen.ghannam@amd.com>
Cc: linux-edac@vger.kernel.org
Link: https://lkml.kernel.org/r/20191106160607.GC28380@zn.tnic
drivers/edac/amd64_edac.c