EDAC, amd64: Don't force-enable ECC checking on newer systems
authorYazen Ghannam <Yazen.Ghannam@amd.com>
Tue, 22 Nov 2016 21:40:16 +0000 (15:40 -0600)
committerBorislav Petkov <bp@suse.de>
Wed, 23 Nov 2016 18:04:11 +0000 (19:04 +0100)
commit044e7a414be9ba20826e5fd482214686193fe7b6
treeb2c6c6f54eb54c1f10c7f04ed7baef3d468cd159
parentd12a969ebbfcfc25853c4147d42b388f758e8784
EDAC, amd64: Don't force-enable ECC checking on newer systems

It's not recommended for the OS to try and force-enable ECC checking.
This is considered a firmware task since it includes memory training,
etc, so don't change ECC settings on Fam17h or newer systems and inform
the user.

Signed-off-by: Yazen Ghannam <Yazen.Ghannam@amd.com>
Cc: Aravind Gopalakrishnan <aravindksg.lkml@gmail.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1479850816-1595-1-git-send-email-Yazen.Ghannam@amd.com
[ Put the "forcing" message in an else branch. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/amd64_edac.c