summary refs log tree commit diff
path: root/arch/arm/mach-s5pv210/sleep.S
diff options
context:
space:
mode:
authorQais Yousef <qais.yousef@arm.com>2020-03-23 13:50:57 +0000
committerThomas Gleixner <tglx@linutronix.de>2020-03-25 12:59:32 +0100
commitdddf3578e0d497e66ebe654d0f3258ac20a07e27 (patch)
treed7dfba1cdfa66f528c1cee808077ff3dac69e025 /arch/arm/mach-s5pv210/sleep.S
parent1e42176b4dac328b0be7075c2cebdf2006d31eb3 (diff)
downloadlinux-dddf3578e0d497e66ebe654d0f3258ac20a07e27.tar.gz
ARM: Don't use disable_nonboot_cpus()
disable_nonboot_cpus() is not safe to use when doing machine_down(),
because it relies on freeze_secondary_cpus() which in turn is
a suspend/resume related freeze and could abort if the logic detects any
pending activities that can prevent finishing the offlining process.

Beside disable_nonboot_cpus() is dependent on CONFIG_PM_SLEEP_SMP which
is an othogonal config to rely on to ensure this function works
correctly.

Signed-off-by: Qais Yousef <qais.yousef@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Russell King <linux@armlinux.org.uk>
Link: https://lkml.kernel.org/r/20200323135110.30522-5-qais.yousef@arm.com

Diffstat (limited to 'arch/arm/mach-s5pv210/sleep.S')
0 files changed, 0 insertions, 0 deletions