summaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_pci_sysfs.c
diff options
context:
space:
mode:
authorYazen Ghannam <yazen.ghannam@amd.com>2019-03-25 20:33:30 +0000
committerBorislav Petkov <bp@suse.de>2019-03-27 00:13:25 +0100
commit869adc4316ea348e3c52af2494d9b1f6bd68abbd (patch)
tree5ecc28c0ca0531d9cd153d75635260ac90e188e3 /drivers/edac/edac_pci_sysfs.c
parentbdcee7747f5c490297665af0e1e0fbeb4368804d (diff)
EDAC/amd64: Set maximum channel layer size depending on family
The AMD64 EDAC module currently hardcodes the EDAC channel layer size count to two. Future AMD systems may have more channels than this. Set the EDAC channel layer size equal to the maximum number of channels possible for the system. On Family 17h and later, this is set in the num_umcs variable. Older systems will continue to use two as the default. Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com> Signed-off-by: Borislav Petkov <bp@suse.de> Cc: James Morse <james.morse@arm.com> Cc: Mauro Carvalho Chehab <mchehab@kernel.org> Cc: linux-edac <linux-edac@vger.kernel.org> Link: https://lkml.kernel.org/r/20190325203319.7603-1-Yazen.Ghannam@amd.com
Diffstat (limited to 'drivers/edac/edac_pci_sysfs.c')
0 files changed, 0 insertions, 0 deletions