Skip to content

x86/debug: Untangle handle_debug()

Peter Zijlstra lkml stable 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 11 repliesIn review
  2. v1 RFC7 patches 17 repliesSuperseded

Changes in v2 from the cover letter

- Changelogs!
- fixed notifier order (Josh, Daniel)
- tested kgdb

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8x86/debug: Allow a single level of #DB recursionarch/x86/kernel/traps.c+31 -340 replies
2/8x86/debug: Sync BTF earlierarch/x86/kernel/traps.c+7 -71 reply
3/8x86/debug: Move kprobe_debug_handler() into exc_debug_kernel()arch/x86/include/asm/kprobes.h arch/x86/kernel/traps.c+8 -61 reply
4/8x86/debug: Remove handle_debug(.user) argumentarch/x86/kernel/traps.c+10 -111 reply
5/8x86/debug: Simplify #DB signal codearch/x86/kernel/traps.c+12 -126 replies
6/8x86/debug: Move historical SYSENTER junk into exc_debug_kernel()arch/x86/kernel/traps.c+24 -230 replies
7/8x86/debug: Move cond_local_irq_enable() block into exc_debug_user()arch/x86/kernel/traps.c+25 -260 replies
8/8x86/debug: Remove the historical junkarch/x86/kernel/traps.c+10 -141 reply
8/8x86/debug: Remove the historical junkarch/x86/kernel/traps.c+12 -110 replies

Reviews trailers per patch

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

PatchJosh PoimboeufAndy Lutomirski
1/8Debugged-by
2/8A-b
3/8A-b
4/8A-b
5/8
6/8
7/8
8/8
8/8

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

Read the v2 thread

Cover letter [PATCH v2 0/8] x86/debug: Untangle handle_debug()

Hi,

handle_debug() is a mess, and now that we have separate user and kernel paths, try and clean it up a bit.

Include's amluto's fix for convenience.

Since v1:

- Changelogs!
- fixed notifier order (Josh, Daniel)
- tested kgdb