arm64: remove CONFIG_VMAP_STACK conditionals from traps overflow stack
authorBreno Leitao <leitao@debian.org>
Mon, 7 Jul 2025 16:01:05 +0000 (09:01 -0700)
committerWill Deacon <will@kernel.org>
Tue, 8 Jul 2025 12:41:08 +0000 (13:41 +0100)
commite5692bba1e6667441836e13f723112e4aeec3028
tree21f98370993ae46e919a7aa307e89bda149ec1bf
parentc4a5699d5cefd9d6a6a1d326297d5de6e8e0adde
arm64: remove CONFIG_VMAP_STACK conditionals from traps overflow stack

With VMAP_STACK now always enabled on arm64, remove the
CONFIG_VMAP_STACK checks from overflow stack definitions and related
code in arch/arm64/kernel/traps.c. The overflow_stack and
panic_bad_stack() logic are now unconditionally included, simplifying
the source and matching the mandatory stack model.

Signed-off-by: Breno Leitao <leitao@debian.org>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20250707-arm64_vmap-v1-5-8de98ca0f91c@debian.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/traps.c