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-09-26 22:57:52 +01:00
2012-07-27 23:06:32 +01:00
2008-05-17 22:55:16 +01:00
2012-08-29 11:18:17 +01:00
2012-09-03 22:55:56 +01:00
2012-09-03 22:55:56 +01:00
2012-09-03 22:55:56 +01:00
2012-09-03 22:56:15 +01:00
2012-10-01 18:19:05 -07:00
2012-10-10 12:02:25 +09:00
2012-03-21 01:59:40 -04:00
2011-03-23 19:47:19 -07:00
2012-09-14 09:22:00 -05:00
2011-10-31 19:30:49 -04:00
2009-12-24 18:34:08 +00:00
2011-09-13 11:12:14 +02:00
2009-12-09 10:02:18 +00:00
2012-03-28 18:30:01 +01:00
2012-07-31 12:04:30 +01:00
2012-10-15 07:57:34 -07:00
2011-07-22 23:09:07 +01:00
2011-10-31 19:30:50 -04:00
2012-07-01 21:59:19 +08:00
2011-05-26 10:31:06 +01:00
2012-07-31 10:30:42 +01:00
2011-05-11 15:12:32 +02:00
2012-03-28 18:30:01 +01:00
2012-10-11 10:55:04 +01:00
2012-11-09 11:47:06 +00:00
2012-09-19 08:32:54 +01:00
2012-03-30 11:51:46 +01:00
2012-03-24 09:38:56 +00:00
2011-10-31 19:30:49 -04:00
2012-10-09 20:24:24 +02:00
2009-11-18 08:37:40 -08:00
2011-08-11 10:10:26 +08:00
2012-03-24 09:38:56 +00:00
2010-10-29 13:14:40 -05:00
2011-11-30 23:54:54 +00:00
2012-03-28 18:30:01 +01:00
2012-10-09 17:07:43 +02:00
2011-11-26 21:58:53 +00:00
2011-12-13 08:52:03 +00:00
2011-11-26 21:58:53 +00:00
2012-06-14 15:11:44 +01:00
2012-04-02 08:53:24 -07:00
2011-09-20 18:17:43 +00:00
2012-10-18 11:05:19 +01:00
2012-10-11 10:55:04 +01:00
2011-08-23 15:30:33 +01:00
2011-12-13 08:52:02 +00:00
2012-03-24 09:38:55 +00:00
2012-03-24 09:38:55 +00:00
2012-08-23 11:35:52 +01:00
2012-08-23 11:35:52 +01:00
2012-08-23 11:35:52 +01:00
2012-08-23 11:35:52 +01:00
2012-10-18 11:05:20 +01:00
2011-10-31 19:30:48 -04:00
2012-10-13 10:05:52 +09:00
2012-09-19 21:50:50 +01:00
2011-08-28 10:39:41 +01:00
2011-10-31 19:30:49 -04:00
2012-10-04 23:01:55 +01:00
2012-10-11 10:55:04 +01:00
2012-10-01 09:58:18 -04:00
2012-07-28 11:11:51 +01:00
2012-03-28 18:30:01 +01:00
2012-04-28 17:31:37 +01:00
2012-03-28 17:14:35 -07:00
2012-10-22 15:34:40 +01:00
2012-10-22 15:33:51 +01:00
2011-10-31 19:30:49 -04:00
2012-09-25 11:20:26 +01:00
2011-12-13 08:52:03 +00:00
2012-09-30 22:21:37 -04:00
2012-05-15 14:08:35 -07:00
2012-03-28 18:30:01 +01:00
2009-09-15 22:11:05 +01:00
2012-04-25 19:49:26 +01:00
2012-08-01 11:22:14 +08:00
2012-08-11 09:15:56 +01:00
2012-09-07 20:40:44 +01:00
2011-12-15 14:02:19 -08:00
2012-06-22 22:54:18 +01:00
2011-10-31 19:30:48 -04:00