]> xenbits.xensource.com Git - xen.git/commit
x86/PV: make PMU MSR handling consistent
authorJan Beulich <jbeulich@suse.com>
Fri, 2 Sep 2016 12:19:29 +0000 (14:19 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 2 Sep 2016 12:19:29 +0000 (14:19 +0200)
commitbea64b3ed25864b90a41e1ca6eeb5a58895bb751
tree76c73c052f0c275be55a24ff755b23a34879bc3c
parentf8f185dc4359a1cd8e7896dfbcacb54b473436c8
x86/PV: make PMU MSR handling consistent

So far accesses to Intel MSRs on an AMD system fall through to the
default case, while accesses to AMD MSRs on an Intel system bail (in
the RDMSR case without updating EAX and EDX). Make the "AMD MSRs on
Intel" case match the "Intel MSR on AMD" one.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/traps.c