Blame SOURCES/0057-rasdaemon-add-support-for-haswell-ex.patch

d9e469
Based on mcelog code.
d9e469
d9e469
Signed-off-by: Seiichi Ikarashi <s.ikarashi@jp.fujitsu.com>
d9e469
d9e469
---
d9e469
 ras-mce-handler.c |    3 ++-
d9e469
 1 files changed, 2 insertions(+), 1 deletions(-)
d9e469
d9e469
diff --git a/ras-mce-handler.c b/ras-mce-handler.c
d9e469
index 3976f90..23f2488 100644
d9e469
--- a/ras-mce-handler.c
d9e469
+++ b/ras-mce-handler.c
d9e469
@@ -90,7 +90,8 @@ static enum cputype select_intel_cputype(struct ras_events *ras)
d9e469
 			return CPU_HASWELL;
d9e469
 		else if (mce->model == 0x3f)
d9e469
 			return CPU_HASWELL_EPEX;
d9e469
-		else if (mce->model == 0x3d)
d9e469
+		else if (mce->model == 0x3d || mce->model == 0x4f ||
d9e469
+			 mce->model == 0x56)
d9e469
 			return CPU_BROADWELL;
d9e469
 		else if (mce->model == 0x57)
d9e469
 			return CPU_KNIGHTS_LANDING;