[PATCH 3/7] ARM: hw_breakpoint: fix ordering of debug register reset sequence
Stephen Boyd
sboyd at codeaurora.org
Wed Oct 24 18:53:44 EDT 2012
On 10/17/12 08:31, Will Deacon wrote:
> The debug register reset sequence for v7 and v7.1 is congruent with
> tap-dancing through a minefield.
>
> Rather than wait until we've blown ourselves to pieces, this patch
> instead checks the debug_err_mask after each potentially faulting
> operation. We also move the enabling of monitor_mode to the end of the
> sequence in order to prevent spurious debug events generated by UNKNOWN
> register values.
>
> Signed-off-by: Will Deacon <will.deacon at arm.com>
Reported-by: Stephen Boyd <sboyd at codeaurora.org>
Tested-by: Stephen Boyd <sboyd at codeaurora.org>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
More information about the linux-arm-kernel
mailing list