Skip to content

Rework debug exception handling code

Will Deacon linux-arm-kernel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 1 replyIn review
  2. v110 patches 13 repliesApplied

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8arm64: debug: Remove unused return value from do_debug_exception()arch/arm64/mm/fault.c+4 -100 replies
2/8arm64: debug: Rename addr parameter for non-watchpoint exception hooksarch/arm64/kernel/debug-monitors.c+2 -20 replies
3/8arm64: debug: Remove meaningless commentarch/arm64/kernel/debug-monitors.c+0 -50 replies
4/8arm64: debug: Separate debug hooks based on target exception levelarch/arm64/include/asm/brk-imm.h arch/arm64/include/asm/debug-monitors.h arch/arm64/kernel/debug-monitors.c +3 more+95 -581 reply
5/8arm64: kprobes: Avoid calling kprobes debug handlers explicitlyarch/arm64/include/asm/kprobes.h arch/arm64/kernel/debug-monitors.c arch/arm64/kernel/probes/kprobes.c+14 -140 replies
6/8arm64: debug: Remove redundant user_mode(regs) checks from debug handlersarch/arm64/kernel/kgdb.c arch/arm64/kernel/probes/kprobes.c arch/arm64/kernel/probes/uprobes.c +1 more+5 -270 replies
7/8arm64: probes: Move magic BRK values into brk-imm.harch/arm64/include/asm/brk-imm.h arch/arm64/include/asm/debug-monitors.h arch/arm64/include/asm/esr.h +4 more+11 -120 replies
8/8arm64: debug: Clean up brk_handler()arch/arm64/kernel/debug-monitors.c+4 -60 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchMark Rutland
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

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] Rework debug exception handling code

Hi all,

This is version two of the patches I previously posted here:

http://lists.infradead.org/pipermail/linux-arm-kernel/2019-March/636331.html

Changes since v1 include:

* Dropped the first two patches, since they have been merged as fixed
* Fixed break dispatching to work with comment ranges (required by KASAN)
* Based on 5.1-rc3

I plan to queue these up for 5.2, pending any issues.

Will

--->8

Will Deacon (8):
arm64: debug: Remove unused return value from do_debug_exception()
arm64: debug: Rename addr parameter for non-watchpoint exception hooks
arm64: debug: Remove meaningless comment
arm64: debug: Separate debug hooks based on target exception level
arm64: kprobes: Avoid calling kprobes debug handlers explicitly
arm64: debug: Remove redundant user_mode(regs) checks from debug
handlers
arm64: probes: Move magic BRK values into brk-imm.h
arm64: debug: Clean up brk_handler()

 arch/arm64/include/asm/brk-imm.h        |   5 ++
 arch/arm64/include/asm/debug-monitors.h |  25 ++++---
 arch/arm64/include/asm/esr.h            |   4 +-
 arch/arm64/include/asm/kprobes.h        |   2 -
 arch/arm64/kernel/debug-monitors.c      | 114 ++++++++++++++++++--------------
 arch/arm64/kernel/kgdb.c                |  30 +++------
 arch/arm64/kernel/probes/kprobes.c      |  22 +++---
 arch/arm64/kernel/probes/uprobes.c      |  19 ++----
 arch/arm64/kernel/traps.c               |  26 +++-----
 arch/arm64/mm/fault.c                   |  14 ++--
 10 files changed, 131 insertions(+), 130 deletions(-)
Signature · 7 lines
2.11.0


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel