Re: [Xen-devel] [PATCH 2/2] x86/xen: use capabilities instead of fake cpuid values

2017-02-17 Thread Juergen Gross
On 17/02/17 15:30, Boris Ostrovsky wrote: > > > On 02/17/2017 09:19 AM, Juergen Gross wrote: >> On 17/02/17 15:05, Boris Ostrovsky wrote: >>> >>> >>> On 02/17/2017 02:36 AM, Juergen Gross wrote: When running as pv domain xen_cpuid() is being used instead of native_cpuid(). In

Re: [Xen-devel] [PATCH 2/2] x86/xen: use capabilities instead of fake cpuid values

2017-02-17 Thread Boris Ostrovsky
On 02/17/2017 09:19 AM, Juergen Gross wrote: On 17/02/17 15:05, Boris Ostrovsky wrote: On 02/17/2017 02:36 AM, Juergen Gross wrote: When running as pv domain xen_cpuid() is being used instead of native_cpuid(). In xen_cpuid() the aperf/mperf feature is indicated as not being present by

Re: [Xen-devel] [PATCH 2/2] x86/xen: use capabilities instead of fake cpuid values

2017-02-17 Thread Juergen Gross
On 17/02/17 15:05, Boris Ostrovsky wrote: > > > On 02/17/2017 02:36 AM, Juergen Gross wrote: >> When running as pv domain xen_cpuid() is being used instead of >> native_cpuid(). In xen_cpuid() the aperf/mperf feature is indicated >> as not being present by special casing the related cpuid leaf.

Re: [Xen-devel] [PATCH 2/2] x86/xen: use capabilities instead of fake cpuid values

2017-02-17 Thread Boris Ostrovsky
On 02/17/2017 02:36 AM, Juergen Gross wrote: When running as pv domain xen_cpuid() is being used instead of native_cpuid(). In xen_cpuid() the aperf/mperf feature is indicated as not being present by special casing the related cpuid leaf. Instead of delivering fake cpuid values clear the cpu

[Xen-devel] [PATCH 2/2] x86/xen: use capabilities instead of fake cpuid values

2017-02-16 Thread Juergen Gross
When running as pv domain xen_cpuid() is being used instead of native_cpuid(). In xen_cpuid() the aperf/mperf 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 aperf/mperf instead.