[GIT PULL] objtool fixes

From: Ingo Molnar
Date: Thu Apr 10 2025 - 17:03:55 EST


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(-)