x86/debug: More single-step #DB tests
Status from this message: Queued with this change, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | bitops: Include stdbool.h and stddef.h as necessarylib/ | +3 | 0 replies | |
| 2/7 | x86/debug: Add framework for single-step #DB testsx86/ | +115 | 0 replies | |
| 3/7 | x86/debug: Test OUT instead of RDMSR for single-step #DB emulation testx86/ | +4 | 1 reply | |
| 4/7 | x86/debug: Run single-step #DB tests in usermode (and kernel mode)x86/ | +23 | 0 replies | |
| 5/7 | x86: Overhaul definitions for DR6 and DR7 bitslib/ x86/ x86/ +1 more | +97 | 0 replies | |
| 6/7 | x86/debug: Add single-step #DB + STI/MOVSS blocking testsx86/ | +176 | 0 replies | |
| 7/7 | x86/debug: Explicitly write DR6 in the H/W watchpoint + DR6.BS sub-testx86/ | +1 | 1 reply |
Reviews trailers per patch
1 of 7 patches has a Reviewed-by or Acked-by.
| Patch | Jim Mattson |
|---|---|
| 1/7 | |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [kvm-unit-tests PATCH 0/7] x86/debug: More single-step #DB tests
Add single-step #DB + STI/MOVSS blocking regression tests for a related KVM bug[*]. Before adding the test (last patch), overhaul asm/debugreg.h and clean up x86's "debug" test.
[*] https://lore.kernel.org/all/[email protected]
Sean Christopherson (7):
bitops: Include stdbool.h and stddef.h as necessary x86/debug: Add framework for single-step #DB tests x86/debug: Test OUT instead of RDMSR for single-step #DB emulation
test
x86/debug: Run single-step #DB tests in usermode (and kernel mode)
x86: Overhaul definitions for DR6 and DR7 bits x86/debug: Add single-step #DB + STI/MOVSS blocking tests x86/debug: Explicitly write DR6 in the H/W watchpoint + DR6.BS
sub-test
lib/bitops.h | 3 + lib/x86/asm/debugreg.h | 125 ++++++-------- x86/debug.c | 384 ++++++++++++++++++++++++++++++++++------- x86/emulator.c | 14 +- x86/vmx_tests.c | 27 +-- 5 files changed, 405 insertions(+), 148 deletions(-)
base-commit: 92a6c9b95ab10eba66bff3ff44476ab0c015b276
Signature · 1 line
2.34.1.703.g22d0c6ccf7-goog