Re: [Xen-devel] [PATCH] x86/vpmu_intel: Handle SMT consistently for programmable and fixed counters

2017-04-05 Thread Tian, Kevin
> From: Mohit Gambhir [mailto:mohit.gamb...@oracle.com] > Sent: Friday, March 31, 2017 10:46 PM > > This patch masks .AnyThread bits in IA32_FIXED_CTR_CTRL MSR for all > versions of Intel Arhcitectural Performance Monitoring. Note that > .AnyThread bit (21) is already masked in IA32_PERFEVTSELx

Re: [Xen-devel] [PATCH] x86/vpmu_intel: Handle SMT consistently for programmable and fixed counters

2017-04-04 Thread Jan Beulich
>>> On 03.04.17 at 21:23, wrote: > > On 04/03/2017 06:36 AM, Jan Beulich wrote: > On 31.03.17 at 16:46, wrote: >>> This patch masks .AnyThread bits in IA32_FIXED_CTR_CTRL MSR for all >>> versions of Intel Arhcitectural Performance

Re: [Xen-devel] [PATCH] x86/vpmu_intel: Handle SMT consistently for programmable and fixed counters

2017-04-03 Thread Mohit Gambhir
On 04/03/2017 06:36 AM, Jan Beulich wrote: On 31.03.17 at 16:46, wrote: This patch masks .AnyThread bits in IA32_FIXED_CTR_CTRL MSR for all versions of Intel Arhcitectural Performance Monitoring. Note that .AnyThread bit (21) is already masked in IA32_PERFEVTSELx

Re: [Xen-devel] [PATCH] x86/vpmu_intel: Handle SMT consistently for programmable and fixed counters

2017-04-03 Thread Jan Beulich
>>> On 31.03.17 at 16:46, wrote: > This patch masks .AnyThread bits in IA32_FIXED_CTR_CTRL MSR for all > versions of Intel Arhcitectural Performance Monitoring. Note that > .AnyThread bit (21) is already masked in IA32_PERFEVTSELx MSRs since > hyperthreading is not

Re: [Xen-devel] [PATCH] x86/vpmu_intel: Handle SMT consistently for programmable and fixed counters

2017-03-31 Thread Boris Ostrovsky
On 03/31/2017 10:46 AM, Mohit Gambhir wrote: > This patch masks .AnyThread bits in IA32_FIXED_CTR_CTRL MSR for all > versions of Intel Arhcitectural Performance Monitoring. Note that > .AnyThread bit (21) is already masked in IA32_PERFEVTSELx MSRs since > hyperthreading is not exposed to guests

[Xen-devel] [PATCH] x86/vpmu_intel: Handle SMT consistently for programmable and fixed counters

2017-03-31 Thread Mohit Gambhir
This patch masks .AnyThread bits in IA32_FIXED_CTR_CTRL MSR for all versions of Intel Arhcitectural Performance Monitoring. Note that .AnyThread bit (21) is already masked in IA32_PERFEVTSELx MSRs since hyperthreading is not exposed to guests and Intel SDM discourages the use of .AnyThread bit in