aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/plat-iop/pmu.c
diff options
context:
space:
mode:
authorDietmar Eggemann <dietmar.eggemann@arm.com>2012-10-12 09:30:07 +0100
committerViresh Kumar <viresh.kumar@linaro.org>2012-10-12 14:11:30 +0530
commit59aea69eeb2fa9cb1870e2f15db4763dab757408 (patch)
tree9389e55d18aca481a1965afb04d57970059ab728 /arch/arm/plat-iop/pmu.c
parenta0d271cbfed1dd50278c6b06bead3d00ba0a88f9 (diff)
ARM: hw_breakpoint: v7.1 self-hosted debug powerdown support
This patch introduces os save and restore mechanism for v7.1 debug and self-hosted debuggers. It enables the os to save DBGDSCR before powerdown and restore it when power is restored. The clearing of the os lock in the restore function kick-starts the debug logic again. The os save and restore routines are hooked into the CPU PM event notifier chain. CPU PM events are used to save and restore per-cpu context when a single CPU is preparing to enter or has exited a low power state. Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Diffstat (limited to 'arch/arm/plat-iop/pmu.c')
0 files changed, 0 insertions, 0 deletions