Will Deacon 614bea500a 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>
2012-11-09 11:47:06 +00:00
..
2008-08-12 19:54:09 +01:00
2012-10-01 18:19:05 -07:00
2012-03-28 18:30:01 +01:00
2012-07-01 21:59:19 +08:00
2012-10-11 10:55:04 +01:00
2012-03-24 09:38:56 +00:00
2012-10-09 20:24:24 +02:00
2010-10-29 13:14:40 -05:00
2012-10-11 10:55:04 +01:00
2012-10-11 10:55:04 +01:00
2012-10-01 09:58:18 -04:00
2012-03-28 18:30:01 +01:00
2012-03-28 18:30:01 +01:00