summaryrefslogtreecommitdiffstats
path: root/drivers/edac/r82600_edac.c
diff options
context:
space:
mode:
authorYazen Ghannam <yazen.ghannam@amd.com>2019-08-21 23:59:57 +0000
committerBorislav Petkov <bp@suse.de>2019-08-23 07:06:29 +0200
commit353a1fcb8f9e5857c0fb720b9e57a86c1fb7c17e (patch)
treef4840cefffa8a6aa9737bd4fed1ed91fb4281669 /drivers/edac/r82600_edac.c
parentf8be8e5680225ac9caf07d4545f8529b7395327f (diff)
downloadlinux-353a1fcb8f9e5857c0fb720b9e57a86c1fb7c17e.tar.bz2
EDAC/amd64: Initialize DIMM info for systems with more than two channels
Currently, the DIMM info for AMD Family 17h systems is initialized in init_csrows(). This function is shared with legacy systems, and it has a limit of two channel support. This prevents initialization of the DIMM info for a number of ranks, so there will be missing ranks in the EDAC sysfs. Create a new init_csrows_df() for Family17h+ and revert init_csrows() back to pre-Family17h support. Loop over all channels in the new function in order to support systems with more than two channels. 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-4-Yazen.Ghannam@amd.com
Diffstat (limited to 'drivers/edac/r82600_edac.c')
0 files changed, 0 insertions, 0 deletions