From: Borislav Petkov Date: Wed, 22 Sep 2010 13:06:24 +0000 (+0200) Subject: EDAC, MCE: Add an F15h NB MCE decoder X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=05cd667d668eb08845dd49c02130e5223121b715;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c index 44e6cdaff663..efbcb5389e80 100644 --- a/drivers/edac/mce_amd.c +++ b/drivers/edac/mce_amd.c @@ -556,6 +556,15 @@ static bool f10h_nb_mce(u16 ec, u8 xec) goto out; 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: offset = 24; break; @@ -804,6 +813,7 @@ static int __init mce_amd_init(void) xec_mask = 0x1f; fam_ops->dc_mce = f15h_dc_mce; fam_ops->ic_mce = f15h_ic_mce; + fam_ops->nb_mce = f10h_nb_mce; break; default: