Messages in this thread | | | Date | Mon, 6 Nov 2023 06:43:26 -0800 | Subject | Re: [PATCH v6 01/20] KVM: x86/pmu: Don't allow exposing unsupported architectural events | From | Sean Christopherson <> |
| |
On Sat, Nov 04, 2023, Jim Mattson wrote: > On Fri, Nov 3, 2023 at 5:02 PM Sean Christopherson <seanjc@google.com> wrote: > > > > Hide architectural events that unsupported according to guest CPUID *or* > > hardware, i.e. don't let userspace advertise and potentially program > > unsupported architectural events. > > The bitmask, pmu->available_event_types, is only used in > intel_hw_event_available(). As discussed > (https://lore.kernel.org/kvm/ZUU12-TUR_1cj47u@google.com/), > intel_hw_event_available() should go away.
Ah drat, I completely forgot about this patch when I added the patch to remove intel_hw_event_available().
| |