aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2011-11-25 09:42:59 -0500
committerBorislav Petkov <bp@alien8.de>2012-03-19 07:06:26 -0400
commitae615b4b5f0b875cbe8a029239436c6aed8c0ef4 (patch)
tree360d9e54aca4d048f11a3c3a53ac34c829beda60 /drivers/edac
parent68782673e6dd69054a9b75b0983a5e45e16f6625 (diff)
MCE, AMD: Correct bank 5 error signatures
... and remove superfluous ErrorCodeExt check. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com> Reviewed-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/mce_amd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c
index f6ebe5e9a57f..88a92974b78c 100644
--- a/drivers/edac/mce_amd.c
+++ b/drivers/edac/mce_amd.c
@@ -136,7 +136,7 @@ static const char * const fr_ex_mce_desc[] = {
136 "Physical register file AG0 port", 136 "Physical register file AG0 port",
137 "Physical register file AG1 port", 137 "Physical register file AG1 port",
138 "Flag register file", 138 "Flag register file",
139 "DE correctable error could not be corrected" 139 "DE error occurred"
140}; 140};
141 141
142static bool f12h_dc_mce(u16 ec, u8 xec) 142static bool f12h_dc_mce(u16 ec, u8 xec)
@@ -577,9 +577,6 @@ static void amd_decode_fr_mce(struct mce *m)
577 if (c->x86 == 0xf || c->x86 == 0x11) 577 if (c->x86 == 0xf || c->x86 == 0x11)
578 goto wrong_fr_mce; 578 goto wrong_fr_mce;
579 579
580 if (c->x86 != 0x15 && xec != 0x0)
581 goto wrong_fr_mce;
582
583 pr_emerg(HW_ERR "%s Error: ", 580 pr_emerg(HW_ERR "%s Error: ",
584 (c->x86 == 0x15 ? "Execution Unit" : "FIROB")); 581 (c->x86 == 0x15 ? "Execution Unit" : "FIROB"));
585 582