[PATCH 0/7] ARM: hw_breakpoint: fix reset sequence for debug arch v7.1
Will Deacon
will.deacon at arm.com
Wed Oct 17 11:31:34 EDT 2012
Hello,
This set of patches fixes the hw_breakpoint debug register reset sequence
for ARM debug architecture v7.1. This involves:
- Probing of the save/restore registers on v7
- Avoiding the use of DBGDSCRint.HDBGen, which is now UNKNOWN
- Only attempt to enable monitor mode during boot, then check
whether it is still enabled during breakpoint validation
- Some minor changes to remain compatible with v6 processors
All feedback welcome,
Will
Dietmar Eggemann (1):
ARM: hw_breakpoint: use CRn as argument for debug reg accessor macros
Will Deacon (6):
ARM: hw_breakpoint: only clear OS lock when implemented on v7
ARM: hw_breakpoint: fix monitor mode detection with v7.1
ARM: hw_breakpoint: fix ordering of debug register reset sequence
ARM: hw_breakpoint: don't try to clear v6 debug registers during boot
ARM: hw_breakpoint: make boot quieter without CPUID feature registers
ARM: hw_breakpoint: check if monitor mode is enabled during
validation
arch/arm/include/asm/hw_breakpoint.h | 8 +-
arch/arm/kernel/hw_breakpoint.c | 146 ++++++++++++++++++----------------
2 files changed, 82 insertions(+), 72 deletions(-)
--
1.7.4.1
More information about the linux-arm-kernel
mailing list