arm64: smp: Increase secondary CPU boot timeout value
authorWill Deacon <will@kernel.org>
Tue, 27 Aug 2019 13:25:44 +0000 (14:25 +0100)
committerWill Deacon <will@kernel.org>
Tue, 27 Aug 2019 16:36:50 +0000 (17:36 +0100)
commit0e1645557d19fc6d88d3c40431f63a3c3a4c417b
tree377440b11bd729dc2b0f1ad90b0ff2a7d1975bdc
parente21a712a9685488f5ce80495b37b9fdbe96c230d
arm64: smp: Increase secondary CPU boot timeout value

When many debug options are enabled simultaneously (e.g. PROVE_LOCKING,
KMEMLEAK, DEBUG_PAGE_ALLOC, KASAN etc), it is possible for us to timeout
when attempting to boot a secondary CPU and give up. Unfortunately, the
CPU will /eventually/ appear, and sit in the background happily stuck
in a recursive exception due to a NULL stack pointer.

Increase the timeout to 5s, which will of course be enough for anybody.

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