One fix which makes MCE decoding much more "liberal" wrt families.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAABAgAGBQJPfFQCAAoJEBLB8Bhh3lVKnMAP/je7vKTEJeQkFikqwmWJzssc xMHRXLEgrh86RQ5BxHOuiTemKIM6BtwylZQHSXl+idOkPVrHBwQ1xdRuB5SXF0Fc gBFYZXL9RUKh7wQYwvcIibQtbF75kJYqU5GlrIt5l6I8qY6xNuCRjuSVtBnw4v7j JVHpGDAzASaGX8KMqijE97JrQOp/08/+C0a+p0Xj2GmaJp7vsgfGAj6vbsOCk7xA dWpTh3wQnhM0g+i8+N2o3+DAgrJ6PQo3JUgBWS23u7bk4DU2Gj7LlPKhiCGu3PdP YRNuX+nDkNJs0I6KK8m0W+9u8nEzmPXp7DM40162FFXdIzlwYxMK9zUM9eXxr1yY wBFhQ3H9tS32gJzsNORkp8vDLFVqLV+uEhutDS3EaWneg7wwCrU6E3NRD1PyO7Me MzsWX/U1DFVZgG2/yOTKD9sJWtQ6g/D9NFUO2q6hGkk1O+kknGoAKpIXm/ok20oC kWNexfVFPnagixvntdeSQQvy9SEyEL+bVf8OMfv115eOeHsJTg85eyvOixPm4gLE MWAwkZ3hnLcL9Ugv45KXHWR3lgHLbyGk11oGC2Nu2WlRLdLnJpmdfQO/4QFtfSwL gUL23f6nWmUcJTWFAS+gP2iFALc6HvWHb6w9Jn4ZKZw5AjDCNLqpoQRyCG18h2Du hlfnPEiB2DGwbb0yZw+M =2kpn -----END PGP SIGNATURE----- Merge tag 'mce-fix-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp Pull MCE fixlet from Borislav Petkov: "One fix which makes MCE decoding much more "liberal" wrt families." * tag 'mce-fix-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp: MCE, AMD: Drop too granulary family model checks
This commit is contained in:
commit
7114a72ff8
|
@ -754,9 +754,7 @@ static int __init mce_amd_init(void)
|
||||||
if (c->x86_vendor != X86_VENDOR_AMD)
|
if (c->x86_vendor != X86_VENDOR_AMD)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if ((c->x86 < 0xf || c->x86 > 0x12) &&
|
if (c->x86 < 0xf || c->x86 > 0x15)
|
||||||
(c->x86 != 0x14 || c->x86_model > 0xf) &&
|
|
||||||
(c->x86 != 0x15 || c->x86_model > 0xf))
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
fam_ops = kzalloc(sizeof(struct amd_decoder_ops), GFP_KERNEL);
|
fam_ops = kzalloc(sizeof(struct amd_decoder_ops), GFP_KERNEL);
|
||||||
|
@ -797,7 +795,7 @@ static int __init mce_amd_init(void)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
printk(KERN_WARNING "Huh? What family is that: %d?!\n", c->x86);
|
printk(KERN_WARNING "Huh? What family is it: 0x%x?!\n", c->x86);
|
||||||
kfree(fam_ops);
|
kfree(fam_ops);
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue