The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v2 0/7] objtool/klp: sympos/module/alternative/etc fixes
@ 2026-08-05 14:29 Josh Poimboeuf
  2026-08-05 14:29 ` [PATCH v2 1/7] objtool/klp: Fix vmlinux .klp.symid link error for .no_trim_symbol symbols Josh Poimboeuf
                   ` (7 more replies)
  0 siblings, 8 replies; 21+ messages in thread
From: Josh Poimboeuf @ 2026-08-05 14:29 UTC (permalink / raw)
  To: x86
  Cc: linux-kernel, live-patching, Peter Zijlstra, Joe Lawrence,
	Miroslav Benes, Petr Mladek, Song Liu

v2: 
- rebased on tip/master (first 6 patches were merged)
- dropped original patches 7-8 (will post followup)
- added .klp.symid fix

v1: https://lore.kernel.org/cover.1785727106.git.jpoimboe@kernel.org

This consolidates fixes for the klp-build issues reported by Joe over
the last several weeks, plus some more things I found while
testing/reviewing.

Fun stuff like symbol resolution, module dependencies, alternatives.

Joe Lawrence (1):
  objtool/klp: Allow new references to module exports

Josh Poimboeuf (6):
  objtool/klp: Fix vmlinux .klp.symid link error for .no_trim_symbol
    symbols
  objtool/klp: Fix size of empty special section entries
  objtool/klp: Ignore replacement offset of empty x86 alternatives
  objtool/klp: Explicitly disallow patching or referencing init
    code/data
  objtool/klp: Fix cross-module klp relocation section naming
  objtool/klp: Don't match local symbols against exports

 tools/objtool/arch/x86/special.c        | 27 ++++++++++
 tools/objtool/include/objtool/klp.h     | 10 ++--
 tools/objtool/include/objtool/special.h |  7 +++
 tools/objtool/klp-diff.c                | 65 ++++++++++++++++++++++---
 tools/objtool/klp-post-link.c           | 53 +++++++++++---------
 tools/objtool/klp-symid.c               |  1 +
 tools/objtool/klp-sympos.c              | 10 ++++
 7 files changed, 141 insertions(+), 32 deletions(-)

-- 
2.54.0


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

end of thread, other threads:[~2026-08-07  1:25 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-05 14:29 [PATCH v2 0/7] objtool/klp: sympos/module/alternative/etc fixes Josh Poimboeuf
2026-08-05 14:29 ` [PATCH v2 1/7] objtool/klp: Fix vmlinux .klp.symid link error for .no_trim_symbol symbols Josh Poimboeuf
2026-08-05 18:30   ` Song Liu
2026-08-05 14:29 ` [PATCH v2 2/7] objtool/klp: Fix size of empty special section entries Josh Poimboeuf
2026-08-05 20:36   ` Song Liu
2026-08-06  5:11     ` Josh Poimboeuf
2026-08-06 20:51       ` Song Liu
2026-08-05 14:29 ` [PATCH v2 3/7] objtool/klp: Ignore replacement offset of empty x86 alternatives Josh Poimboeuf
2026-08-05 20:51   ` Song Liu
2026-08-06  5:14     ` Josh Poimboeuf
2026-08-05 14:29 ` [PATCH v2 4/7] objtool/klp: Explicitly disallow patching or referencing init code/data Josh Poimboeuf
2026-08-05 15:12   ` sashiko-bot
2026-08-06  5:26     ` Josh Poimboeuf
2026-08-05 14:29 ` [PATCH v2 5/7] objtool/klp: Fix cross-module klp relocation section naming Josh Poimboeuf
2026-08-05 22:23   ` Song Liu
2026-08-05 14:29 ` [PATCH v2 6/7] objtool/klp: Don't match local symbols against exports Josh Poimboeuf
2026-08-05 20:59   ` Song Liu
2026-08-05 14:29 ` [PATCH v2 7/7] objtool/klp: Allow new references to module exports Josh Poimboeuf
2026-08-05 22:24   ` Song Liu
2026-08-06 15:57 ` [PATCH v2 0/7] objtool/klp: sympos/module/alternative/etc fixes Joe Lawrence
2026-08-07  1:25   ` Josh Poimboeuf

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