summaryrefslogtreecommitdiffstats
path: root/net/mac80211/rc80211_pid_debugfs.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2010-11-24 16:51:17 +0000
committerWill Deacon <will.deacon@arm.com>2010-12-06 11:55:56 +0000
commitac88e07122fc0eb5cbad403be97ef02c317a06b7 (patch)
tree0cddfd29474fc4ff5a1be95d2273d3a1e626055f /net/mac80211/rc80211_pid_debugfs.c
parente8a7e48bb248a1196484d3f8afa53bded2b24e71 (diff)
ARM: hw_breakpoint: ensure OS lock is clear before writing to debug registers
ARMv7 architects a system for saving and restoring the debug registers across low-power modes. At the heart of this system is a lock register which, when set, forbids writes to the debug registers. While locked, writes to debug registers via the co-processor interface will result in undefined instruction traps. Linux currently doesn't make use of this feature because we update the debug registers on context switch anyway, however the status of the lock is IMPLEMENTATION DEFINED on reset. This patch ensures that the lock is cleared during boot so that we can write to the debug registers safely. Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'net/mac80211/rc80211_pid_debugfs.c')
0 files changed, 0 insertions, 0 deletions