[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1681342859.git.jpoimboe@kernel.org>
Date: Wed, 12 Apr 2023 16:49:30 -0700
From: Josh Poimboeuf <jpoimboe@...nel.org>
To: x86@...nel.org
Cc: linux-kernel@...r.kernel.org,
Peter Zijlstra <peterz@...radead.org>,
Miroslav Benes <mbenes@...e.cz>, linux-btrfs@...r.kernel.org,
Mark Rutland <mark.rutland@....com>,
linux-scsi@...r.kernel.org, linux-hyperv@...r.kernel.org,
Arnd Bergmann <arnd@...db.de>,
"Guilherme G . Piccoli" <gpiccoli@...lia.com>,
Michael Kelley <mikelley@...rosoft.com>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Nathan Chancellor <nathan@...nel.org>
Subject: [PATCH v2 00/11] Sprinkle more __noreturn
v2:
- improve commit logs
- reorder patches: patches 1-6 are prereqs for patch 7
Add some more __noreturn annotations.
Many of these have been flushed out by kernel IBT support which made
objtool vmlinux validation much more common.
These annotations are generally a good thing as they improve readability
and code generation.
Guilherme G. Piccoli (1):
x86/hyperv: Mark hv_ghcb_terminate() as noreturn
Josh Poimboeuf (10):
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
arch/arm/kernel/smp.c | 2 +-
arch/arm64/include/asm/exception.h | 4 ++--
arch/arm64/include/asm/smp.h | 7 +++----
arch/arm64/kernel/entry-common.c | 2 +-
arch/arm64/kernel/smp.c | 10 ++++++----
arch/arm64/kernel/traps.c | 3 +--
arch/powerpc/kernel/setup_64.c | 2 +-
arch/s390/kernel/setup.c | 2 +-
arch/x86/hyperv/ivm.c | 2 +-
arch/x86/include/asm/mshyperv.h | 2 +-
arch/x86/include/asm/reboot.h | 1 -
arch/x86/include/asm/setup.h | 6 +++---
arch/x86/include/asm/smp.h | 2 +-
arch/x86/kernel/head32.c | 2 +-
arch/x86/kernel/head64.c | 4 ++--
arch/x86/kernel/reboot.c | 2 +-
arch/x86/kernel/smpboot.c | 2 +-
arch/x86/power/cpu.c | 2 +-
drivers/message/fusion/mptbase.c | 2 +-
drivers/message/fusion/mptbase.h | 2 +-
fs/btrfs/messages.c | 2 +-
fs/btrfs/messages.h | 2 +-
include/linux/smp.h | 4 ++--
include/linux/start_kernel.h | 6 +++---
init/main.c | 6 +++---
kernel/panic.c | 4 ++--
tools/objtool/check.c | 20 ++++++++++++++++----
27 files changed, 58 insertions(+), 47 deletions(-)
--
2.39.2
Powered by blists - more mailing lists