[PATCH v6 0/2] arm64: split ARM64_PTR_AUTH option to userspace and kernel

Daniel Kiss daniel.kiss at arm.com
Sun Jun 13 02:26:30 PDT 2021


Changes from v5:
* Move config description to the second patch.
* Fix typos in commit message.
* Fix LD version check caused by the rebase.

Changes from v4:
* Rebased to 5.13-rc4.

Changes from v3:
* Removed the duplicated #ifdef block in asm/pointer_auth.h.

Changes from v2:
* Moved the toolchain version check under ARM64_PTR_AUTH_KERNEL.

Changes from v1:
* Keep the A key in register while running in the kernel.

Daniel Kiss (2):
  arm64: Add ARM64_PTR_AUTH_KERNEL config option
  arm64: Conditionally configure PTR_AUTH key of the kernel.

 arch/arm64/Kconfig                        | 33 +++++++------
 arch/arm64/Makefile                       |  2 +-
 arch/arm64/include/asm/asm_pointer_auth.h | 49 +++++++++++--------
 arch/arm64/include/asm/pointer_auth.h     | 59 +++++++++++++----------
 arch/arm64/include/asm/processor.h        |  2 +
 arch/arm64/kernel/asm-offsets.c           |  4 ++
 drivers/misc/lkdtm/bugs.c                 |  6 +--
 7 files changed, 91 insertions(+), 64 deletions(-)

-- 
2.25.1




More information about the linux-arm-kernel mailing list