Skip to content

target-i386: Implement debug extensions

Eduardo Habkost qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 1 replyIn review
  2. v29 patches 7 repliesSuperseded

Changes in v3 from the cover letter

* Patch 3/9: Set bit on new_dr7, so that it can still pass the xor test for the enable bits optimization
* Suggested-by: Richard Henderson <[email protected]>
* Patch 6/9: coding style fix (remove unnecessary parentheses)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9target-i386: Introduce cpu_x86_update_dr7target-i386/bpt_helper.c target-i386/cpu.h target-i386/machine.c +1 more+27 -220 replies
2/9target-i386: Re-introduce optimal breakpoint removaltarget-i386/bpt_helper.c+28 -60 replies
3/9target-i386: Ensure bit 10 on DR7 is never clearedtarget-i386/bpt_helper.c+2 -01 reply
4/9target-i386: Move hw_*breakpoint_* functionstarget-i386/bpt_helper.c target-i386/cpu.h+28 -280 replies
5/9target-i386: Optimize setting dr[0-3]target-i386/bpt_helper.c+8 -30 replies
6/9target-i386: Handle I/O breakpointstarget-i386/bpt_helper.c target-i386/cpu.h target-i386/helper.h +1 more+94 -280 replies
7/9target-i386: Check CR4[DE] for processing DR4/DR5target-i386/bpt_helper.c target-i386/cpu.h target-i386/helper.h +1 more+50 -110 replies
8/9target-i386: Ensure always-1 bits on DR6 can't be clearedtarget-i386/bpt_helper.c+1 -10 replies
9/9target-i386: Add DE to TCG_FEATUREStarget-i386/cpu.c+1 -10 replies

Reviews trailers per patch

3 of 9 patches have a Reviewed-by or Acked-by.

PatchRichard Henderson
1/9
2/9
3/9R-b
4/9
5/9
6/9
7/9
8/9R-b
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/9] target-i386: Implement debug extensions

Updated version of the series submitted by Richard Henderson.

With the additional changes, the kvm-unit-tests debug extensions test case written by Paolo passes all tests except ICEBP.

Changes v2 -> v3:
* Patch 3/9: Set bit on new_dr7, so that it can still pass the xor test for the enable bits optimization
* Suggested-by: Richard Henderson <[email protected]>
* Patch 6/9: coding style fix (remove unnecessary parentheses)

Changes v1 -> v2:
* Patch 2/9: Included fix from Paolo to make sure dr7 is updated after hw_breakpoint_remove() call and before hw_breakpoint_insert() call
* New patch (3/9): Ensure bit 10 on DR7 is never cleared
* Patch 6/9: Rebase on top of new version of patch 2/9
* New patch (8/9): Ensure always-1 bits on DR6 can't be cleared
* New patch (9/9): Add DE to TCG_FEATURES

Eduardo Habkost (4):
target-i386: Ensure bit 10 on DR7 is never cleared
target-i386: Handle I/O breakpoints
target-i386: Ensure always-1 bits on DR6 can't be cleared
target-i386: Add DE to TCG_FEATURES

Richard Henderson (5):
target-i386: Introduce cpu_x86_update_dr7
target-i386: Re-introduce optimal breakpoint removal
target-i386: Move hw_*breakpoint_* functions
target-i386: Optimize setting dr[0-3]
target-i386: Check CR4[DE] for processing DR4/DR5

 target-i386/bpt_helper.c | 224 ++++++++++++++++++++++++++++++++++++++---------
 target-i386/cpu.c        |   2 +-
 target-i386/cpu.h        |  35 ++------
 target-i386/helper.h     |   4 +-
 target-i386/machine.c    |   8 +-
 target-i386/seg_helper.c |   8 +-
 target-i386/translate.c  |  30 +++++--
 7 files changed, 225 insertions(+), 86 deletions(-)
Signature · 1 line
2.1.0