diff options
author | Will Deacon <[email protected]> | 2012-09-21 15:38:26 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2012-11-09 11:47:06 +0000 |
commit | 614bea500a88be2a841af0967469961470f2be83 (patch) | |
tree | 311a18ddb38cacf63195a002868b08770d97c38f /tools/perf/util/trace-event-scripting.c | |
parent | b59a540ca927ea84bb0590b9d8076f50c969abb4 (diff) |
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 <[email protected]>
Tested-by: Stephen Boyd <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions