[PATCH v2 0/3] x86/pv: More debugging fixes

Andrew Cooper posted 3 patches 3 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20240815131600.4037415-1-andrew.cooper3@citrix.com
xen/arch/x86/debug.c                   | 20 +++++++++++++++
xen/arch/x86/include/asm/debugreg.h    | 34 ++++++++++++++++++++++++++
xen/arch/x86/include/asm/domain.h      | 12 +++++++++
xen/arch/x86/include/asm/x86-defns.h   |  7 ++++++
xen/arch/x86/pv/emul-priv-op.c         | 26 ++++++--------------
xen/arch/x86/pv/emulate.c              |  6 ++---
xen/arch/x86/pv/ro-page-fault.c        |  2 +-
xen/arch/x86/pv/traps.c                | 16 +++++++++---
xen/arch/x86/traps.c                   | 12 ++++++---
xen/arch/x86/x86_emulate/x86_emulate.h |  5 +++-
10 files changed, 107 insertions(+), 33 deletions(-)
[PATCH v2 0/3] x86/pv: More debugging fixes
Posted by Andrew Cooper 3 months, 1 week ago
Patches 1 and 2 already reviewed, and split out of a larger series covering
HVM too.  However, as it's been 6 years (yes really), I've reposed them just
in case.

Patch 3 fixes a Coverity complaint, highlighted by Matt's recent change to fix
IO breakpoint recognition.

Andrew Cooper (3):
  x86/pv: Introduce x86_merge_dr6() and fix do_debug()
  x86/pv: Fix merging of new status bits into %dr6
  x86/pv: Address Coverity complaint in check_guest_io_breakpoint()

 xen/arch/x86/debug.c                   | 20 +++++++++++++++
 xen/arch/x86/include/asm/debugreg.h    | 34 ++++++++++++++++++++++++++
 xen/arch/x86/include/asm/domain.h      | 12 +++++++++
 xen/arch/x86/include/asm/x86-defns.h   |  7 ++++++
 xen/arch/x86/pv/emul-priv-op.c         | 26 ++++++--------------
 xen/arch/x86/pv/emulate.c              |  6 ++---
 xen/arch/x86/pv/ro-page-fault.c        |  2 +-
 xen/arch/x86/pv/traps.c                | 16 +++++++++---
 xen/arch/x86/traps.c                   | 12 ++++++---
 xen/arch/x86/x86_emulate/x86_emulate.h |  5 +++-
 10 files changed, 107 insertions(+), 33 deletions(-)

-- 
2.39.2