summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/pmu.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2017-04-12 09:21:05 +0200
committerJuergen Gross <jgross@suse.com>2017-05-02 11:13:48 +0200
commit88f3256f21d958d0773bf93523ad12d2ddaf3006 (patch)
treecbe17c0ec523085115a525cf14fe26117b8bdbea /arch/x86/xen/pmu.c
parentfd9145fd270c7d152853219b8b44210026fa3c02 (diff)
downloadblackbird-obmc-linux-88f3256f21d958d0773bf93523ad12d2ddaf3006.tar.gz
blackbird-obmc-linux-88f3256f21d958d0773bf93523ad12d2ddaf3006.zip
x86/xen: use capabilities instead of fake cpuid values for mtrr
When running as pv domain xen_cpuid() is being used instead of native_cpuid(). In xen_cpuid() the mtrr feature is indicated as not being present by special casing the related cpuid leaf. Instead of delivering fake cpuid values clear the cpu capability bit for mtrr instead. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'arch/x86/xen/pmu.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud