mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [kvm-unit-tests v2 0/8] More tests for selective CR0 intercept
@ 2025-10-28 22:12 Yosry Ahmed
  2025-10-28 22:12 ` [kvm-unit-tests v2 1/8] scripts: Always return '2' when skipping tests Yosry Ahmed
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Yosry Ahmed @ 2025-10-28 22:12 UTC (permalink / raw)
  To: Sean Christopherson
  Cc: Paolo Bonzini, Jim Mattson, kvm, linux-kernel, Yosry Ahmed

Add more test cases for the selective CR0 write intercept, covering bugs
fixed by
https://lore.kernel.org/kvm/20251024192918.3191141-1-yosry.ahmed@linux.dev/.

Patches 1-6 are cleanups and prep work. Patch 7 generalizes the existing
test to make it easy to extend, and patch 8 adds the actual tests.

v1 -> v2:
- Fixed author and Signed-off-by.
- Added fix for skip return codes.

Yosry Ahmed (8):
  scripts: Always return '2' when skipping tests
  x86/svm: Cleanup selective cr0 write intercept test
  x86/svm: Move CR0 selective write intercept test near CR3 intercept
  x86/svm: Add FEP helpers for SVM tests
  x86/svm: Report unsupported SVM tests
  x86/svm: Move report_svm_guest() to the top of svm_tests.c
  x86/svm: Generalize and improve selective CR0 write intercept test
  x86/svm: Add more selective CR0 write and LMSW test cases

 lib/x86/desc.h       |   8 ++
 scripts/runtime.bash |   4 +-
 x86/svm.c            |   9 ++-
 x86/svm.h            |   1 +
 x86/svm_tests.c      | 178 ++++++++++++++++++++++++++++++-------------
 5 files changed, 146 insertions(+), 54 deletions(-)

-- 
2.51.1.851.g4ebd6896fd-goog


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-10-28 22:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-28 22:12 [kvm-unit-tests v2 0/8] More tests for selective CR0 intercept Yosry Ahmed
2025-10-28 22:12 ` [kvm-unit-tests v2 1/8] scripts: Always return '2' when skipping tests Yosry Ahmed
2025-10-28 22:12 ` [kvm-unit-tests v2 2/8] x86/svm: Cleanup selective cr0 write intercept test Yosry Ahmed
2025-10-28 22:12 ` [kvm-unit-tests v2 3/8] x86/svm: Move CR0 selective write intercept test near CR3 intercept Yosry Ahmed
2025-10-28 22:12 ` [kvm-unit-tests v2 4/8] x86/svm: Add FEP helpers for SVM tests Yosry Ahmed
2025-10-28 22:12 ` [kvm-unit-tests v2 5/8] x86/svm: Report unsupported " Yosry Ahmed
2025-10-28 22:12 ` [kvm-unit-tests v2 6/8] x86/svm: Move report_svm_guest() to the top of svm_tests.c Yosry Ahmed
2025-10-28 22:12 ` [kvm-unit-tests v2 7/8] x86/svm: Generalize and improve selective CR0 write intercept test Yosry Ahmed
2025-10-28 22:12 ` [kvm-unit-tests v2 8/8] x86/svm: Add more selective CR0 write and LMSW test cases Yosry Ahmed

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®