]> git.baikalelectronics.ru Git - kernel.git/commit
EDAC/i10nm: Add detection of memory levels for ICX/SPR servers
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Fri, 11 Jun 2021 17:01:19 +0000 (10:01 -0700)
committerTony Luck <tony.luck@intel.com>
Fri, 18 Jun 2021 01:19:30 +0000 (18:19 -0700)
commit4e001e27a1c4a70c839f20537d282cfd9c3828de
tree59ed1c06888923f84a61e087759d3aba3dbd0db8
parentb40f312b3315aafdedc06e512899f0fbb2ba0bea
EDAC/i10nm: Add detection of memory levels for ICX/SPR servers

Current i10nm_edac driver is only for system configured in 1-level
memory. If the system is configured in 2-level memory, the driver
doesn't report the 1st level memory DIMM for the error address, even
if the error occurs in the 1st level memory.

Both Ice Lake servers and Sapphire Rapids servers can be configured
in 2-level memory. Add detection of memory levels to i10nm_edac for
the two kinds of servers so that the driver can report the 2nd level
memory DIMM or the 1st level memory DIMM according to error source.

Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20210611170123.1057025-3-tony.luck@intel.com
drivers/edac/i10nm_base.c
drivers/edac/skx_common.h