MCE, AMD: Correct bank 5 error signatures
authorBorislav Petkov <borislav.petkov@amd.com>
Fri, 25 Nov 2011 14:42:59 +0000 (15:42 +0100)
committerBorislav Petkov <bp@alien8.de>
Mon, 19 Mar 2012 11:06:26 +0000 (12:06 +0100)
... and remove superfluous ErrorCodeExt check.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Reviewed-by: Andreas Herrmann <andreas.herrmann3@amd.com>
drivers/edac/mce_amd.c

index f6ebe5e9a57f4f27e88b6bf613590c3f31843a36..88a92974b78c6a0103ecb09e328dfb864be4f519 100644 (file)
@@ -136,7 +136,7 @@ static const char * const fr_ex_mce_desc[] = {
        "Physical register file AG0 port",
        "Physical register file AG1 port",
        "Flag register file",
-       "DE correctable error could not be corrected"
+       "DE error occurred"
 };
 
 static bool f12h_dc_mce(u16 ec, u8 xec)
@@ -577,9 +577,6 @@ static void amd_decode_fr_mce(struct mce *m)
        if (c->x86 == 0xf || c->x86 == 0x11)
                goto wrong_fr_mce;
 
-       if (c->x86 != 0x15 && xec != 0x0)
-               goto wrong_fr_mce;
-
        pr_emerg(HW_ERR "%s Error: ",
                 (c->x86 == 0x15 ? "Execution Unit" : "FIROB"));