This series fixes an issue with the PMU event "Instructions Retired" (0xc0), then tests the fix to verify it works. Running the test updates without the fix will result in the following test assert. "Disallowed PMU event, instructions retired, is counting" Aaron Lewis (2): KVM: x86/pmu: Prevent the PMU from counting disallowed events KVM: selftests: Test the PMU event "Instructions retired" arch/x86/kvm/pmu.c | 4 +- .../kvm/x86_64/pmu_event_filter_test.c | 157 ++++++++++++------ 2 files changed, 113 insertions(+), 48 deletions(-) -- 2.39.0.rc1.256.g54fd8350bd-goog