x86/svm: Make nSVM MSR test useful
Status from this message: Applied to kvm-x86 next, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 3 repliesApplied
- v12 patches 0 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | x86: nSVM: Actually report missed MSR intercepts as failuresx86/ | +27 | 0 replies | |
| 2/8 | x86: nSVM: Test MSRs just outside the ranges of the MSR Permissions Mapx86/ | +9 | 0 replies | |
| 3/8 | x86: nSVM: Clean up variable types and names in test_msr_intercept()x86/ | +21 | 0 replies | |
| 4/8 | x86: Expand the suite of bitops to cover all set/clear operationslib/ lib/ | +81 | 1 reply | |
| 5/8 | x86: nVMX: Use set_bit() instead of test_and_set_bit() when return is ignoredx86/ | +2 | 1 reply | |
| 6/8 | x86: nSVM: Set MSRPM bit on-demand when testing interceptionx86/ | +96 | 0 replies | |
| 7/8 | x86: nSVM: Verify disabling {RD,WR}MSR interception behaves as expectedx86/ | +54 | 0 replies | |
| 8/8 | x86: nSVM: Verify L1 and L2 see same MSR value when interception is disabledx86/ | +12 | 0 replies |
Reviews trailers per patch
2 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Dapeng Mi |
|---|---|
| 1/8 | |
| 2/8 | |
| 3/8 | |
| 4/8 | R-b |
| 5/8 | R-b |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [kvm-unit-tests PATCH v2 0/8] x86/svm: Make nSVM MSR test useful
Fix the nSVM MSR interception test to actually detect failures, and expand its coverage to test:
- Out-of-range MSRs
- With all other bits in the MSPRM clear
- {RD,WR}MSR with interception *disabled*
- That L1 and L2 see the same value for RDMSR when interception is disabled
v1: https://lore.kernel.org/all/[email protected]
Sean Christopherson (8):
x86: nSVM: Actually report missed MSR intercepts as failures
x86: nSVM: Test MSRs just outside the ranges of the MSR Permissions
Map
x86: nSVM: Clean up variable types and names in test_msr_intercept()
x86: Expand the suite of bitops to cover all set/clear operations
x86: nVMX: Use set_bit() instead of test_and_set_bit() when return is
ignored
x86: nSVM: Set MSRPM bit on-demand when testing interception
x86: nSVM: Verify disabling {RD,WR}MSR interception behaves as
expected
x86: nSVM: Verify L1 and L2 see same MSR value when interception is
disabled
lib/x86/asm/bitops.h | 86 +++++++++++++++- lib/x86/processor.h | 12 --- x86/svm_tests.c | 240 +++++++++++++++++++++++++++++++++---------- x86/vmx_tests.c | 4 +- 4 files changed, 269 insertions(+), 73 deletions(-)
base-commit: 72d110d8286baf1b355301cc8c8bdb42be2663fb
Signature · 1 line
2.50.0.rc0.604.gd4ff7b7c86-goog