From: Ingo Molnar <mingo@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org,
Josh Poimboeuf <jpoimboe@redhat.com>,
Peter Zijlstra <peterz@infradead.org>,
Thomas Gleixner <tglx@linutronix.de>,
Borislav Petkov <bp@alien8.de>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [GIT PULL] objtool changes for v6.3
Date: Thu, 27 Apr 2023 22:22:24 +0200 [thread overview]
Message-ID: <ZErZgObZuVWSgxYY@gmail.com> (raw)
Linus,
Please pull the latest objtool/core git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git objtool-core-2023-04-27
# HEAD: 611d4c716db0141cfc436994dc5aff1d69c924ad x86/hyperv: Mark hv_ghcb_terminate() as noreturn
Objtool changes for v6.4:
- Mark arch_cpu_idle_dead() __noreturn, make all architectures & drivers that did
this inconsistently follow this new, common convention, and fix all the fallout
that objtool can now detect statically.
- Fix/improve the ORC unwinder becoming unreliable due to UNWIND_HINT_EMPTY ambiguity,
split it into UNWIND_HINT_END_OF_STACK and UNWIND_HINT_UNDEFINED to resolve it.
- Fix noinstr violations in the KCSAN code and the lkdtm/stackleak code.
- Generate ORC data for __pfx code
- Add more __noreturn annotations to various kernel startup/shutdown/panic functions.
- Misc improvements & fixes.
MERGE NOTES:
With your latest tree there's 3 new conflicts if this tree is pulled:
arch/x86/include/asm/mshyperv.h
arch/x86/kernel/head_64.S
tools/objtool/check.c
For any double-checking there are -tip internal merge resolutions at:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/merge
Thanks,
Ingo
------------------>
Guilherme G. Piccoli (1):
x86/hyperv: Mark hv_ghcb_terminate() as noreturn
Josh Poimboeuf (50):
alpha/cpu: Expose arch_cpu_idle_dead()'s prototype declaration
alpha/cpu: Make sure arch_cpu_idle_dead() doesn't return
arm/cpu: Add unreachable() to arch_cpu_idle_dead()
arm64/cpu: Mark cpu_die() __noreturn
csky/cpu: Make sure arch_cpu_idle_dead() doesn't return
ia64/cpu: Mark play_dead() __noreturn
loongarch/cpu: Make sure play_dead() doesn't return
loongarch/cpu: Mark play_dead() __noreturn
mips/cpu: Expose play_dead()'s prototype definition
mips/cpu: Make sure play_dead() doesn't return
mips/cpu: Mark play_dead() __noreturn
powerpc/cpu: Mark start_secondary_resume() __noreturn
sh/cpu: Make sure play_dead() doesn't return
sh/cpu: Mark play_dead() __noreturn
sh/cpu: Expose arch_cpu_idle_dead()'s prototype definition
sparc/cpu: Mark cpu_play_dead() __noreturn
x86/cpu: Make sure play_dead() doesn't return
x86/cpu: Mark play_dead() __noreturn
xtensa/cpu: Make sure cpu_die() doesn't return
xtensa/cpu: Mark cpu_die() __noreturn
sched/idle: Make sure weak version of arch_cpu_idle_dead() doesn't return
sched/idle: Mark arch_cpu_idle_dead() __noreturn
objtool: Add objtool_types.h
objtool: Use relative pointers for annotations
objtool: Change UNWIND_HINT() argument order
x86,objtool: Introduce ORC_TYPE_*
x86,objtool: Separate unret validation from unwind hints
x86,objtool: Split UNWIND_HINT_EMPTY in two
sched: Fix KCSAN noinstr violation
lkdtm/stackleak: Fix noinstr violation
Revert "objtool: Support addition to set CFA base"
objtool: Add stackleak instrumentation to uaccess safe list
context_tracking: Fix KCSAN noinstr violation
scripts/objdump-func: Support multiple functions
objtool: Add WARN_INSN()
objtool: Add symbol iteration helpers
objtool: Remove superfluous dead_end_function() check
objtool: Separate prefix code from stack validation code
x86/linkage: Fix padding for typed functions
objtool: Generate ORC data for __pfx code
init: Mark [arch_call_]rest_init() __noreturn
init: Mark start_kernel() __noreturn
x86/head: Mark *_start_kernel() __noreturn
arm64/cpu: Mark cpu_park_loop() and friends __noreturn
cpu: Mark panic_smp_self_stop() __noreturn
cpu: Mark nmi_panic_self_stop() __noreturn
objtool: Include weak functions in global_noreturns check
btrfs: Mark btrfs_assertfail() __noreturn
x86/cpu: Mark {hlt,resume}_play_dead() __noreturn
scsi: message: fusion: Mark mpt_halt_firmware() __noreturn
Philippe Mathieu-Daudé (1):
x86/cpu: Expose arch_cpu_idle_dead()'s prototype definition
Documentation/livepatch/reliable-stacktrace.rst | 2 +-
MAINTAINERS | 2 +-
arch/alpha/kernel/process.c | 4 +-
arch/arm/kernel/smp.c | 6 +-
arch/arm64/include/asm/exception.h | 4 +-
arch/arm64/include/asm/smp.h | 9 +-
arch/arm64/kernel/entry-common.c | 2 +-
arch/arm64/kernel/process.c | 2 +-
arch/arm64/kernel/smp.c | 12 +-
arch/arm64/kernel/traps.c | 3 +-
arch/csky/kernel/smp.c | 4 +-
arch/ia64/kernel/process.c | 6 +-
arch/loongarch/include/asm/smp.h | 2 +-
arch/loongarch/kernel/process.c | 2 +-
arch/loongarch/kernel/smp.c | 2 +-
arch/mips/cavium-octeon/smp.c | 1 +
arch/mips/include/asm/smp.h | 2 +-
arch/mips/kernel/process.c | 2 +-
arch/mips/kernel/smp-bmips.c | 4 +
arch/mips/kernel/smp-cps.c | 1 +
arch/mips/loongson64/smp.c | 2 +
arch/parisc/kernel/process.c | 2 +-
arch/powerpc/include/asm/smp.h | 2 +-
arch/powerpc/kernel/setup_64.c | 2 +-
arch/powerpc/kernel/smp.c | 2 +-
arch/riscv/kernel/cpu-hotplug.c | 2 +-
arch/s390/kernel/idle.c | 2 +-
arch/s390/kernel/setup.c | 2 +-
arch/sh/include/asm/smp-ops.h | 5 +-
arch/sh/kernel/idle.c | 3 +-
arch/sparc/include/asm/smp_64.h | 2 +-
arch/sparc/kernel/process_64.c | 2 +-
arch/x86/entry/entry_64.S | 26 +-
arch/x86/hyperv/ivm.c | 2 +-
arch/x86/include/asm/linkage.h | 2 +-
arch/x86/include/asm/mshyperv.h | 2 +-
arch/x86/include/asm/nospec-branch.h | 14 +-
arch/x86/include/asm/orc_types.h | 12 +-
arch/x86/include/asm/reboot.h | 1 -
arch/x86/include/asm/setup.h | 6 +-
arch/x86/include/asm/smp.h | 5 +-
arch/x86/include/asm/unwind_hints.h | 18 +-
arch/x86/kernel/ftrace_64.S | 2 +-
arch/x86/kernel/head32.c | 2 +-
arch/x86/kernel/head64.c | 4 +-
arch/x86/kernel/head_64.S | 17 +-
arch/x86/kernel/process.c | 5 +-
arch/x86/kernel/reboot.c | 2 +-
arch/x86/kernel/relocate_kernel_64.S | 10 +-
arch/x86/kernel/smpboot.c | 2 +-
arch/x86/kernel/unwind_orc.c | 27 +-
arch/x86/lib/retpoline.S | 6 +-
arch/x86/platform/pvh/head.S | 2 +-
arch/x86/power/cpu.c | 2 +-
arch/x86/xen/xen-asm.S | 4 +-
arch/x86/xen/xen-head.S | 4 +-
arch/xtensa/include/asm/smp.h | 2 +-
arch/xtensa/kernel/smp.c | 4 +-
drivers/message/fusion/mptbase.c | 2 +-
drivers/message/fusion/mptbase.h | 2 +-
drivers/misc/lkdtm/stackleak.c | 6 +
fs/btrfs/messages.c | 2 +-
fs/btrfs/messages.h | 2 +-
include/linux/context_tracking.h | 2 +-
include/linux/cpu.h | 2 +-
include/linux/objtool.h | 81 ++--
include/linux/objtool_types.h | 57 +++
include/linux/sched/task_stack.h | 2 +-
include/linux/smp.h | 4 +-
include/linux/start_kernel.h | 6 +-
init/main.c | 6 +-
kernel/panic.c | 4 +-
kernel/sched/idle.c | 2 +-
scripts/objdump-func | 34 +-
scripts/sorttable.h | 2 +-
tools/arch/x86/include/asm/orc_types.h | 12 +-
tools/include/linux/objtool.h | 200 ----------
tools/include/linux/objtool_types.h | 57 +++
tools/objtool/check.c | 477 ++++++++++++------------
tools/objtool/elf.c | 2 +-
tools/objtool/include/objtool/check.h | 4 +-
tools/objtool/include/objtool/elf.h | 9 +
tools/objtool/include/objtool/warn.h | 5 +
tools/objtool/orc_dump.c | 15 +-
tools/objtool/orc_gen.c | 48 ++-
tools/objtool/sync-check.sh | 2 +-
86 files changed, 644 insertions(+), 686 deletions(-)
create mode 100644 include/linux/objtool_types.h
delete mode 100644 tools/include/linux/objtool.h
create mode 100644 tools/include/linux/objtool_types.h
next reply other threads:[~2023-04-27 20:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-27 20:22 Ingo Molnar [this message]
2023-04-28 22:04 ` Re: [GIT PULL] objtool changes for v6.3 pr-tracker-bot
-- strict thread matches above, loose matches on Subject: below --
2023-03-02 8:03 Ingo Molnar
2023-03-02 18:34 ` pr-tracker-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZErZgObZuVWSgxYY@gmail.com \
--to=mingo@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=bp@alien8.de \
--cc=jpoimboe@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.