[PATCH v4 0/3] arm64: BTI cleanups

Mark Brown broonie at kernel.org
Tue Dec 14 07:27:11 PST 2021


This patch series brings together a few cleanups for the assembly
portions of the in kernel BTI support.

v4:
 - Generate BTIs unconditionally.
v3:
 - Tweak the assembler macro for BTI as suggested by Ard, making it
   more compact.
v2:
 - Pull in the assembler macro for BTI proposed by Mark Rutland.
 - Unconditionally override the SYM_FUNC macros.

Mark Brown (3):
  arm64: Add macro version of the BTI instruction
  arm64: Unconditionally override SYM_FUNC macros
  arm64: Use BTI C directly and unconditionally

 arch/arm64/crypto/aes-modes.S      | 10 +++++-----
 arch/arm64/include/asm/assembler.h | 10 ++++++++++
 arch/arm64/include/asm/linkage.h   | 31 +++++++++++-------------------
 arch/arm64/kernel/entry-ftrace.S   |  8 ++------
 arch/arm64/lib/kasan_sw_tags.S     |  4 +---
 5 files changed, 29 insertions(+), 34 deletions(-)


base-commit: 0fcfb00b28c0b7884635dacf38e46d60bf3d4eb1
-- 
2.30.2




More information about the linux-arm-kernel mailing list