Skip to content

Commit 05cd667

Browse files
author
Borislav Petkov
committed
EDAC, MCE: Add an F15h NB MCE decoder
by (almost) reusing the F10h one since the signatures are the same. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
1 parent b18434c commit 05cd667

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎drivers/edac/mce_amd.c‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,15 @@ static bool f10h_nb_mce(u16 ec, u8 xec)
556556
goto out;
557557
break;
558558

559+
case 0x19:
560+
if (boot_cpu_data.x86 == 0x15)
561+
pr_cont("Compute Unit Data Error.\n");
562+
else
563+
ret = false;
564+
565+
goto out;
566+
break;
567+
559568
case 0x1c ... 0x1f:
560569
offset = 24;
561570
break;
@@ -804,6 +813,7 @@ static int __init mce_amd_init(void)
804813
xec_mask = 0x1f;
805814
fam_ops->dc_mce = f15h_dc_mce;
806815
fam_ops->ic_mce = f15h_ic_mce;
816+
fam_ops->nb_mce = f10h_nb_mce;
807817
break;
808818

809819
default:

0 commit comments

Comments
 (0)