]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: hw_breakpoint: don't try to clear v6 debug registers during boot
authorWill Deacon <will.deacon@arm.com>
Fri, 21 Sep 2012 16:53:08 +0000 (17:53 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 25 Oct 2012 16:20:21 +0000 (17:20 +0100)
commitfa88efbb67371e639e2bd3d5718c2312736b1f37
tree5f9e495d59acb3ab5237b291ea2a5ae999f1ea81
parent48dabd784294c5ed3449d95ad114d9e9db0ca0d4
ARM: hw_breakpoint: don't try to clear v6 debug registers during boot

v6 cores do not provide a way to clear the debug registers without first
enabling monitor mode, meaning that we could take spurious debug
exceptions. Instead, rely on the registers being in a sane state when we
boot as they are defined to be disabled out of reset anyway.

Tested-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/hw_breakpoint.c