arm64: Add ARM64_PTR_AUTH_KERNEL config option
authorDaniel Kiss <daniel.kiss@arm.com>
Sun, 13 Jun 2021 09:26:31 +0000 (11:26 +0200)
committerWill Deacon <will@kernel.org>
Tue, 15 Jun 2021 10:32:31 +0000 (11:32 +0100)
commitb27a9f4119afa460289cd327f403e2ec9c8e0511
treeb0ce66d5da367a1559532b940c3861aa4dc5b410
parentc4681547bcce777daf576925a966ffa824edd09d
arm64: Add ARM64_PTR_AUTH_KERNEL config option

This patch add the ARM64_PTR_AUTH_KERNEL config and deals with the
build aspect of it.

Userspace support has no dependency on the toolchain therefore all
toolchain checks and build flags are controlled the new config
option.
The default config behavior will not be changed.

Signed-off-by: Daniel Kiss <daniel.kiss@arm.com>
Acked-by: Will Deacon <will@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20210613092632.93591-2-daniel.kiss@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/Kconfig
arch/arm64/Makefile
arch/arm64/kernel/asm-offsets.c
drivers/misc/lkdtm/bugs.c