mbox series

[v5,0/2] static call support for arm64

Message ID 20211027233409.902331-1-ardb@kernel.org (mailing list archive)
Headers show
Series static call support for arm64 | expand

Message

Ard Biesheuvel Oct. 27, 2021, 11:34 p.m. UTC
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@arm.com>
Cc: Quentin Perret <qperret@google.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Frederic Weisbecker <frederic@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Kees Cook <keescook@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