summaryrefslogtreecommitdiffstats
path: root/drivers/edac/skx_common.c
diff options
context:
space:
mode:
authorYouquan Song <youquan.song@intel.com>2022-09-01 12:43:10 -0700
committerTony Luck <tony.luck@intel.com>2022-09-08 11:40:01 -0700
commit2738c69a8813453b35549465867ae591f8598eb0 (patch)
tree572fe6bb7040d4a553048e794b3c55ec98c16597 /drivers/edac/skx_common.c
parent627d551a9e75ef81525822ba2a0d9d5a64791d89 (diff)
downloadlinux-stable-2738c69a8813453b35549465867ae591f8598eb0.tar.gz
linux-stable-2738c69a8813453b35549465867ae591f8598eb0.tar.bz2
linux-stable-2738c69a8813453b35549465867ae591f8598eb0.zip
EDAC/i10nm: Add driver decoder for Ice Lake and Tremont CPUs
Current i10nm_edac only supports firmware decoder (ACPI DSM methods). MCA bank registers of Ice Lake or Tremont CPUs contain the information to decode DDR memory errors. To get better decoding performance, add the driver decoder (decoding DDR memory errors via extracting error information from MCA bank registers) for Ice Lake and Tremont CPUs. Co-developed-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com> Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com> Signed-off-by: Youquan Song <youquan.song@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com> Link: https://lore.kernel.org/all/20220901194310.115427-1-tony.luck@intel.com/
Diffstat (limited to 'drivers/edac/skx_common.c')
-rw-r--r--drivers/edac/skx_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/edac/skx_common.c b/drivers/edac/skx_common.c
index 16ca3de57c24..7276ce3a33e1 100644
--- a/drivers/edac/skx_common.c
+++ b/drivers/edac/skx_common.c
@@ -651,6 +651,7 @@ int skx_mce_check_error(struct notifier_block *nb, unsigned long val,
return NOTIFY_DONE;
memset(&res, 0, sizeof(res));
+ res.mce = mce;
res.addr = mce->addr;
/* Try driver decoder first */