Intel vPMU version has been upgraded from 2 to 5 in [1], this patchset adds test cases for each new feature. Reference: [1]:Upgrade vPMU version to 5 https://lore.kernel.org/kvm/20230901072809.640175-1-xiong.y.zhang@xxxxxxxxx/T/#m3a7e8c3b98b8793a993f39c1851ef0b89efbd93d Xiong Zhang (6): x86: pmu: remove duplicate code x86: pmu: Add Freeze_LBRS_On_PMI test case x86: pmu: PERF_GLOBAL_STATUS_SET MSR verification for vPMU v4 x86: pmu: PERF_GLOBAL_INUSE MSR verification for vPMU v4 x86: pmu: Limit vcpu's fixed counter into fixed_events[] x86: pmu: Support fixed counter enumeration in vPMU v5 lib/x86/msr.h | 8 ++++ lib/x86/pmu.c | 10 ++--- lib/x86/pmu.h | 6 +++ x86/pmu.c | 32 +++++++++++++-- x86/pmu_lbr.c | 109 ++++++++++++++++++++++++++++++++++++++++++++++++- x86/pmu_pebs.c | 12 ++++-- 6 files changed, 165 insertions(+), 12 deletions(-) base-commit: e8f8554f810821e37f05112a46ae9775a029b5d1 -- 2.34.1