提交 ae615b4b 编写于 作者: B Borislav Petkov 提交者: Borislav Petkov

MCE, AMD: Correct bank 5 error signatures

... and remove superfluous ErrorCodeExt check.
Signed-off-by: NBorislav Petkov <borislav.petkov@amd.com>
Reviewed-by: NAndreas Herrmann <andreas.herrmann3@amd.com>
上级 68782673
...@@ -136,7 +136,7 @@ static const char * const fr_ex_mce_desc[] = { ...@@ -136,7 +136,7 @@ static const char * const fr_ex_mce_desc[] = {
"Physical register file AG0 port", "Physical register file AG0 port",
"Physical register file AG1 port", "Physical register file AG1 port",
"Flag register file", "Flag register file",
"DE correctable error could not be corrected" "DE error occurred"
}; };
static bool f12h_dc_mce(u16 ec, u8 xec) static bool f12h_dc_mce(u16 ec, u8 xec)
...@@ -577,9 +577,6 @@ static void amd_decode_fr_mce(struct mce *m) ...@@ -577,9 +577,6 @@ static void amd_decode_fr_mce(struct mce *m)
if (c->x86 == 0xf || c->x86 == 0x11) if (c->x86 == 0xf || c->x86 == 0x11)
goto wrong_fr_mce; goto wrong_fr_mce;
if (c->x86 != 0x15 && xec != 0x0)
goto wrong_fr_mce;
pr_emerg(HW_ERR "%s Error: ", pr_emerg(HW_ERR "%s Error: ",
(c->x86 == 0x15 ? "Execution Unit" : "FIROB")); (c->x86 == 0x15 ? "Execution Unit" : "FIROB"));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册