ARM: 6768/1: hw_breakpoint: ensure debug logic is powered up on v7 cores
authorWill Deacon <will.deacon@arm.com>
Fri, 25 Feb 2011 19:20:42 +0000 (20:20 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 26 Feb 2011 13:35:51 +0000 (13:35 +0000)
ARMv7 allows the debug core logic to be powered down and provides the
DBGPRSR register so that software can power-up and check the status of
the logic.

This patch ensures that the debug logic is powered up on ARMv7 cores
before we attempt to access the extended debug registers.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found