linux/arch/arm/probes/kprobes
Thomas Gleixner 9489cc8f37 arm: Prevent hotplug rwsem recursion
The text patching functions which are invoked from jump_label and kprobes
code are protected against cpu hotplug at the call sites.

Use stop_machine_cpuslocked() to avoid recursion on the cpu hotplug
rwsem. stop_machine_cpuslocked() contains a lockdep assertion to catch any
unprotected callers.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Ingo Molnar <mingo@kernel.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sebastian Siewior <bigeasy@linutronix.de>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/20170524081549.275871311@linutronix.de
2017-05-26 10:10:46 +02:00
..
actions-arm.c ARM: kprobes: check register usage for probed instruction. 2015-01-13 16:10:48 +00:00
actions-common.c
actions-thumb.c ARM: kprobes: collects stack consumption for store instructions 2015-01-13 16:10:06 +00:00
checkers-arm.c ARM: kprobes: check register usage for probed instruction. 2015-01-13 16:10:48 +00:00
checkers-common.c ARM: kprobes: collects stack consumption for store instructions 2015-01-13 16:10:06 +00:00
checkers-thumb.c ARM: kprobes: collects stack consumption for store instructions 2015-01-13 16:10:06 +00:00
checkers.h ARM: kprobes: check register usage for probed instruction. 2015-01-13 16:10:48 +00:00
core.c arm: Prevent hotplug rwsem recursion 2017-05-26 10:10:46 +02:00
core.h ARM: kprobes: Fix compilation error caused by superfluous '*' 2015-02-10 15:05:30 +08:00
Makefile ARM: kprobes: enable OPTPROBES for ARM 32 2015-01-13 16:10:17 +00:00
opt-arm.c ARM: optprobes: execute instruction during restoring if possible. 2015-01-14 12:24:52 +00:00
test-arm.c ARM: kprobes: Eliminate test code's use of BX instruction on ARMv4 CPUs 2015-01-20 09:06:04 +00:00
test-core.c arm: kprobes: Align stack to 8-bytes in test code 2017-03-21 16:24:19 +00:00
test-core.h ARM: kprobes: Fix unreliable MRS instruction tests 2015-01-13 16:10:17 +00:00
test-thumb.c ARM: kprobes: Fix unreliable MRS instruction tests 2015-01-13 16:10:17 +00:00