krishnanadh / rpms / rasdaemon

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