aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>2023-09-01 17:01:27 +0800
committerTony Luck <tony.luck@intel.com>2023-09-06 08:58:20 -0700
commit1f3a769c8fb736815a56ea104b7b751c5565cb88 (patch)
tree813b8ade4f11de14825d170b0317693467163291
parenta8414184e6f72014fe28e800cc44a5f4828bb426 (diff)
downloadmcelog-1f3a769c8fb736815a56ea104b7b751c5565cb88.tar.gz
mcelog: Wire up model-specific decoding for Sierra Forestv195
The model-specific decoding for Sierra Forest is the same as Granite Rapids'. Wire up the model-specific docoding of Granite Rapids for Sierra Forest. Tested-by: Tony Zhu <tony.zhu@intel.com> Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
-rw-r--r--intel.c1
-rw-r--r--p4.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/intel.c b/intel.c
index bc9b0ca..96cba5a 100644
--- a/intel.c
+++ b/intel.c
@@ -113,6 +113,7 @@ static int intel_memory_error(struct mce *m, unsigned recordlen)
sapphire_memerr_misc(m, channel, dimm);
break;
case CPU_GRANITERAPIDS:
+ case CPU_SIERRAFOREST:
granite_memerr_misc(m, channel, dimm);
break;
default:
diff --git a/p4.c b/p4.c
index b96bd1e..c9daaf2 100644
--- a/p4.c
+++ b/p4.c
@@ -470,6 +470,7 @@ void decode_intel_mc(struct mce *log, int cputype, int *ismemerr, unsigned size)
sapphire_decode_model(cputype, log->bank, log->status, log->misc);
break;
case CPU_GRANITERAPIDS:
+ case CPU_SIERRAFOREST:
granite_decode_model(cputype, log->bank, log->status, log->misc);
break;
case CPU_DENVERTON: