Re: [PATCH v12 07/11] KVM: vmx/pmu: Unmask LBR fields in the MSR_IA32_DEBUGCTLMSR emualtion

2020-07-10 Thread Sean Christopherson
On Wed, Jul 08, 2020 at 03:06:57PM +0800, Xu, Like wrote: > Hi Sean, > > First of all, are you going to queue the LBR patch series in your tree > considering the host perf patches have already queued in Peter's tree ? No, I'll let Paolo take 'em directly, I'm nowhere near knowledgeable enough wit

Re: [PATCH v12 07/11] KVM: vmx/pmu: Unmask LBR fields in the MSR_IA32_DEBUGCTLMSR emualtion

2020-07-08 Thread Xu, Like
Hi Sean, First of all, are you going to queue the LBR patch series in your tree considering the host perf patches have already queued in Peter's tree ? On 2020/7/8 4:21, Sean Christopherson wrote: On Sat, Jun 13, 2020 at 05:42:50PM +0800, Xu, Like wrote: On 2020/6/13 17:14, Xiaoyao Li wrote:

Re: [PATCH v12 07/11] KVM: vmx/pmu: Unmask LBR fields in the MSR_IA32_DEBUGCTLMSR emualtion

2020-07-07 Thread Xiaoyao Li
On 7/8/2020 4:21 AM, Sean Christopherson wrote: On Sat, Jun 13, 2020 at 05:42:50PM +0800, Xu, Like wrote: On 2020/6/13 17:14, Xiaoyao Li wrote: On 6/13/2020 4:09 PM, Like Xu wrote: [...] @@ -237,6 +238,9 @@ static int intel_pmu_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info)   

Re: [PATCH v12 07/11] KVM: vmx/pmu: Unmask LBR fields in the MSR_IA32_DEBUGCTLMSR emualtion

2020-07-07 Thread Sean Christopherson
On Sat, Jun 13, 2020 at 05:42:50PM +0800, Xu, Like wrote: > On 2020/6/13 17:14, Xiaoyao Li wrote: > >On 6/13/2020 4:09 PM, Like Xu wrote: > >>When the LBR feature is reported by the vmx_get_perf_capabilities(), > >>the LBR fields in the [vmx|vcpu]_supported debugctl should be unmasked. > >> > >>The

Re: [PATCH v12 07/11] KVM: vmx/pmu: Unmask LBR fields in the MSR_IA32_DEBUGCTLMSR emualtion

2020-06-13 Thread Xu, Like
On 2020/6/13 17:14, Xiaoyao Li wrote: On 6/13/2020 4:09 PM, Like Xu wrote: When the LBR feature is reported by the vmx_get_perf_capabilities(), the LBR fields in the [vmx|vcpu]_supported debugctl should be unmasked. The debugctl msr is handled separately in vmx/svm and they're not completely id

Re: [PATCH v12 07/11] KVM: vmx/pmu: Unmask LBR fields in the MSR_IA32_DEBUGCTLMSR emualtion

2020-06-13 Thread Xiaoyao Li
On 6/13/2020 4:09 PM, Like Xu wrote: When the LBR feature is reported by the vmx_get_perf_capabilities(), the LBR fields in the [vmx|vcpu]_supported debugctl should be unmasked. The debugctl msr is handled separately in vmx/svm and they're not completely identical, hence remove the common msr ha

[PATCH v12 07/11] KVM: vmx/pmu: Unmask LBR fields in the MSR_IA32_DEBUGCTLMSR emualtion

2020-06-13 Thread Like Xu
When the LBR feature is reported by the vmx_get_perf_capabilities(), the LBR fields in the [vmx|vcpu]_supported debugctl should be unmasked. The debugctl msr is handled separately in vmx/svm and they're not completely identical, hence remove the common msr handling code. Signed-off-by: Like Xu -