| commit | 7d99331e4793b52d488e911876ef11d843c6c8c9 | [log] [tgz] |
|---|---|---|
| author | Will Deacon <will.deacon@arm.com> | Wed Nov 24 17:45:49 2010 +0000 |
| committer | Will Deacon <will.deacon@arm.com> | Mon Dec 06 11:55:56 2010 +0000 |
| tree | 0b9d7e659ed21a56c166303772043afcdf9da61a | |
| parent | ac88e07122fc0eb5cbad403be97ef02c317a06b7 [diff] |
ARM: hw_breakpoint: reset control registers in hotplug path The ARMv7 debug architecture doesn't make any guarantees about the contents of debug control registers following a debug logic reset. This patch ensures that we reset the control registers when a cpu comes ONLINE (for example, with hotplug) so that when we enable monitor mode while inserting a breakpoint we won't exhibit random behaviour. Signed-off-by: Will Deacon <will.deacon@arm.com>