From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/5] ARM: hw_breakpoint: updates for 3.2
Date: Mon, 8 Aug 2011 18:12:47 +0100 [thread overview]
Message-ID: <1312823572-9807-1-git-send-email-will.deacon@arm.com> (raw)
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(-)
next reply other threads:[~2011-08-08 17:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-08 17:12 Will Deacon [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1312823572-9807-1-git-send-email-will.deacon@arm.com \
--to=will.deacon@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).