x86: Add split/bus lock smoke test
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
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | x86: Include libcflat.h in atomic.h for u64 typedeflib/ | +2 | 0 replies | |
| 2/2 | x86/debug: Add a split-lock #AC / bus-lock #DB testcasex86/ | +45 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [kvm-unit-tests PATCH 0/2] x86: Add split/bus lock smoke test
Add a testcase to verify the guest does NOT get hit with an #AC or #DB when generating a split-lock access. Bus Lock Detect, a.k.a. BusLockTrap, enabling on AMD exposed a bug where KVM incorrectly runs the guest with the host's DEBUGCTL MSR.
Sean Christopherson (2):
x86: Include libcflat.h in atomic.h for u64 typedef x86/debug: Add a split-lock #AC / bus-lock #DB testcase
lib/x86/atomic.h | 2 ++ x86/debug.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+)
base-commit: f77fb696cfd0e4a5562cdca189be557946bf522f
Signature · 1 line
2.48.1.601.g30ceb7b040-goog