mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-25 10:19:47 +00:00
EDAC, MCE: Add F12h NB MCE decoder
F12h is completely covered by the generic path. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
This commit is contained in:
parent
e7281eb37d
commit
cb9d5ecdff
1 changed files with 3 additions and 2 deletions
|
@ -427,7 +427,7 @@ static bool f10h_nb_mce(u16 ec, u8 xec)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool f14h_nb_mce(u16 ec, u8 xec)
|
static bool nb_noop_mce(u16 ec, u8 xec)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -641,13 +641,14 @@ static int __init mce_amd_init(void)
|
||||||
case 0x12:
|
case 0x12:
|
||||||
fam_ops->dc_mce = f12h_dc_mce;
|
fam_ops->dc_mce = f12h_dc_mce;
|
||||||
fam_ops->ic_mce = k8_ic_mce;
|
fam_ops->ic_mce = k8_ic_mce;
|
||||||
|
fam_ops->nb_mce = nb_noop_mce;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x14:
|
case 0x14:
|
||||||
nb_err_cpumask = 0x3;
|
nb_err_cpumask = 0x3;
|
||||||
fam_ops->dc_mce = f14h_dc_mce;
|
fam_ops->dc_mce = f14h_dc_mce;
|
||||||
fam_ops->ic_mce = f14h_ic_mce;
|
fam_ops->ic_mce = f14h_ic_mce;
|
||||||
fam_ops->nb_mce = f14h_nb_mce;
|
fam_ops->nb_mce = nb_noop_mce;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue