lkml.org 
[lkml]   [2011]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/4] x86, MCE: Add a HW injection flag
    Date
    From: Borislav Petkov <borislav.petkov@amd.com>

    Add an mce->inject_flag to denote that we're doing HW injection.

    Cc: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
    ---
    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 eb16e94..a2e3dcf 100644
    --- a/arch/x86/include/asm/mce.h
    +++ b/arch/x86/include/asm/mce.h
    @@ -49,6 +49,7 @@
    #define MCJ_CTX_IRQ 2 /* inject context: IRQ */
    #define MCJ_NMI_BROADCAST 4 /* do NMI broadcasting */
    #define MCJ_EXCEPTION 8 /* raise as exception */
    +#define MCJ_HW_INJECT 16 /* do a HW MCE inject, i.e. INT18 */

    /* Fields are zero when not available */
    struct mce {
    --
    1.7.4.rc2


    \
     
     \ /
      Last update: 2011-05-05 18:53    [W:0.018 / U:33.504 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site