x86: LA57 canonical testcases
Status from this message: Applied to kvm-x86 next (and now pulled by Paolo), thanks!
Get series with b4
b4 am [email protected]Versions newest first
Changes in v2 from the cover letter
- Fold into existing la57 test.
- Always skip SYSENTER tests (they fail when run in a VM).
- Lots of cosmetics cleanups (see v1 feedback for details).
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | x86: Add _safe() and _fep_safe() variants to segment base load instructionslib/ lib/ | +47 | 0 replies | |
| 2/6 | x86: Add a few functions for gdt manipulationlib/ lib/ | +36 | 0 replies | |
| 3/6 | x86: Move struct invpcid_desc descriptor to processor.hlib/ x86/ | +6 | 0 replies | |
| 4/6 | x86: Expand LA57 test to 64-bit mode (to prep for canonical testing)x86/ x86/ x86/ +1 more | +10 | 0 replies | |
| 5/6 | x86: Add testcases for writing (non)canonical LA57 values to MSRs and baseslib/ lib/ x86/ | +379 | 0 replies | |
| 6/6 | nVMX: add a test for canonical checks of various host state vmcs12 fields.x86/ | +167 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [kvm-unit-tests PATCH v2 0/6] x86: LA57 canonical testcases
v2 of Maxim's series to add testcases for canonical checks of various MSRs, segment bases, and instructions that were found to ignore CR4.LA57 on CPUs that support 5 level paging.
v2:
- Fold into existing la57 test.
- Always skip SYSENTER tests (they fail when run in a VM).
- Lots of cosmetics cleanups (see v1 feedback for details).
v1: https://lore.kernel.org/all/[email protected]
Maxim Levitsky (5):
x86: Add _safe() and _fep_safe() variants to segment base load
instructions
x86: Add a few functions for gdt manipulation
x86: Move struct invpcid_desc descriptor to processor.h
x86: Add testcases for writing (non)canonical LA57 values to MSRs and
bases
nVMX: add a test for canonical checks of various host state vmcs12
fields.
Sean Christopherson (1):
x86: Expand LA57 test to 64-bit mode (to prep for canonical testing)
lib/x86/desc.c | 38 ++++- lib/x86/desc.h | 9 +- lib/x86/msr.h | 42 ++++++ lib/x86/processor.h | 58 +++++++- x86/Makefile.common | 3 +- x86/Makefile.i386 | 2 +- x86/la57.c | 342 +++++++++++++++++++++++++++++++++++++++++++- x86/pcid.c | 6 - x86/unittests.cfg | 2 +- x86/vmx_tests.c | 167 +++++++++++++++++++++ 10 files changed, 645 insertions(+), 24 deletions(-)
base-commit: f77fb696cfd0e4a5562cdca189be557946bf522f
Signature · 1 line
2.48.1.601.g30ceb7b040-goog