Re: [GIT PULL] KVM: Selftests changes for 6.18

Paolo Bonzini
2025-09-30T17:24:39Z

On Sat, Sep 27, 2025 at 8:09 AM Sean Christopherson <seanjc@google.com> wrote:
>
> A mix of fixes, cleanups and new coverage. Note, there's also a large-ish new
> MSR selftest coming in through the "cet" pull request.
>
> The following changes since commit c17b750b3ad9f45f2b6f7e6f7f4679844244f0b9:
>
> Linux 6.17-rc2 (2025-08-17 15:22:10 -0700)
>
> are available in the Git repository at:
>
> https://github.com/kvm-x86/linux.git tags/kvm-x86-selftests-6.18
>
> for you to fetch changes up to df1f294013da715f32521b3d0a69773e660a1af5:
>
> KVM: selftests: Add ex_str() to print human friendly name of exception vectors (2025-09-23 08:39:02 -0700)

Pulled, thanks.

Paolo

> ----------------------------------------------------------------
> KVM selftests changes for 6.18
>
> - Add #DE coverage in the fastops test (the only exception that's guest-
> triggerable in fastop-emulated instructions).
>
> - Fix PMU selftests errors encountered on Granite Rapids (GNR), Sierra
> Forest (SRF) and Clearwater Forest (CWF).
>
> - Minor cleanups and improvements
>
> ----------------------------------------------------------------
> Alok Tiwari (1):
> KVM: selftests: Fix typo in hyperv cpuid test message
>
> 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
>
> Gopi Krishna Menon (1):
> KVM: selftests: fix minor typo in cpumodel_subfuncs
>
> James Houghton (1):
> KVM: selftests: Fix signedness issue with vCPU mmap size check
>
> Sean Christopherson (8):
> KVM: selftests: Move Intel and AMD module param helpers to x86/processor.h
> KVM: selftests: Add support for #DE exception fixup
> KVM: selftests: Add coverage for 'b' (byte) sized fastops emulation
> KVM: selftests: Dedup the gnarly constraints of the fastops tests (more macros!)
> KVM: selftests: Add support for DIV and IDIV in the fastops test
> KVM: selftests: Track unavailable_mask for PMU events as 32-bit value
> KVM: selftests: Reduce number of "unavailable PMU events" combos tested
> KVM: selftests: Add ex_str() to print human friendly name of exception vectors
>
> Sukrut Heroorkar (1):
> selftests/kvm: remove stale TODO in xapic_state_test
>
> dongsheng (1):
> KVM: selftests: Handle Intel Atom errata that leads to PMU event overcount
>
> tools/testing/selftests/kvm/include/kvm_util.h | 17 +++--
> tools/testing/selftests/kvm/include/x86/pmu.h | 26 +++++++
> .../testing/selftests/kvm/include/x86/processor.h | 35 ++++++++-
> tools/testing/selftests/kvm/lib/kvm_util.c | 42 ++---------
> tools/testing/selftests/kvm/lib/x86/pmu.c | 49 +++++++++++++
> tools/testing/selftests/kvm/lib/x86/processor.c | 39 +++++++++-
> .../selftests/kvm/s390/cpumodel_subfuncs_test.c | 2 +-
> tools/testing/selftests/kvm/x86/fastops_test.c | 82 +++++++++++++++++-----
> tools/testing/selftests/kvm/x86/hyperv_cpuid.c | 2 +-
> tools/testing/selftests/kvm/x86/hyperv_features.c | 16 ++---
> .../testing/selftests/kvm/x86/monitor_mwait_test.c | 8 +--
> .../testing/selftests/kvm/x86/pmu_counters_test.c | 67 ++++++++++++------
> .../selftests/kvm/x86/pmu_event_filter_test.c | 4 +-
> .../testing/selftests/kvm/x86/vmx_pmu_caps_test.c | 7 +-
> tools/testing/selftests/kvm/x86/xapic_state_test.c | 4 +-
> tools/testing/selftests/kvm/x86/xcr0_cpuid_test.c | 12 ++--
> 16 files changed, 303 insertions(+), 109 deletions(-)
>