[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] AMD/VPMU: 0xc0010000 - 0xc001007 MSRs are in PMU range
commit e8864a4b9daabe3fe10cf905644ccdac267779de Author: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx> AuthorDate: Thu Aug 11 13:34:16 2016 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Thu Aug 11 13:34:16 2016 +0200 AMD/VPMU: 0xc0010000 - 0xc001007 MSRs are in PMU range We need to check for older PMU MSR range when emulating MSR accesses for PV guests. Signed-off-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> --- xen/arch/x86/traps.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/arch/x86/traps.c b/xen/arch/x86/traps.c index e822719..3df0295 100644 --- a/xen/arch/x86/traps.c +++ b/xen/arch/x86/traps.c @@ -2900,6 +2900,7 @@ static int emulate_privileged_op(struct cpu_user_regs *regs) { vpmu_msr = 1; case MSR_AMD_FAM15H_EVNTSEL0...MSR_AMD_FAM15H_PERFCTR5: + case MSR_K7_EVNTSEL0...MSR_K7_PERFCTR3: if ( vpmu_msr || (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) ) { if ( (vpmu_mode & XENPMU_MODE_ALL) && @@ -3027,6 +3028,7 @@ static int emulate_privileged_op(struct cpu_user_regs *regs) { vpmu_msr = 1; case MSR_AMD_FAM15H_EVNTSEL0...MSR_AMD_FAM15H_PERFCTR5: + case MSR_K7_EVNTSEL0...MSR_K7_PERFCTR3: if ( vpmu_msr || (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) ) { -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |