[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] x86: allow AMD MSRs injected via xen-mceinj
commit b0b42dc9a5d097ad515c749d4d121d839b8d083e Author: Christoph Egger <chegger@xxxxxxxxx> AuthorDate: Thu Apr 11 10:11:44 2013 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Thu Apr 11 10:11:44 2013 +0200 x86: allow AMD MSRs injected via xen-mceinj Signed-off-by: Christoph Egger <chegger@xxxxxxxxx> --- xen/arch/x86/cpu/mcheck/mce.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/xen/arch/x86/cpu/mcheck/mce.c b/xen/arch/x86/cpu/mcheck/mce.c index 1c69e4e..a22ea48 100644 --- a/xen/arch/x86/cpu/mcheck/mce.c +++ b/xen/arch/x86/cpu/mcheck/mce.c @@ -1117,6 +1117,15 @@ static int x86_mc_msrinject_verify(struct xen_mc_msrinject *mci) case 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"; + else if (c->x86 < 0x10) + reason = "only supported on AMD Fam10h+"; + break; + /* MSRs that the HV will take care of */ case MSR_K8_HWCR: if (c->x86_vendor == X86_VENDOR_AMD) -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |