MCE: Allow AMD MSRs injected via xen-mceinj
PATCH 1/1 MCE: Allow AMD MSRs injected via xen-mceinj
Allow AMD MSRs injected via xen-mceinj
Signed-off-by Christoph Egger <[email protected]>
Signature · 6 lines
---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85689 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632
xen/arch/x86/cpu/mcheck/mce.c +13 -0
@@ -1145,6 +1121,19 @@ static int x86_mc_msrinject_verify(struccase MSR_IA32_MCG_STATUS :break ; +case MSR_F10_MC4_MISC1 : +case MSR_F10_MC4_MISC2 : +case MSR_F10_MC4_MISC3 : +if (c->x86_vendor !=X86_VENDOR_AMD ) { + reason ="only supported on AMD" ; +break ; + } +if (c->x86 <0x10 ) { + reason ="only supported on AMD Family 10h+" ; +break ; + } +break ; +/* MSRs that the HV will take care of */ case MSR_K8_HWCR :if (c->x86_vendor ==X86_VENDOR_AMD )
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel