EDAC/amd64: Cache secondary Chip Select registers
authorYazen Ghannam <yazen.ghannam@amd.com>
Thu, 22 Aug 2019 00:00:01 +0000 (00:00 +0000)
committerBorislav Petkov <bp@suse.de>
Fri, 23 Aug 2019 10:55:05 +0000 (12:55 +0200)
commit7574729e91468d568cc198de438feb35ef04f41a
treeecdf3925e06343e3c7385f13c358858b664da548
parent8a2eaab7daf03b23ac902481218034ae2fae5e16
EDAC/amd64: Cache secondary Chip Select registers

AMD Family 17h systems have a set of secondary Chip Select Base
Addresses and Address Masks. These do not represent unique Chip
Selects, rather they are used in conjunction with the primary
Chip Select registers in certain cases.

Cache these secondary Chip Select registers for future use.

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: "linux-edac@vger.kernel.org" <linux-edac@vger.kernel.org>
Cc: James Morse <james.morse@arm.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Tony Luck <tony.luck@intel.com>
Link: https://lkml.kernel.org/r/20190821235938.118710-7-Yazen.Ghannam@amd.com
drivers/edac/amd64_edac.c
drivers/edac/amd64_edac.h