arm64: smp: Treat unknown boot failures as being 'stuck in kernel'
authorWill Deacon <will@kernel.org>
Tue, 27 Aug 2019 14:54:56 +0000 (15:54 +0100)
committerWill Deacon <will@kernel.org>
Tue, 27 Aug 2019 16:37:05 +0000 (17:37 +0100)
commitebef746543fd1aa162216b0e484eb9062b65741d
tree507feaa5b91fb00abfba642341fec367c3b4bc86
parent5b1cfe3a0ba74c1f2b83b607712a217b9f9463a2
arm64: smp: Treat unknown boot failures as being 'stuck in kernel'

When we fail to bring a secondary CPU online and it fails in an unknown
state, we should assume the worst and increment 'cpus_stuck_in_kernel'
so that things like kexec() are disabled.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/smp.c