diff options
author | Dietmar Eggemann <dietmar.eggemann@arm.com> | 2012-10-12 09:30:07 +0100 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2012-11-14 09:08:20 +0530 |
commit | bb84ec16fc9ac705937100df83b61f33e2fbb679 (patch) | |
tree | 5abd72b5b6df7b0feee9ca01a69f74e6143d1b33 /init/do_mounts_rd.c | |
parent | 77b67063bb6bce6d475e910d3b886a606d0d91f7 (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 'init/do_mounts_rd.c')
0 files changed, 0 insertions, 0 deletions