linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] livepatch, arm64/module: Enable late module relocations.
@ 2025-05-22 18:42 Dylan Hatch
  2025-05-22 18:42 ` [PATCH v3 1/2] livepatch, x86/module: Generalize late module relocation locking Dylan Hatch
  2025-05-22 18:42 ` [PATCH v3 2/2] arm64/module: Use text-poke API for late relocations Dylan Hatch
  0 siblings, 2 replies; 5+ messages in thread
From: Dylan Hatch @ 2025-05-22 18:42 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, Dave Hansen, x86, H. Peter Anvin, Josh Poimboeuf,
	Jiri Kosina, Miroslav Benes, Petr Mladek, Joe Lawrence
  Cc: Dylan Hatch, Song Liu, Ard Biesheuvel, Sami Tolvanen,
	Peter Zijlstra, Mike Rapoport (Microsoft), Andrew Morton,
	Dan Carpenter, linux-arm-kernel, linux-kernel, live-patching

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
support on arm64, and moves the text-poke locking into the core livepatch
code to reduce redundancy.

Dylan Hatch (2):
  livepatch, x86/module: Generalize late module relocation locking.
  arm64/module: Use text-poke API for late relocations.

 arch/arm64/kernel/module.c | 114 ++++++++++++++++++++++---------------
 arch/x86/kernel/module.c   |   8 +--
 kernel/livepatch/core.c    |  18 ++++--
 3 files changed, 84 insertions(+), 56 deletions(-)

-- 
2.49.0.1151.ga128411c76-goog



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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-22 18:42 [PATCH v3 0/2] livepatch, arm64/module: Enable late module relocations Dylan Hatch
2025-05-22 18:42 ` [PATCH v3 1/2] livepatch, x86/module: Generalize late module relocation locking Dylan Hatch
2025-05-22 19:29   ` Song Liu
2025-05-22 18:42 ` [PATCH v3 2/2] arm64/module: Use text-poke API for late relocations Dylan Hatch
2025-05-22 20:01   ` 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).