[kvm-unit-tests PATCH 0/7] x86/debug: More single-step #DB tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/20220120000624.655815-1-seanjc@xxxxxxxxxx

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
-- 
2.34.1.703.g22d0c6ccf7-goog




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux