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

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