[GIT PULL] KVM: Selftests changes for 6.11
From: Sean Christopherson
Date: Fri Jul 12 2024 - 19:59:09 EST
A handful of random selftests changes. Props to Maxim for figuring out a way
to fix the PMU counters test.
The following changes since commit c3f38fa61af77b49866b006939479069cd451173:
Linux 6.10-rc2 (2024-06-02 15:44:56 -0700)
are available in the Git repository at:
https://github.com/kvm-x86/linux.git tags/kvm-x86-selftests-6.11
for you to fetch changes up to 4669de42aa6c78669975d58c92433cdedeb7c2c3:
KVM: selftests: Increase robustness of LLC cache misses in PMU counters test (2024-06-28 08:44:03 -0700)
----------------------------------------------------------------
KVM selftests for 6.11
- Remove dead code in the memslot modification stress test.
- Treat "branch instructions retired" as supported on all AMD Family 17h+ CPUs.
- Print the guest pseudo-RNG seed only when it changes, to avoid spamming the
log for tests that create lots of VMs.
- Make the PMU counters test less flaky when counting LLC cache misses by
doing CLFLUSH{OPT} in every loop iteration.
----------------------------------------------------------------
Dr. David Alan Gilbert (1):
KVM: selftests: remove unused struct 'memslot_antagonist_args'
Manali Shukla (1):
KVM: selftests: Treat AMD Family 17h+ as supporting branch insns retired
Maxim Levitsky (1):
KVM: selftests: Increase robustness of LLC cache misses in PMU counters test
Sean Christopherson (2):
KVM: selftests: Print the seed for the guest pRNG iff it has changed
KVM: selftests: Rework macros in PMU counters test to prep for multi-insn loop
tools/testing/selftests/kvm/lib/kvm_util.c | 9 ++++-
.../kvm/memslot_modification_stress_test.c | 6 ---
.../selftests/kvm/x86_64/pmu_counters_test.c | 44 ++++++++++++++--------
.../selftests/kvm/x86_64/pmu_event_filter_test.c | 35 +++--------------
4 files changed, 41 insertions(+), 53 deletions(-)