Home
last modified time | relevance | path

Searched hist:ed19b739c5c76ad241d30f6c6a5ee96fb284f4cf (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/arm/kernel/
H A Dhw_breakpoint.cdiff ed19b739c5c76ad241d30f6c6a5ee96fb284f4cf Fri Feb 11 08:55:12 CST 2011 Will Deacon <will.deacon@arm.com> ARM: 6656/1: hw_breakpoint: avoid UNPREDICTABLE behaviour when reading DBGDSCR

Reading baseline CP14 registers, other than DBGDIDR, when the OS Lock
is set leads to UNPREDICTABLE behaviour.

This patch ensures that we clear the OS lock before accessing anything
other than the DBGDIDR, thereby avoiding this behaviour.

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