Re: [PATCH RESEND v3 11/11] KVM: x86/pmu: Drop amd_event_mapping[] in the KVM context

From: Paolo Bonzini
Date: Fri May 20 2022 - 09:00:08 EST


On 5/18/22 15:25, Like Xu wrote:
+ if (static_call(kvm_x86_pmu_hw_event_is_unavail)(pmc))
+ return false;
+

I think it's clearer to make this positive and also not abbreviate the name; that is, hw_event_available.

Apart from patch 3, the series looks good. I'll probably delay it to 5.20 so that you can confirm the SRCU issue, but it's queued.

Thanks,

Paolo