linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] ARM: hw_breakpoint: fixes and improvements
@ 2010-11-25 17:08 Will Deacon
  2010-11-25 17:08 ` [PATCH 1/4] ARM: hw_breakpoint: ensure OS lock is clear before writing to debug registers Will Deacon
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Will Deacon @ 2010-11-25 17:08 UTC (permalink / raw)
  To: linux-arm-kernel

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(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-11-27 21:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-25 17:08 [PATCH 0/4] ARM: hw_breakpoint: fixes and improvements Will Deacon
2010-11-25 17:08 ` [PATCH 1/4] ARM: hw_breakpoint: ensure OS lock is clear before writing to debug registers Will Deacon
2010-11-25 17:08 ` [PATCH 2/4] ARM: hw_breakpoint: reset control registers in hotplug path Will Deacon
2010-11-25 17:08 ` [PATCH 3/4] ARM: hw_breakpoint: correct and simplify alignment fixup code Will Deacon
2010-11-25 17:08 ` [PATCH 4/4] ARM: ptrace: fix style issue with hw_breakpoint interface Will Deacon
2010-11-27 12:39 ` [PATCH 0/4] ARM: hw_breakpoint: fixes and improvements Russell King - ARM Linux
2010-11-27 21:12   ` Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).