[PATCH v3 0/5] KVM: selftests: PMU fixes for GNR/SRF/CWF

Sean Christopherson posted 5 patches 1 week, 6 days ago
There is a newer version of this series
tools/testing/selftests/kvm/include/x86/pmu.h | 24 +++++++
.../selftests/kvm/include/x86/processor.h     |  7 ++-
tools/testing/selftests/kvm/lib/x86/pmu.c     | 49 +++++++++++++++
.../testing/selftests/kvm/lib/x86/processor.c |  4 ++
.../selftests/kvm/x86/pmu_counters_test.c     | 63 +++++++++++++------
.../selftests/kvm/x86/pmu_event_filter_test.c |  4 +-
.../selftests/kvm/x86/vmx_pmu_caps_test.c     |  3 +-
7 files changed, 133 insertions(+), 21 deletions(-)
[PATCH v3 0/5] KVM: selftests: PMU fixes for GNR/SRF/CWF
Posted by Sean Christopherson 1 week, 6 days ago
Fixes KVM PMU selftests errors encountered on Granite Rapids (GNR),
Sierra Forest (SRF) and Clearwater Forest (CWF).

The cover letter from v2 has gory details, as do the patches.
 
v3: 
 - Make PMU errata available to all tests by default.
 - Redo testing of "unavailable PMU events" to drastically reduce the number
   of testcases.

v2:
 - https://lore.kernel.org/all/20250718001905.196989-1-dapeng1.mi@linux.intel.com 
 - Add error fix for vmx_pmu_caps_test on GNR/SRF (patch 2/5).
 - Opportunistically fix a typo (patch 1/5).

v1: https://lore.kernel.org/all/20250712172522.187414-1-dapeng1.mi@linux.intel.com

Dapeng Mi (2):
  KVM: selftests: Add timing_info bit support in vmx_pmu_caps_test
  KVM: selftests: Validate more arch-events in pmu_counters_test

Sean Christopherson (2):
  KVM: selftests: Track unavailable_mask for PMU events as 32-bit value
  KVM: selftests: Reduce number of "unavailable PMU events" combos
    tested

dongsheng (1):
  KVM: selftests: Handle Intel Atom errata that leads to PMU event
    overcount

 tools/testing/selftests/kvm/include/x86/pmu.h | 24 +++++++
 .../selftests/kvm/include/x86/processor.h     |  7 ++-
 tools/testing/selftests/kvm/lib/x86/pmu.c     | 49 +++++++++++++++
 .../testing/selftests/kvm/lib/x86/processor.c |  4 ++
 .../selftests/kvm/x86/pmu_counters_test.c     | 63 +++++++++++++------
 .../selftests/kvm/x86/pmu_event_filter_test.c |  4 +-
 .../selftests/kvm/x86/vmx_pmu_caps_test.c     |  3 +-
 7 files changed, 133 insertions(+), 21 deletions(-)


base-commit: c8fbf7ceb2ae3f64b0c377c8c21f6df577a13eb4
-- 
2.51.0.470.ga7dc726c21-goog