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 1ccd453903d8b31fff2985a6c6ee59d3b7a4f7d7..413c2ced887c66c89b1f49fb18a3bac29604ccb2 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",