ARM: hw_breakpoint: updates for 3.2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | ARM: hw_breakpoint: add initial Cortex-A15 (debug v7.1) supportarch/ arch/ | +34 | 1 reply | |
| 1/5 | ARM: hw_breakpoint: add initial Cortex-A15 (debug v7.1) support | +0 | 0 replies | |
| 2/5 | ARM: hw_breakpoint: reserve one breakpoint for watchpoint steppingarch/ | +24 | 0 replies | |
| 3/5 | ARM: hw_breakpoint: add support for multiple watchpointsarch/ arch/ | +66 | 0 replies | |
| 4/5 | ARM: hw_breakpoint: reduce the number of WARN_ONCE invocationsarch/ | +8 | 0 replies | |
| 5/5 | ARM: hw_breakpoint: trap undef instruction exceptions in reset_ctrl_regsarch/ | +37 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] ARM: hw_breakpoint: updates for 3.2
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(-)