Re: [PATCH v6 01/20] KVM: x86/pmu: Don't allow exposing unsupported architectural events

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Nov 04, 2023, Jim Mattson wrote:
> On Fri, Nov 3, 2023 at 5:02 PM Sean Christopherson <seanjc@xxxxxxxxxx> 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@xxxxxxxxxx/),
> 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().





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux