arm64: scs: use vmapped IRQ and SDEI shadow stacks
authorSami Tolvanen <samitolvanen@google.com>
Mon, 30 Nov 2020 23:34:42 +0000 (15:34 -0800)
committerWill Deacon <will@kernel.org>
Tue, 1 Dec 2020 11:23:34 +0000 (11:23 +0000)
commitac20ffbb0279aae7be48567fb734eae7d050769e
tree15c0a54aa692cf18d40cd21b48964f77f7d13ea2
parenta2abe7cbd8fe2db5ff386c968e2273d9dc6c468d
arm64: scs: use vmapped IRQ and SDEI shadow stacks

Use scs_alloc() to allocate also IRQ and SDEI shadow stacks instead of
using statically allocated stacks.

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20201130233442.2562064-3-samitolvanen@google.com
[will: Move CONFIG_SHADOW_CALL_STACK check into init_irq_scs()]
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/Makefile
arch/arm64/kernel/entry.S
arch/arm64/kernel/irq.c
arch/arm64/kernel/scs.c [deleted file]
arch/arm64/kernel/sdei.c
include/linux/scs.h