]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
arm64: do not erase hw breakpoints
authorBo Yan <byan@nvidia.com>
Fri, 17 Oct 2014 00:35:09 +0000 (17:35 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Wed, 18 Mar 2015 23:11:47 +0000 (16:11 -0700)
commit6e1ccc5e2b155b2bf632c09242fc91917ec9b781
tree2bba7dcfdbacf63e7c5b6b935b25e323e2326467
parenta19943aadc4043a2bf21e7575065cccc733f4ad5
arm64: do not erase hw breakpoints

the hw breakpoints and watchpoints can be set by external debugger.
in that case, it's desirable to preserve them across power cycles.
the hw breakpoints and watchpoints are saved at the entry of power
down, and restored at the exit of power up.

bug 1550584

Change-Id: I0e650a0813d11b89c100bcb2f34ba097cf24bfca
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/558670
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
arch/arm64/kernel/hw_breakpoint.c