ARM: hw_breakpoint: fixes and improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | ARM: hw_breakpoint: ensure OS lock is clear before writing to debug registersarch/ | +22 | 0 replies | |
| 2/4 | ARM: hw_breakpoint: reset control registers in hotplug patharch/ | +15 | 0 replies | |
| 3/4 | ARM: hw_breakpoint: correct and simplify alignment fixup codearch/ | +31 | 0 replies | |
| 4/4 | ARM: ptrace: fix style issue with hw_breakpoint interfacearch/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] ARM: hw_breakpoint: fixes and improvements
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(-)