x86/mce: Add instruction recovery signatures to mce-severity table
authorTony Luck <tony.luck@intel.com>
Thu, 10 May 2012 18:12:14 +0000 (11:12 -0700)
committerTony Luck <tony.luck@intel.com>
Wed, 23 May 2012 21:24:11 +0000 (14:24 -0700)
Instruction recovery cases are very similar to the data recovery one
we already have. Just trade out for a new MCACOD value.

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/x86/kernel/cpu/mcheck/mce-severity.c

index 1ccd453..413c2ce 100644 (file)
@@ -126,6 +126,16 @@ static struct severity {
                SER, MASK(MCI_STATUS_OVER|MCI_UC_SAR|MCI_ADDR|MCACOD, MCI_UC_SAR|MCI_ADDR|MCACOD_DATA),
                USER
                ),
+       MCESEV(
+               KEEP, "HT thread notices Action required: instruction fetch error",
+               SER, MASK(MCI_STATUS_OVER|MCI_UC_SAR|MCI_ADDR|MCACOD, MCI_UC_SAR|MCI_ADDR|MCACOD_INSTR),
+               MCGMASK(MCG_STATUS_EIPV, 0)
+               ),
+       MCESEV(
+               AR, "Action required: instruction fetch error",
+               SER, MASK(MCI_STATUS_OVER|MCI_UC_SAR|MCI_ADDR|MCACOD, MCI_UC_SAR|MCI_ADDR|MCACOD_INSTR),
+               USER
+               ),
 #endif
        MCESEV(
                PANIC, "Action required: unknown MCACOD",