Skip to content

Powerpc/hw-breakpoint: Fixes plus Code refactor

Ravi Bangoria linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Powerpc/hw-breakpoint: Replace stale do_dabr() with do_break()arch/powerpc/kernel/hw_breakpoint.c arch/powerpc/kernel/ptrace.c+2 -22 replies
2/5Powerpc/hw-breakpoint: Refactor hw_breakpoint_arch_parse()arch/powerpc/kernel/hw_breakpoint.c+18 -162 replies
3/5Powerpc/hw-breakpoint: Refactor set_dawr()arch/powerpc/kernel/process.c+5 -123 replies
4/5Powerpc/hw-breakpoint: Optimize disable patharch/powerpc/include/asm/hw_breakpoint.h arch/powerpc/kernel/process.c+14 -14 replies
5/5Powerpc/Watchpoint: Fix length calculation for unaligned targetarch/powerpc/include/asm/hw_breakpoint.h arch/powerpc/kernel/hw_breakpoint.c arch/powerpc/kernel/process.c+60 -254 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Powerpc/hw-breakpoint: Fixes plus Code refactor

patch 1-3: Code refactor
patch 4: Speedup disabling breakpoint
patch 5: Fix length calculation for unaligned targets

Ravi Bangoria (5):
Powerpc/hw-breakpoint: Replace stale do_dabr() with do_break() Powerpc/hw-breakpoint: Refactor hw_breakpoint_arch_parse() Powerpc/hw-breakpoint: Refactor set_dawr() Powerpc/hw-breakpoint: Optimize disable path Powerpc/Watchpoint: Fix length calculation for unaligned target

 arch/powerpc/include/asm/hw_breakpoint.h | 10 ++--
 arch/powerpc/kernel/hw_breakpoint.c      | 56 ++++++++++++----------
 arch/powerpc/kernel/process.c            | 61 +++++++++++++++++++-----
 arch/powerpc/kernel/ptrace.c             |  2 +-
 4 files changed, 86 insertions(+), 43 deletions(-)
Signature · 1 line
2.20.1