On Thu, Jan 19, 2023, Sean Christopherson wrote: > On Tue, 20 Dec 2022 16:12:29 +0000, Aaron Lewis wrote: > > This series introduces the concept of masked events to the pmu event > > filter. Masked events can help reduce the number of events needed in the > > pmu event filter by allowing a more generalized matching method to be > > used for the unit mask when filtering guest events in the pmu. With > > masked events, if an event select should be restricted from the guest, > > instead of having to add an entry to the pmu event filter for each > > event select + unit mask pair, a masked event can be added to generalize > > the unit mask values. > > > > [...] > > Applied to kvm-x86 pmu, thanks! > > [1/7] kvm: x86/pmu: Correct the mask used in a pmu event filter lookup > https://github.com/kvm-x86/linux/commit/aa570a7481c3 > [2/7] kvm: x86/pmu: Remove impossible events from the pmu event filter > https://github.com/kvm-x86/linux/commit/778e86e3a2fd > [3/7] kvm: x86/pmu: prepare the pmu event filter for masked events > https://github.com/kvm-x86/linux/commit/11794a3da07f > [4/7] kvm: x86/pmu: Introduce masked events to the pmu event filter > https://github.com/kvm-x86/linux/commit/651daa44b11c > [5/7] selftests: kvm/x86: Add flags when creating a pmu event filter > https://github.com/kvm-x86/linux/commit/6a6b17a7c594 > [6/7] selftests: kvm/x86: Add testing for KVM_SET_PMU_EVENT_FILTER > https://github.com/kvm-x86/linux/commit/b1a865796643 > [7/7] selftests: kvm/x86: Test masked events > https://github.com/kvm-x86/linux/commit/5ed12ae83c4c FYI, I forced pushed to pmu to fix a minor warning in the docs and decided to opportunistically update all of the shortlogs to fix (again minor) issues with the scope since this series is currently the only thing sitting in pmu. [1/7] KVM: x86/pmu: Correct the mask used in a pmu event filter lookup https://github.com/kvm-x86/linux/commit/1d2489485e28 [2/7] KVM: x86/pmu: Remove impossible events from the pmu event filter https://github.com/kvm-x86/linux/commit/1110a9128858 [3/7] KVM: x86/pmu: prepare the pmu event filter for masked events https://github.com/kvm-x86/linux/commit/3b049af387c4 [4/7] KVM: x86/pmu: Introduce masked events to the pmu event filter https://github.com/kvm-x86/linux/commit/22f39725f0f6 [5/7] KVM: selftests: Add flags when creating a pmu event filter https://github.com/kvm-x86/linux/commit/963fd783390f [6/7] KVM: selftests: Add testing for KVM_SET_PMU_EVENT_FILTER https://github.com/kvm-x86/linux/commit/1c1045925ed4 [7/7] KVM: selftests: Test masked events in PMU filter https://github.com/kvm-x86/linux/commit/526d9f600225