x86/debug: Untangle handle_debug()
Status from this message: The following commit has been merged into the x86/entry branch of tip:
Get series with b4
b4 am [email protected]Versions newest first
Since v2 from the cover letter
- fixed (user) INT1 / icebp detection
- some further cleanups
- two additional RFC patches
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | x86/entry: Fix AC assertionarch/ | +10 | 5 replies | |
| 2/13 | x86/debug: Allow a single level of #DB recursionarch/ | +31 | 2 replies | |
| 3/13 | x86/debug: Sync BTF earlierarch/ | +7 | 0 replies | |
| 4/13 | x86/debug: Move kprobe_debug_handler() into exc_debug_kernel()arch/ arch/ | +8 | 0 replies | |
| 5/13 | x86/debug: Remove handle_debug(.user) argumentarch/ | +10 | 0 replies | |
| 6/13 | x86/debug: Simplify #DB signal codearch/ | +9 | 0 replies | |
| 7/13 | x86/debug: Move historical SYSENTER junk into exc_debug_kernel()arch/ | +25 | 0 replies | |
| 8/13 | x86/debug: Move cond_local_irq_enable() block into exc_debug_user()arch/ | +29 | 0 replies | |
| 9/13 | x86/debug: Remove the historical junkarch/ | +12 | 0 replies | |
| 10/13 | x86/debug: Remove aout_dump_debugregs()arch/ arch/ | +0 | 0 replies | |
| 11/13 | x86/debug: Simplify hw_breakpoint_handler()arch/ | +2 | 0 replies | |
| 12/13 | x86/debug: Support negative polarity DR6 bitsarch/ arch/ arch/ | +5 | 0 replies | |
| 13/13 | x86/debug: Change thread.debugreg6 to thread.virtual_dr6arch/ arch/ arch/ +2 more | +26 | 0 replies |
Reviews trailers per patch
4 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Andy Lutomirski | Josh Poimboeuf | Masami Hiramatsu | Daniel Thompson |
|---|---|---|---|---|
| Series | T-b | |||
| 1/13 | A-b | |||
| 2/13 | Debugged-by | |||
| 3/13 | A-b | |||
| 4/13 | A-b | A-b | ||
| 5/13 | A-b | |||
| 6/13 | ||||
| 7/13 | ||||
| 8/13 | ||||
| 9/13 | ||||
| 10/13 | ||||
| 11/13 | ||||
| 12/13 | ||||
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 00/13] x86/debug: Untangle handle_debug()
Hi,
The first two patches probably ought to go in x86/urgent, the rest (!RFC) can go into x86/core and wait a bit.
handle_debug() is a mess, and now that we have separate user and kernel paths, try and clean it up a bit.
There's two RFC patches at the end that impact the ptrace_{get,set}_debugreg(6) ABI, I've no idea what, if anything, is expected of that or if anybody actually cares about that. If I read the code correctly nothing actually consumes the value from ptrace_set_debugreg(6).
Kyle, you seem to be pushing all this to the edge with RR, any clues?
Since v2:
- fixed (user) INT1 / icebp detection
- some further cleanups
- two additional RFC patches