lkml.org 
[lkml]   [2009]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 14/14] amd64_edac: decode FR MCEs
    Date
    See Fam10h BKDG (31116, rev. 3.28), Table 101.

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

    diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c
    index 175f95e..a035122 100644
    --- a/drivers/edac/amd64_edac.c
    +++ b/drivers/edac/amd64_edac.c
    @@ -2406,6 +2406,15 @@ wrong_ls_mce:
    pr_warning("Corrupted LS MCE info?\n");
    }

    +static void amd64_decode_fr_mce(u64 mc5_status)
    +{
    + /* we have only one error signature so match all fields at once. */
    + if ((mc5_status & 0xffff) == 0x0f0f)
    + pr_emerg(" FR Error: CPU Watchdog timer expire.\n");
    + else
    + pr_warning("Corrupted FR MCE info?\n");
    +}
    +
    void amd64_decode_nb_mce(struct mem_ctl_info *mci, struct err_regs *regs,
    int handle_errors, int ecc)
    {
    @@ -2524,6 +2533,10 @@ void decode_mce(struct mce *m)
    amd64_decode_nb_mce(mci_lookup[0], &regs, 1, ecc);
    break;

    + case 5:
    + amd64_decode_fr_mce(m->status);
    + break;
    +
    default:
    break;
    }
    --
    1.6.3.3



    \
     
     \ /
      Last update: 2009-07-20 18:15    [W:0.025 / U:59.392 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site