diff options
author | Huang Ying <ying.huang@intel.com> | 2009-07-30 21:41:41 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-08-10 16:58:41 -0400 |
commit | 0dcc66851f1091af421416c28a9458836885f522 (patch) | |
tree | 7dd11e406c501068a50d5e3f1fc272262445c519 /arch/x86/include/asm/mce.h | |
parent | 5b7e88edc6193f36941bccbfd5ed9ed5fe27d2e1 (diff) |
x86, mce: Support specifying raise mode for software MCE injection
Raise mode include raising as exception or raising as poll, it is
specified via the mce.inject_flags field.
This can be used to specify raise mode of UCNA, which is UC error but
raised not as exception. And this can be used to test the filter code
of poll handler or exception handler too. For example, enforce a poll
raise mode for a fatal MCE.
ChangeLog:
v2:
- Re-base on latest x86-tip.git/mce3
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/mce.h')
-rw-r--r-- | arch/x86/include/asm/mce.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h index 8945be9ad2b..b608a64c581 100644 --- a/arch/x86/include/asm/mce.h +++ b/arch/x86/include/asm/mce.h | |||
@@ -44,6 +44,7 @@ | |||
44 | #define MCJ_CTX_PROCESS 1 /* inject context: process */ | 44 | #define MCJ_CTX_PROCESS 1 /* inject context: process */ |
45 | #define MCJ_CTX_IRQ 2 /* inject context: IRQ */ | 45 | #define MCJ_CTX_IRQ 2 /* inject context: IRQ */ |
46 | #define MCJ_NMI_BROADCAST 4 /* do NMI broadcasting */ | 46 | #define MCJ_NMI_BROADCAST 4 /* do NMI broadcasting */ |
47 | #define MCJ_EXCEPTION 8 /* raise as exception */ | ||
47 | 48 | ||
48 | /* Fields are zero when not available */ | 49 | /* Fields are zero when not available */ |
49 | struct mce { | 50 | struct mce { |