Skip to content

Commit

Permalink
MCE, AMD: Correct bank 5 error signatures
Browse files Browse the repository at this point in the history
... and remove superfluous ErrorCodeExt check.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Reviewed-by: Andreas Herrmann <andreas.herrmann3@amd.com>
  • Loading branch information
Borislav Petkov authored and Borislav Petkov committed Mar 19, 2012
1 parent 6878267 commit ae615b4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/edac/mce_amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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"));

Expand Down

0 comments on commit ae615b4

Please sign in to comment.