]> 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>
Mon, 15 Oct 2012 11:01:09 +0000 (12:01 +0100)
commit6bf20d9b0189e30ee9829b4122352424338a17b0
tree00b91f3a22667c66ee3246e80bd3cbb1d19f0540
parente9e1dee292d4eb01f59858337864e1745551d6b4
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.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/hw_breakpoint.c