Skip to contentSkip to conversation

objtool fixes

GIT PULL Merged Ingo Molnar 2 participants 2 messages Apr 10, 2025

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest objtool/urgent Git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git objtool-urgent-2025-04-10

# HEAD: 87cb582d2f55d379ce95b5bcc4ec596e29b0a65e objtool: Fix false-positive "ignoring unreachables" warning

Merge note: I amended the top commit (87cb582d2f) shortly before the pull request, to fix a changelog formatting error. Code was not changed.

Miscellaneous objtool fixes:

- Remove the recently introduced ANNOTATE_IGNORE_ALTERNATIVE noise from clac()/stac() code to make .s files more readable.

- Fix INSN_SYSCALL / INSN_SYSRET semantics

- Fix various false-positive warnings

Thanks,

Ingo

------------------>
Josh Poimboeuf (6):
objtool: Fix INSN_CONTEXT_SWITCH handling in validate_unret()
objtool: Split INSN_CONTEXT_SWITCH into INSN_SYSCALL and INSN_SYSRET
objtool: Stop UNRET validation on UD2
objtool, xen: Fix INSN_SYSCALL / INSN_SYSRET semantics
objtool: Remove ANNOTATE_IGNORE_ALTERNATIVE from CLAC/STAC
objtool: Fix false-positive "ignoring unreachables" warning

 arch/x86/include/asm/smap.h          | 12 ++++----
 arch/x86/xen/xen-asm.S               |  4 +--
 tools/objtool/arch/x86/decode.c      | 18 ++++++-----
 tools/objtool/arch/x86/special.c     |  2 +-
 tools/objtool/check.c                | 59 +++++++++++++++++++++++++++++++-----
 tools/objtool/include/objtool/arch.h |  3 +-
 6 files changed, 72 insertions(+), 26 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Thu, 10 Apr 2025 23:03:42 +0200:

The pull request you sent on Thu, 10 Apr 2025 23:03:42 +0200:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git objtool-urgent-2025-04-10

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/54a012b6223580c74b77f3dc2a7c6b3c29084d18

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html