lkml.org 
[lkml]   [2010]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 05/12] EDAC, MCE: No F15h LS MCE decoder
    Date
    From: Borislav Petkov <borislav.petkov@amd.com>

    F15h BD doesn't generate LS MCEs so warn about it.

    Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
    ---
    drivers/edac/mce_amd.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c
    index 7eb2706..44e6cda 100644
    --- a/drivers/edac/mce_amd.c
    +++ b/drivers/edac/mce_amd.c
    @@ -467,7 +467,7 @@ static void amd_decode_ls_mce(struct mce *m)
    u16 ec = m->status & 0xffff;
    u8 xec = (m->status >> 16) & xec_mask;

    - if (boot_cpu_data.x86 == 0x14) {
    + if (boot_cpu_data.x86 >= 0x14) {
    pr_emerg("You shouldn't be seeing an LS MCE on this cpu family,"
    " please report on LKML.\n");
    return;
    --
    1.7.3.1.50.g1e633


    \
     
     \ /
      Last update: 2010-11-10 20:09    [W:0.028 / U:60.084 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site