EDAC, amd64: Determine EDAC MC capabilities on Fam17h
authorYazen Ghannam <Yazen.Ghannam@amd.com>
Tue, 29 Nov 2016 14:51:56 +0000 (08:51 -0600)
committerBorislav Petkov <bp@suse.de>
Tue, 29 Nov 2016 17:04:54 +0000 (18:04 +0100)
commit2d09d8f301f53cb92e7ae7183d58a74fc55f85c0
tree027fde1139a22f7bcd794ca7b6157ce84e1eed8a
parent07ed82ef93d6c70dcd1f31429a8fd12fbdeb21fd
EDAC, amd64: Determine EDAC MC capabilities on Fam17h

The UMCs on Fam17h are independent memory controllers so we need to
read the capabilities from all UMCs and make sure they agree. Once
we determine what capabilities are available we should save them for
convenience.

Signed-off-by: Yazen Ghannam <Yazen.Ghannam@amd.com>
Cc: Aravind Gopalakrishnan <aravindksg.lkml@gmail.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: x86-ml <x86@kernel.org>
Link: http://lkml.kernel.org/r/1480431116-94683-1-git-send-email-Yazen.Ghannam@amd.com
[ Simplify f17h_determine_edac_ctl_cap(), preinit edac_mode in init_csrows(). ]
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/amd64_edac.c