From: Sean Christopherson <seanjc@google.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
Sean Christopherson <seanjc@google.com>
Subject: [kvm-unit-tests GIT PULL] x86: random smattering of changes
Date: Wed, 27 May 2026 11:04:16 -0700 [thread overview]
Message-ID: <20260527180417.4119289-1-seanjc@google.com> (raw)
Please pull a rather random set of changes that have been accumulating over
the last few months.
Note, the SKINIT nSVM intercept test fails on some Turin CPUs, but allegedly
only on pre-production hardware? I assume/hope such hardware isn't commonly
available, and so didn't bother trying to handle it in upstream KUT.
The following changes since commit 9eb6c57313060d34f7e5b2ac6f90bb5873bbe2ff:
Merge branch 'mbec' into HEAD (2026-05-12 13:03:25 +0200)
are available in the Git repository at:
https://github.com/kvm-x86/kvm-unit-tests.git tags/kvm-x86-2026.05.27
for you to fetch changes up to c10d4616e2ad5d95553b2f0c389b4546dfacd76f:
x86/vmx: Remove the superfluous vmx_cet config entry (2026-05-27 08:59:46 -0700)
----------------------------------------------------------------
KVM-Unit-Tests x86 changes:
- Track SVM's EXIT_CODE as a 64-bit value, to verify KVM does the same.
- Add nSVM tests for unsupported instruction intercepts.
- Serialize the (v)CPU after WRMSR(TSCDEADLINE) to prepare for APIC timer
virtualization.
- Disable PKU in the vCPU model when running the nVMX access tests to make
the runtime somewhat reasonable.
- Extended the VMOVDQA test to cover VMOVNTDQA as well.
- Add test coverage for ENTER + emulated MMIO.
- Misc fixes, cleanups, and minor coverage enhancements.
----------------------------------------------------------------
Isaku Yamahata (2):
x86: Replace NOP with CPUID after WRMSR(TSCDEADLINE) to serialize deadline timer
x86: tscdeadline_latency: Remove unnecessary nop
Jim Mattson (1):
x86: nVMX: Add retry loop to advanced RTM debugging subtest
Kevin Cheng (2):
x86/svm: Add missing svm intercepts
x86/svm: Add unsupported instruction intercept test
Maxim Levitsky (1):
Skip PMU portion of vmware_backdoors test if PMU is not enabled.
Sean Christopherson (9):
x86/cstart: Delete "local" version of save_id() to fix x2APIC SMP bug
x86/debug: Fix macro definitions for DR7 local/global enable bits
x86/svm: Track and handle exit code as an unsigned 64-bit value
x86: Disable PKU in vCPU model for vmx_pf_{vpid/no_vpid/invvpid}_test
x86/xsave: Extend VMOVDQA testing to also cover VMOVNTDQA
x86/debug: Verify DR6 is always empty on an INT1/ICEBP #DB
x86/apic: Verify LVT timer register mode reads back what was written
x86/emulator: Add testcases for ENTER + emulated MMIO
x86/vmx: Remove the superfluous vmx_cet config entry
lib/x86/asm/debugreg.h | 5 +-
lib/x86/msr.h | 1 +
lib/x86/processor.h | 11 ++
x86/apic.c | 8 +-
x86/cstart.S | 7 --
x86/debug.c | 34 +++---
x86/emulator.c | 66 ++++++-----
x86/emulator64.c | 64 ++++++++++
x86/svm.c | 22 +++-
x86/svm.h | 98 +++++++++++++---
x86/svm_npt.c | 4 +-
x86/svm_tests.c | 290 ++++++++++++++++++++++++++++++----------------
x86/tscdeadline_latency.c | 1 -
x86/unittests.cfg | 31 ++---
x86/vmexit.c | 3 +-
x86/vmware_backdoors.c | 18 ++-
x86/vmx_tests.c | 76 +++++++++---
x86/xsave.c | 36 +++++-
18 files changed, 559 insertions(+), 216 deletions(-)
next reply other threads:[~2026-05-27 18:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-27 18:04 Sean Christopherson [this message]
2026-05-27 23:49 ` Yosry Ahmed
2026-05-27 23:56 ` Yosry Ahmed
2026-05-28 19:07 ` Sean Christopherson
2026-05-28 19:11 ` Yosry Ahmed
2026-05-28 20:04 ` Sean Christopherson
2026-05-28 20:25 ` Yosry Ahmed
2026-05-30 17:13 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260527180417.4119289-1-seanjc@google.com \
--to=seanjc@google.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®