aboutsummaryrefslogtreecommitdiff
path: root/firmware/mts_gsm.fw.ihex
diff options
context:
space:
mode:
authorDietmar Eggemann <dietmar.eggemann@arm.com>2012-10-14 22:25:37 +0100
committerViresh Kumar <viresh.kumar@linaro.org>2013-01-08 16:20:16 +0530
commita59eed9aca511151189f929f9cc7fc694fe76718 (patch)
tree27a28f018306f9b9ac394ea0517110cac6870b59 /firmware/mts_gsm.fw.ihex
parent677c0295a1a7e60f990c52e0925440e010093622 (diff)
ARM: hw_breakpoint: Debug powerdown support for self-hosted debug
This patch introduces debug powerdown support for self-hosted debug for v7 and v7.1 debug architecture for a SinglePower system, i.e. a system without a separate core and debug power domain. On a SinglePower system the OS Lock is lost over a powerdown. If CONFIG_CPU_PM is set the new function pm_init() registers hw_breakpoint with CPU PM for a system supporting OS Save and Restore. Receiving a CPU PM EXIT notifier indicates that a single CPU has exited a low power state. A call to reset_ctrl_regs() is hooked into the CPU PM EXIT notifier chain. This function makes sure that the sticky power-down is clear (only v7 debug), the OS Double Lock is clear (only v7.1 debug) and it clears the OS Lock for v7 debug (for a system supporting OS Save and Restore) and v7.1 debug. Furthermore, it clears any vector-catch events and all breakpoint/watchpoint control/value registers for v7 and v7.1 debug. Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'firmware/mts_gsm.fw.ihex')
0 files changed, 0 insertions, 0 deletions