public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64/module: Enable late module relocations.
@ 2025-04-10 20:06 Dylan Hatch
  2025-04-10 20:06 ` [PATCH 1/2] arm64: patching: Make text-poke src pointer const Dylan Hatch
  2025-04-10 20:06 ` [PATCH 2/2] arm64/module: Use text-poke API for late relocations Dylan Hatch
  0 siblings, 2 replies; 4+ messages in thread
From: Dylan Hatch @ 2025-04-10 20:06 UTC (permalink / raw)
  To: 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: 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(-)

-- 
2.49.0.604.gff1f9ca942-goog


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

end of thread, other threads:[~2025-04-11  6:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-10 20:06 [PATCH 0/2] arm64/module: Enable late module relocations Dylan Hatch
2025-04-10 20:06 ` [PATCH 1/2] arm64: patching: Make text-poke src pointer const Dylan Hatch
2025-04-10 20:06 ` [PATCH 2/2] arm64/module: Use text-poke API for late relocations Dylan Hatch
2025-04-11  6:31   ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox