Commit 05cd667d authored by Borislav Petkov's avatar Borislav Petkov

EDAC, MCE: Add an F15h NB MCE decoder

by (almost) reusing the F10h one since the signatures are the same.
Signed-off-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
parent b18434ca
...@@ -556,6 +556,15 @@ static bool f10h_nb_mce(u16 ec, u8 xec) ...@@ -556,6 +556,15 @@ static bool f10h_nb_mce(u16 ec, u8 xec)
goto out; goto out;
break; break;
case 0x19:
if (boot_cpu_data.x86 == 0x15)
pr_cont("Compute Unit Data Error.\n");
else
ret = false;
goto out;
break;
case 0x1c ... 0x1f: case 0x1c ... 0x1f:
offset = 24; offset = 24;
break; break;
...@@ -804,6 +813,7 @@ static int __init mce_amd_init(void) ...@@ -804,6 +813,7 @@ static int __init mce_amd_init(void)
xec_mask = 0x1f; xec_mask = 0x1f;
fam_ops->dc_mce = f15h_dc_mce; fam_ops->dc_mce = f15h_dc_mce;
fam_ops->ic_mce = f15h_ic_mce; fam_ops->ic_mce = f15h_ic_mce;
fam_ops->nb_mce = f10h_nb_mce;
break; break;
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment