Searched hist:"614 bea500a88be2a841af0967469961470f2be83" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/arm/kernel/ |
H A D | hw_breakpoint.c | diff 614bea500a88be2a841af0967469961470f2be83 Fri Sep 21 09:38:26 CDT 2012 Will Deacon <will.deacon@arm.com> ARM: hw_breakpoint: fix ordering of debug register reset sequence
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.
Reported-by: Stephen Boyd <sboyd@codeaurora.org> Tested-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
|