lkml.org 
[lkml]   [2011]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/2] x86, MCE: Do not taint when handling correctable errors
    Date
    From: Borislav Petkov <borislav.petkov@amd.com>

    Correctable errors are considered something rather normal on modern
    hardware these days. Even more importantly, correctable errors mean
    exactly that - they've been corrected by the hardware - and there's no
    need to taint the kernel since execution hasn't been compromised so far.

    Suggested-by: Tony Luck <tony.luck@intel.com>
    Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
    ---
    arch/x86/kernel/cpu/mcheck/mce.c | 1 -
    1 files changed, 0 insertions(+), 1 deletions(-)

    diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c
    index 3385ea2..68e2303 100644
    --- a/arch/x86/kernel/cpu/mcheck/mce.c
    +++ b/arch/x86/kernel/cpu/mcheck/mce.c
    @@ -590,7 +590,6 @@ void machine_check_poll(enum mcp_flags flags, mce_banks_t *b)
    if (!(flags & MCP_DONTLOG) && !mce_dont_log_ce) {
    mce_log(&m);
    atomic_notifier_call_chain(&x86_mce_decoder_chain, 0, &m);
    - add_taint(TAINT_MACHINE_CHECK);
    }

    /*
    --
    1.7.4.rc2


    \
     
     \ /
      Last update: 2011-04-15 10:49    [W:0.022 / U:59.276 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site