mbox series

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

Message ID 20210613092632.93591-1-daniel.kiss@arm.com (mailing list archive)
Headers show
Series arm64: split ARM64_PTR_AUTH option to userspace and kernel | expand

Message

Daniel Kiss June 13, 2021, 9:26 a.m. UTC
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(-)

Comments

Will Deacon June 15, 2021, 12:06 p.m. UTC | #1
On Sun, 13 Jun 2021 11:26:30 +0200, Daniel Kiss wrote:
> 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.
> 
> [...]

Applied to arm64 (for-next/ptrauth), thanks!

[1/2] arm64: Add ARM64_PTR_AUTH_KERNEL config option
      https://git.kernel.org/arm64/c/b27a9f4119af
[2/2] arm64: Conditionally configure PTR_AUTH key of the kernel.
      https://git.kernel.org/arm64/c/d053e71ac844

Cheers,