ac32bf
From 66021c20c92b5df16b5c8dae4fb664788fa40376 Mon Sep 17 00:00:00 2001
ac32bf
From: Aristeu Rozanski <arozansk@redhat.com>
ac32bf
Date: Mon, 18 May 2015 14:19:31 -0300
ac32bf
Subject: [PATCH 04/13] rasdaemon: Identify Ivy Bridge properly
ac32bf
ac32bf
This patch is based on b29cc4d615cead87cbc163ada0645b10c5b1217d (mcelog)
ac32bf
	mcelog: Identify Ivy Bridge properly
ac32bf
ac32bf
	Uniquely identify Ivy Bridge even though the machine checks are the same
ac32bf
	for Sandy Bridge and Ivy Bridge.  This makes the output for the processor
ac32bf
	display "Ivy Bridge".
ac32bf
ac32bf
	Signed-off-by: Prarit Bhargava <prarit@redhat.com>
ac32bf
	Cc: tony.luck@intel.com
ac32bf
	Signed-off-by: Andi Kleen <ak@linux.intel.com>
ac32bf
ac32bf
Signed-off-by: Aristeu Rozanski <arozansk@redhat.com>
ac32bf
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
ac32bf
---
ac32bf
 ras-mce-handler.c | 2 +-
ac32bf
 1 file changed, 1 insertion(+), 1 deletion(-)
ac32bf
ac32bf
diff --git a/ras-mce-handler.c b/ras-mce-handler.c
ac32bf
index d2de096..07e298f 100644
ac32bf
--- a/ras-mce-handler.c
ac32bf
+++ b/ras-mce-handler.c
ac32bf
@@ -75,7 +75,7 @@ static enum cputype select_intel_cputype(struct ras_events *ras)
ac32bf
 			return CPU_NEHALEM;
ac32bf
 		else if (mce->model == 0x2e || mce->model == 0x2f)
ac32bf
 			return CPU_XEON75XX;
ac32bf
-		else if (mce->model == 0x2a || mce->model == 0x3a)
ac32bf
+		else if (mce->model == 0x2a)
ac32bf
 			return CPU_SANDY_BRIDGE;
ac32bf
 		else if (mce->model == 0x2d)
ac32bf
 			return CPU_SANDY_BRIDGE_EP;
ac32bf
-- 
ac32bf
1.8.3.1
ac32bf