mbox series

[0/2] arm64/module: Enable late module relocations.

Message ID 20250410200606.20318-1-dylanbhatch@google.com (mailing list archive)
Headers show
Series arm64/module: Enable late module relocations. | expand

Message

Dylan Hatch April 10, 2025, 8:06 p.m. UTC
Late relocations (after the module is initially loaded) are needed when
livepatches change module code. This is supported by x86, ppc, and s390.
This series borrows the x86 methodology to reach the same level of
suuport on arm64.

Dylan Hatch (2):
  arm64: patching: Make text-poke src pointer const.
  arm64/module: Use text-poke API for late relocations.

 arch/arm64/include/asm/text-patching.h |   2 +-
 arch/arm64/kernel/module.c             | 129 ++++++++++++++++---------
 arch/arm64/kernel/patching.c           |  10 +-
 3 files changed, 89 insertions(+), 52 deletions(-)