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