Sami Tolvanen da64e9d1f8 arm64: Reserve register x18 from general allocation with SCS
Reserve the x18 register from general allocation when SCS is enabled,
because the compiler uses the register to store the current task's
shadow stack pointer. Note that all external kernel modules must also be
compiled with -ffixed-x18 if the kernel has SCS enabled.

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
2020-05-15 16:35:49 +01:00
..
2020-04-03 15:22:05 -07:00
2020-04-03 15:15:10 -07:00
2020-04-03 13:12:26 -07:00
2020-04-08 10:51:53 -07:00
2019-09-03 15:44:40 +02:00
2019-08-21 18:47:15 +01:00
2020-04-09 11:04:16 -07:00
2020-04-03 15:02:35 -07:00