diff options
author | Will Deacon <will.deacon@arm.com> | 2016-08-15 17:55:11 (GMT) |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2016-09-01 12:45:51 (GMT) |
commit | d7a83d127a64fd91ef1ad39b7e2d78db36cf388b (patch) | |
tree | c6bdc26aef406690a7fb44be0311ca87ec5ad2c7 /lib/test_user_copy.c | |
parent | a842789837c0e3734357c6b4c54d39d60a1d24b1 (diff) | |
download | linux-d7a83d127a64fd91ef1ad39b7e2d78db36cf388b.tar.xz |
arm64: hw_breakpoint: convert CPU hotplug notifier to new infrastructure
The arm64 hw_breakpoint implementation uses a CPU hotplug notifier to
reset the {break,watch}point registers when CPUs come online.
This patch converts the code to the new hotplug mechanism, whilst moving
the invocation earlier to remove the need to disable IRQs explicitly in
the driver (which could cause havok if we trip a watchpoint in an IRQ
handler whilst restoring the debug register state).
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'lib/test_user_copy.c')
0 files changed, 0 insertions, 0 deletions