MCE, AMD: Correct ucode patch buffer description
authorBorislav Petkov <borislav.petkov@amd.com>
Mon, 21 Nov 2011 18:45:34 +0000 (19:45 +0100)
committerBorislav Petkov <bp@alien8.de>
Mon, 19 Mar 2012 11:06:24 +0000 (12:06 +0100)
This MC1 error signature is called differently now, fix it.

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

index 0ee1c0a115a2bf8fce553e4215118b6ad0186005..5626e17a6b91aed1cba486f6b78635bc51c30c73 100644 (file)
@@ -88,7 +88,7 @@ static const char * const f15h_ic_mce_desc[] = {
        "Parity error for IC probe tag valid bit",
        "PFB non-cacheable bit parity error",
        "PFB valid bit parity error",                   /* xec = 0xd */
-       "patch RAM",                                    /* xec = 010 */
+       "Microcode Patch Buffer",                       /* xec = 010 */
        "uop queue",
        "insn buffer",
        "predecode buffer",
@@ -354,7 +354,11 @@ static bool f15h_ic_mce(u16 ec, u8 xec)
                pr_cont("%s.\n", f15h_ic_mce_desc[xec-2]);
                break;
 
-       case 0x10 ... 0x14:
+       case 0x10:
+               pr_cont("%s.\n", f15h_ic_mce_desc[xec-4]);
+               break;
+
+       case 0x11 ... 0x14:
                pr_cont("Decoder %s parity error.\n", f15h_ic_mce_desc[xec-4]);
                break;