From: Aristeu Rozanski Date: Mon, 18 May 2015 17:19:31 +0000 (-0300) Subject: rasdaemon: Identify Ivy Bridge properly X-Git-Tag: v0.5.5~9 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=66021c20c92b5df16b5c8dae4fb664788fa40376;p=users%2Fmchehab%2Frasdaemon.git rasdaemon: Identify Ivy Bridge properly 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 Cc: tony.luck@intel.com Signed-off-by: Andi Kleen Signed-off-by: Aristeu Rozanski Signed-off-by: Mauro Carvalho Chehab --- diff --git a/ras-mce-handler.c b/ras-mce-handler.c index d2de096..07e298f 100644 --- a/ras-mce-handler.c +++ b/ras-mce-handler.c @@ -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;