arm64: Implement Shadow Call Stack
authorSami Tolvanen <samitolvanen@google.com>
Mon, 27 Apr 2020 16:00:16 +0000 (09:00 -0700)
committerWill Deacon <will@kernel.org>
Fri, 15 May 2020 15:35:50 +0000 (16:35 +0100)
commit5287569a790d2546a06db07e391bf84b8bd6cf51
tree137dc42c9e15afc1b7880798d2ea1ed146301211
parent9654736891c3ac6a60b52ce70d33cf57cf95bff7
arm64: Implement Shadow Call Stack

This change implements shadow stack switching, initial SCS set-up,
and interrupt shadow stacks for arm64.

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/Kconfig
arch/arm64/include/asm/scs.h [new file with mode: 0644]
arch/arm64/include/asm/thread_info.h
arch/arm64/kernel/Makefile
arch/arm64/kernel/asm-offsets.c
arch/arm64/kernel/entry.S
arch/arm64/kernel/head.S
arch/arm64/kernel/process.c
arch/arm64/kernel/scs.c [new file with mode: 0644]