linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] arm64/module: Enable late module relocations.
@ 2025-04-12  1:09 Dylan Hatch
  2025-04-12  1:09 ` [PATCH v2 1/2] arm64: patching: Rename aarch64_insn_copy to text_poke Dylan Hatch
  2025-04-12  1:09 ` [PATCH v2 2/2] arm64/module: Use text-poke API for late relocations Dylan Hatch
  0 siblings, 2 replies; 15+ messages in thread
From: Dylan Hatch @ 2025-04-12  1:09 UTC (permalink / raw)
  To: Daniel Borkmann, Andrii Nakryiko, Martin KaFai Lau,
	Eduard Zingerman, Yonghong Song, John Fastabend, KP Singh,
	Stanislav Fomichev, Hao Luo, Jiri Olsa, Puranjay Mohan, Xu Kuohai,
	Philippe Mathieu-Daudé, Catalin Marinas, Will Deacon,
	Mike Rapoport (Microsoft), Arnd Bergmann, Geert Uytterhoeven,
	Luis Chamberlain, Andrew Morton, Song Liu, Ard Biesheuvel,
	Mark Rutland
  Cc: linux-arm-kernel, linux-kernel, Dylan Hatch, Roman Gushchin

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: Rename aarch64_insn_copy to text_poke.
  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           |  12 +--
 arch/arm64/net/bpf_jit_comp.c          |   2 +-
 4 files changed, 91 insertions(+), 54 deletions(-)

-- 
2.49.0.604.gff1f9ca942-goog


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2025-05-22 23:35 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-12  1:09 [PATCH v2 0/2] arm64/module: Enable late module relocations Dylan Hatch
2025-04-12  1:09 ` [PATCH v2 1/2] arm64: patching: Rename aarch64_insn_copy to text_poke Dylan Hatch
2025-04-21 22:14   ` Dylan Hatch
2025-04-22  0:32   ` Song Liu
2025-04-12  1:09 ` [PATCH v2 2/2] arm64/module: Use text-poke API for late relocations Dylan Hatch
2025-04-22  0:35   ` Song Liu
2025-04-22  6:25     ` Song Liu
2025-04-23  0:27       ` Dylan Hatch
2025-04-23  4:42         ` Song Liu
2025-04-23  6:04   ` Toshiyuki Sato (Fujitsu)
2025-04-23 22:59     ` Dylan Hatch
2025-04-29 18:26   ` Dylan Hatch
2025-05-09 16:15   ` Will Deacon
2025-05-09 16:39     ` Song Liu
2025-05-22 23:35     ` Dylan Hatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).