[PATCH 0/4] ARM: hw_breakpoint: fixes and improvements

Will Deacon will.deacon at arm.com
Thu Nov 25 12:08:15 EST 2010


Hello,

This patch series contains a number of fixes and improvements to the
hw_breakpoint implementation for ARM. A quick summary:

* Support for cores that use the OS lock for debug register save/restore
  out of reset.

* A vastly simplified alignment model to match the v7 architecture.
  Breakpoints must be the same length as an instruction and be aligned
  to the same boundary. Watchpoints can be 1, 2, 4 or 8 bytes long and
  aligned to the appropriate datasize (byte, half-word, word, double-word).

* Minor style fix in ptrace.c

All feedback welcome!

Will Deacon (4):
  ARM: hw_breakpoint: ensure OS lock is clear before writing to debug
    registers
  ARM: hw_breakpoint: reset control registers in hotplug path
  ARM: hw_breakpoint: correct and simplify alignment fixup code
  ARM: ptrace: fix style issue with hw_breakpoint interface

 arch/arm/kernel/hw_breakpoint.c |   99 ++++++++++++++++++++++++++------------
 arch/arm/kernel/ptrace.c        |    4 +-
 2 files changed, 70 insertions(+), 33 deletions(-)





More information about the linux-arm-kernel mailing list