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

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