]> www.infradead.org Git - users/mchehab/rasdaemon.git/commitdiff
rasdaemon: Identify Ivy Bridge properly
authorAristeu Rozanski <arozansk@redhat.com>
Mon, 18 May 2015 17:19:31 +0000 (14:19 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 3 Jun 2015 13:24:31 +0000 (10:24 -0300)
This patch is based on b29cc4d615cead87cbc163ada0645b10c5b1217d (mcelog)
mcelog: Identify Ivy Bridge properly

Uniquely identify Ivy Bridge even though the machine checks are the same
for Sandy Bridge and Ivy Bridge.  This makes the output for the processor
display "Ivy Bridge".

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Cc: tony.luck@intel.com
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Aristeu Rozanski <arozansk@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
ras-mce-handler.c

index d2de0969f4405cc85360cb1d4406674b2141d15b..07e298fe00b7c1c7c4fafaf558efc428be861799 100644 (file)
@@ -75,7 +75,7 @@ static enum cputype select_intel_cputype(struct ras_events *ras)
                        return CPU_NEHALEM;
                else if (mce->model == 0x2e || mce->model == 0x2f)
                        return CPU_XEON75XX;
-               else if (mce->model == 0x2a || mce->model == 0x3a)
+               else if (mce->model == 0x2a)
                        return CPU_SANDY_BRIDGE;
                else if (mce->model == 0x2d)
                        return CPU_SANDY_BRIDGE_EP;