linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] ARM: hw_breakpoint: updates for 3.2
@ 2011-08-08 17:12 Will Deacon
  2011-08-08 17:12 ` [PATCH 1/5] ARM: hw_breakpoint: add initial Cortex-A15 (debug v7.1) support Will Deacon
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Will Deacon @ 2011-08-08 17:12 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

I finally got my paws on a Cortex-A15 FPGA and updated the hw_breakpoint
code to make use of the shiny new features in debug architecture 7.1.

This patch series adds support for:

  1.) Debug architecture 7.1 detection and initialisation
  2.) Reading of the DFAR on watchpoint exceptions, so now we can handle
      more than just a single watchpoint.
  3.) Graceful failure when a debug-hating implementor decides to tie
      DBGSWENABLE low.

I've taken it for a spin with perf on Cortex-A9 and A15 platforms and it
seems to work. I've also booted it on my 1176 to ensure that the new
initialisation code doesn't barf there.

All feedback welcome.

Will


Will Deacon (5):
  ARM: hw_breakpoint: add initial Cortex-A15 (debug v7.1) support
  ARM: hw_breakpoint: reserve one breakpoint for watchpoint stepping
  ARM: hw_breakpoint: add support for multiple watchpoints
  ARM: hw_breakpoint: reduce the number of WARN_ONCE invocations
  ARM: hw_breakpoint: trap undef instruction exceptions in
    reset_ctrl_regs

 arch/arm/include/asm/hw_breakpoint.h |    2 +
 arch/arm/kernel/hw_breakpoint.c      |  267 ++++++++++++++++++++-------------
 2 files changed, 164 insertions(+), 105 deletions(-)

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

end of thread, other threads:[~2011-08-08 18:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-08 17:12 [PATCH 0/5] ARM: hw_breakpoint: updates for 3.2 Will Deacon
2011-08-08 17:12 ` [PATCH 1/5] ARM: hw_breakpoint: add initial Cortex-A15 (debug v7.1) support Will Deacon
2011-08-08 17:38   ` Stephen Boyd
2011-08-08 18:10     ` Will Deacon
2011-08-08 17:12 ` [PATCH 2/5] ARM: hw_breakpoint: reserve one breakpoint for watchpoint stepping Will Deacon
2011-08-08 17:12 ` [PATCH 3/5] ARM: hw_breakpoint: add support for multiple watchpoints Will Deacon
2011-08-08 17:12 ` [PATCH 4/5] ARM: hw_breakpoint: reduce the number of WARN_ONCE invocations Will Deacon
2011-08-08 17:12 ` [PATCH 5/5] ARM: hw_breakpoint: trap undef instruction exceptions in reset_ctrl_regs 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).