linux/arch/arm64/include
Will Deacon ef5e724b25 arm64: alternative: put secondary CPUs into polling loop during patch
When patching the kernel text with alternatives, we may end up patching
parts of the stop_machine state machine (e.g. atomic_dec_and_test in
ack_state) and consequently corrupt the instruction stream of any
secondary CPUs.

This patch passes the cpu_online_mask to stop_machine, forcing all of
the CPUs into our own callback which can place the secondary cores into
a dumb (but safe!) polling loop whilst the patching is carried out.

Signed-off-by: Will Deacon <will.deacon@arm.com>
2015-07-30 19:07:28 +01:00
..
asm arm64: alternative: put secondary CPUs into polling loop during patch 2015-07-30 19:07:28 +01:00
uapi/asm arm64: elf: advertise 8.1 atomic instructions as new hwcap 2015-07-27 14:34:39 +01:00