linux-hyperv.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/12] Sprinkle more __noreturn
@ 2023-04-08  0:09 Josh Poimboeuf
  2023-04-08  0:09 ` [PATCH 01/11] init: Mark [arch_call_]rest_init() __noreturn Josh Poimboeuf
                   ` (10 more replies)
  0 siblings, 11 replies; 16+ messages in thread
From: Josh Poimboeuf @ 2023-04-08  0:09 UTC (permalink / raw)
  To: x86
  Cc: linux-kernel, Peter Zijlstra, Miroslav Benes, linux-btrfs,
	Mark Rutland, linux-scsi, linux-hyperv, Arnd Bergmann,
	Guilherme G . Piccoli, Michael Kelley

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
  btrfs: Mark btrfs_assertfail() __noreturn
  arm64/cpu: Mark cpu_park_loop() and friends __noreturn
  cpu: Mark panic_smp_self_stop() __noreturn
  cpu: Mark nmi_panic_self_stop() __noreturn
  x86/cpu: Mark {hlt,resume}_play_dead() __noreturn
  objtool: Include weak functions in global_noreturns check
  scsi: message: fusion: Mark mpt_halt_firmware() __noreturn

 arch/arm/kernel/smp.c              |  2 +-
 arch/arm64/include/asm/exception.h |  2 +-
 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, 57 insertions(+), 46 deletions(-)

-- 
2.39.2


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

end of thread, other threads:[~2023-04-12 23:27 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-08  0:09 [PATCH 00/12] Sprinkle more __noreturn Josh Poimboeuf
2023-04-08  0:09 ` [PATCH 01/11] init: Mark [arch_call_]rest_init() __noreturn Josh Poimboeuf
2023-04-10 20:02   ` Nick Desaulniers
2023-04-08  0:09 ` [PATCH 02/11] init: Mark start_kernel() __noreturn Josh Poimboeuf
2023-04-12 20:29   ` Nick Desaulniers
2023-04-12 21:57     ` Josh Poimboeuf
2023-04-12 23:26       ` Josh Poimboeuf
2023-04-08  0:09 ` [PATCH 03/11] x86/head: Mark *_start_kernel() __noreturn Josh Poimboeuf
2023-04-08  0:09 ` [PATCH 04/11] btrfs: Mark btrfs_assertfail() __noreturn Josh Poimboeuf
2023-04-08  0:09 ` [PATCH 05/11] arm64/cpu: Mark cpu_park_loop() and friends __noreturn Josh Poimboeuf
2023-04-08  0:09 ` [PATCH 06/11] cpu: Mark panic_smp_self_stop() __noreturn Josh Poimboeuf
2023-04-08  0:10 ` [PATCH 07/11] cpu: Mark nmi_panic_self_stop() __noreturn Josh Poimboeuf
2023-04-08  0:10 ` [PATCH 08/11] x86/cpu: Mark {hlt,resume}_play_dead() __noreturn Josh Poimboeuf
2023-04-08  0:10 ` [PATCH 09/11] objtool: Include weak functions in global_noreturns check Josh Poimboeuf
2023-04-08  0:10 ` [PATCH 10/11] scsi: message: fusion: Mark mpt_halt_firmware() __noreturn Josh Poimboeuf
2023-04-08  0:10 ` [PATCH 11/11] x86/hyperv: Mark hv_ghcb_terminate() as noreturn Josh Poimboeuf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).