[PATCH v5 0/2] static call support for arm64
Ard Biesheuvel
ardb at kernel.org
Wed Oct 27 16:34:07 PDT 2021
Changes since v4:
- add preparatory patch to address generic CFI/LTO issues with static
calls
- add comment to patch #2 describing the trampoline layout
- add handling of Clang CFI jump table entries
- add PeterZ's ack to patch #2
Cc: Mark Rutland <mark.rutland at arm.com>
Cc: Quentin Perret <qperret at google.com>
Cc: Catalin Marinas <catalin.marinas at arm.com>
Cc: James Morse <james.morse at arm.com>
Cc: Will Deacon <will at kernel.org>
Cc: Frederic Weisbecker <frederic at kernel.org>
Cc: Peter Zijlstra <peterz at infradead.org>
Cc: Kees Cook <keescook at chromium.org>
Ard Biesheuvel (2):
static_call: force symbol references with external linkage for CFI/LTO
arm64: implement support for static call trampolines
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/static_call.h | 40 +++++++++++
arch/arm64/kernel/patching.c | 72 +++++++++++++++++++-
arch/arm64/kernel/vmlinux.lds.S | 1 +
include/linux/static_call.h | 21 +++++-
5 files changed, 130 insertions(+), 5 deletions(-)
create mode 100644 arch/arm64/include/asm/static_call.h
--
2.30.2
More information about the linux-arm-kernel
mailing list