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 - 11:20:45 EST


On 5/20/22 16:27, Like Xu wrote:


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.

I have checked it's protected under srcu_read_lock/unlock() for
existing usages, so did JimM.

TBH, patch 3 is only inspired by the fact why the protection against
kvm->arch.msr_filter does not appear for kvm->arch.pmu_event_filter,
and my limited searching scope has not yet confirmed whether it
prevents the same spider.

Ok, I'll drop it.

Paolo