* [PATCH v2 00/24] cpu,sched: Mark arch_cpu_idle_dead() __noreturn
@ 2023-02-14 7:05 ` Josh Poimboeuf
0 siblings, 0 replies; 18+ messages in thread
From: Josh Poimboeuf @ 2023-02-14 7:05 UTC (permalink / raw)
To: linux-kernel
Cc: jgross, richard.henderson, ink, mattst88, linux-alpha, linux,
linux-arm-kernel, catalin.marinas, will, guoren, linux-csky,
linux-ia64, chenhuacai, kernel, loongarch, f.fainelli,
bcm-kernel-feedback-list, tsbogend, linux-mips, jiaxun.yang, mpe,
npiggin, christophe.leroy, linuxppc-dev, ysato, dalias, linux-sh,
davem, sparclinux, tglx, mingo, bp, dave.hansen, x86, hpa, chris,
jcmvbkbc, linux-xtensa, peterz, juri.lelli, vincent.guittot,
dietmar.eggemann, rostedt, bsegall, mgorman, bristot, vschneid,
paulmck
v2:
- make arch_call_rest_init() and rest_init() __noreturn
- make objtool 'global_returns' work for weak functions
- rebase on tip/objtool/core with dependencies merged in (mingo)
- add acks
v1.1:
- add __noreturn to all arch_cpu_idle_dead() implementations (mpe)
Josh Poimboeuf (24):
alpha/cpu: Expose arch_cpu_idle_dead()'s prototype declaration
alpha/cpu: Make sure arch_cpu_idle_dead() doesn't return
arm/cpu: Make sure arch_cpu_idle_dead() doesn't return
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
objtool: Include weak functions in 'global_noreturns' check
init: Make arch_call_rest_init() and rest_init() __noreturn
sched/idle: Mark arch_cpu_idle_dead() __noreturn
arch/alpha/kernel/process.c | 4 +++-
arch/arm/kernel/smp.c | 4 +++-
arch/arm64/include/asm/smp.h | 2 +-
arch/arm64/kernel/process.c | 2 +-
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/include/asm/smp.h | 2 +-
arch/mips/kernel/process.c | 2 +-
arch/mips/kernel/smp-bmips.c | 3 +++
arch/mips/loongson64/smp.c | 1 +
arch/parisc/kernel/process.c | 2 +-
arch/powerpc/include/asm/smp.h | 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/include/asm/smp.h | 3 ++-
arch/x86/kernel/process.c | 4 ++--
arch/xtensa/include/asm/smp.h | 2 +-
arch/xtensa/kernel/smp.c | 4 +++-
include/linux/cpu.h | 2 +-
include/linux/start_kernel.h | 4 ++--
init/main.c | 4 ++--
kernel/sched/idle.c | 2 +-
tools/objtool/check.c | 11 +++++++----
32 files changed, 57 insertions(+), 39 deletions(-)
--
2.39.1
^ permalink raw reply [flat|nested] 18+ messages in thread
* [PATCH v2 00/24] cpu,sched: Mark arch_cpu_idle_dead() __noreturn
@ 2023-02-14 7:05 ` Josh Poimboeuf
0 siblings, 0 replies; 18+ messages in thread
From: Josh Poimboeuf @ 2023-02-14 7:05 UTC (permalink / raw)
To: linux-kernel
Cc: juri.lelli, dalias, linux-ia64, linux-sh, peterz,
catalin.marinas, dave.hansen, x86, jiaxun.yang, bsegall,
jcmvbkbc, guoren, hpa, sparclinux, kernel, will, vschneid,
f.fainelli, vincent.guittot, ysato, chenhuacai, linux,
linux-csky, mingo, bcm-kernel-feedback-list, mgorman, mattst88,
linux-xtensa, paulmck, richard.henderson, npiggin, ink, rostedt,
loongarch, tglx, dietmar.eggemann, linux-arm-kernel, jgross,
chris, tsbogend, bristot, linux-mips, linux-alph
v2:
- make arch_call_rest_init() and rest_init() __noreturn
- make objtool 'global_returns' work for weak functions
- rebase on tip/objtool/core with dependencies merged in (mingo)
- add acks
v1.1:
- add __noreturn to all arch_cpu_idle_dead() implementations (mpe)
Josh Poimboeuf (24):
alpha/cpu: Expose arch_cpu_idle_dead()'s prototype declaration
alpha/cpu: Make sure arch_cpu_idle_dead() doesn't return
arm/cpu: Make sure arch_cpu_idle_dead() doesn't return
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
objtool: Include weak functions in 'global_noreturns' check
init: Make arch_call_rest_init() and rest_init() __noreturn
sched/idle: Mark arch_cpu_idle_dead() __noreturn
arch/alpha/kernel/process.c | 4 +++-
arch/arm/kernel/smp.c | 4 +++-
arch/arm64/include/asm/smp.h | 2 +-
arch/arm64/kernel/process.c | 2 +-
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/include/asm/smp.h | 2 +-
arch/mips/kernel/process.c | 2 +-
arch/mips/kernel/smp-bmips.c | 3 +++
arch/mips/loongson64/smp.c | 1 +
arch/parisc/kernel/process.c | 2 +-
arch/powerpc/include/asm/smp.h | 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/include/asm/smp.h | 3 ++-
arch/x86/kernel/process.c | 4 ++--
arch/xtensa/include/asm/smp.h | 2 +-
arch/xtensa/kernel/smp.c | 4 +++-
include/linux/cpu.h | 2 +-
include/linux/start_kernel.h | 4 ++--
init/main.c | 4 ++--
kernel/sched/idle.c | 2 +-
tools/objtool/check.c | 11 +++++++----
32 files changed, 57 insertions(+), 39 deletions(-)
--
2.39.1
^ permalink raw reply [flat|nested] 18+ messages in thread
* [PATCH v2 00/24] cpu,sched: Mark arch_cpu_idle_dead() __noreturn
@ 2023-02-14 7:05 ` Josh Poimboeuf
0 siblings, 0 replies; 18+ messages in thread
From: Josh Poimboeuf @ 2023-02-14 7:05 UTC (permalink / raw)
To: linux-kernel
Cc: jgross, richard.henderson, ink, mattst88, linux-alpha, linux,
linux-arm-kernel, catalin.marinas, will, guoren, linux-csky,
linux-ia64, chenhuacai, kernel, loongarch, f.fainelli,
bcm-kernel-feedback-list, tsbogend, linux-mips, jiaxun.yang, mpe,
npiggin, christophe.leroy, linuxppc-dev, ysato, dalias, linux-sh,
davem, sparclinux, tglx, mingo, bp, dave.hansen, x86, hpa, chris,
jcmvbkbc, linux-xtensa, peterz, juri.lelli, vincent.guittot,
dietmar.eggemann, rostedt, bsegall, mgorman, bristot, vschneid,
paulmck
v2:
- make arch_call_rest_init() and rest_init() __noreturn
- make objtool 'global_returns' work for weak functions
- rebase on tip/objtool/core with dependencies merged in (mingo)
- add acks
v1.1:
- add __noreturn to all arch_cpu_idle_dead() implementations (mpe)
Josh Poimboeuf (24):
alpha/cpu: Expose arch_cpu_idle_dead()'s prototype declaration
alpha/cpu: Make sure arch_cpu_idle_dead() doesn't return
arm/cpu: Make sure arch_cpu_idle_dead() doesn't return
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
objtool: Include weak functions in 'global_noreturns' check
init: Make arch_call_rest_init() and rest_init() __noreturn
sched/idle: Mark arch_cpu_idle_dead() __noreturn
arch/alpha/kernel/process.c | 4 +++-
arch/arm/kernel/smp.c | 4 +++-
arch/arm64/include/asm/smp.h | 2 +-
arch/arm64/kernel/process.c | 2 +-
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/include/asm/smp.h | 2 +-
arch/mips/kernel/process.c | 2 +-
arch/mips/kernel/smp-bmips.c | 3 +++
arch/mips/loongson64/smp.c | 1 +
arch/parisc/kernel/process.c | 2 +-
arch/powerpc/include/asm/smp.h | 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/include/asm/smp.h | 3 ++-
arch/x86/kernel/process.c | 4 ++--
arch/xtensa/include/asm/smp.h | 2 +-
arch/xtensa/kernel/smp.c | 4 +++-
include/linux/cpu.h | 2 +-
include/linux/start_kernel.h | 4 ++--
init/main.c | 4 ++--
kernel/sched/idle.c | 2 +-
tools/objtool/check.c | 11 +++++++----
32 files changed, 57 insertions(+), 39 deletions(-)
--
2.39.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v2 00/24] cpu,sched: Mark arch_cpu_idle_dead() __noreturn
2023-02-14 7:05 ` Josh Poimboeuf
(?)
@ 2023-02-14 9:25 ` Philippe Mathieu-Daudé
-1 siblings, 0 replies; 18+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-02-14 9:25 UTC (permalink / raw)
To: Josh Poimboeuf, linux-kernel
Cc: jgross, richard.henderson, ink, mattst88, linux-alpha, linux,
linux-arm-kernel, catalin.marinas, will, guoren, linux-csky,
linux-ia64, chenhuacai, kernel, loongarch, f.fainelli,
bcm-kernel-feedback-list, tsbogend, linux-mips, jiaxun.yang, mpe,
npiggin, christophe.leroy, linuxppc-dev, ysato, dalias, linux-sh,
davem, sparclinux, tglx, mingo, bp, dave.hansen, x86, hpa, chris,
jcmvbkbc, linux-xtensa, peterz, juri.lelli, vincent.guittot,
dietmar.eggemann, rostedt, bsegall, mgorman, bristot, vschneid,
paulmck
On 14/2/23 08:05, Josh Poimboeuf wrote:
> v2:
> - make arch_call_rest_init() and rest_init() __noreturn
> - make objtool 'global_returns' work for weak functions
> - rebase on tip/objtool/core with dependencies merged in (mingo)
> - add acks
>
> v1.1:
> - add __noreturn to all arch_cpu_idle_dead() implementations (mpe)
Possible similar candidates: panic_smp_self_stop, nmi_panic_self_stop
and kexec.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v2 00/24] cpu,sched: Mark arch_cpu_idle_dead() __noreturn
@ 2023-02-14 9:25 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 18+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-02-14 9:25 UTC (permalink / raw)
To: Josh Poimboeuf, linux-kernel
Cc: jgross, richard.henderson, ink, mattst88, linux-alpha, linux,
linux-arm-kernel, catalin.marinas, will, guoren, linux-csky,
linux-ia64, chenhuacai, kernel, loongarch, f.fainelli,
bcm-kernel-feedback-list, tsbogend, linux-mips, jiaxun.yang, mpe,
npiggin, christophe.leroy, linuxppc-dev, ysato, dalias, linux-sh,
davem, sparclinux, tglx, mingo, bp, dave.hansen, x86, hpa, chris,
jcmvbkbc, linux-xtensa, peterz, juri.lelli, vincent.guittot,
dietmar.eggemann, rostedt, bsegall, mgorman, bristot, vschneid,
paulmck
On 14/2/23 08:05, Josh Poimboeuf wrote:
> v2:
> - make arch_call_rest_init() and rest_init() __noreturn
> - make objtool 'global_returns' work for weak functions
> - rebase on tip/objtool/core with dependencies merged in (mingo)
> - add acks
>
> v1.1:
> - add __noreturn to all arch_cpu_idle_dead() implementations (mpe)
Possible similar candidates: panic_smp_self_stop, nmi_panic_self_stop
and kexec.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v2 00/24] cpu,sched: Mark arch_cpu_idle_dead() __noreturn
@ 2023-02-14 9:25 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 18+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-02-14 9:25 UTC (permalink / raw)
To: Josh Poimboeuf, linux-kernel
Cc: juri.lelli, dalias, linux-ia64, linux-sh, peterz,
catalin.marinas, dave.hansen, x86, jiaxun.yang, bsegall,
jcmvbkbc, guoren, hpa, sparclinux, kernel, will, vschneid,
f.fainelli, vincent.guittot, ysato, chenhuacai, linux,
linux-csky, mingo, bcm-kernel-feedback-list, mgorman, mattst88,
linux-xtensa, paulmck, richard.henderson, npiggin, ink, rostedt,
loongarch, tglx, dietmar.eggemann, linux-arm-kernel, jgross,
chris, tsbogend, bristot, linux-mips, linux-alph
On 14/2/23 08:05, Josh Poimboeuf wrote:
> v2:
> - make arch_call_rest_init() and rest_init() __noreturn
> - make objtool 'global_returns' work for weak functions
> - rebase on tip/objtool/core with dependencies merged in (mingo)
> - add acks
>
> v1.1:
> - add __noreturn to all arch_cpu_idle_dead() implementations (mpe)
Possible similar candidates: panic_smp_self_stop, nmi_panic_self_stop
and kexec.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v2 00/24] cpu,sched: Mark arch_cpu_idle_dead() __noreturn
2023-02-14 9:25 ` Philippe Mathieu-Daudé
(?)
(?)
@ 2023-02-14 18:29 ` Josh Poimboeuf
-1 siblings, 0 replies; 18+ messages in thread
From: Josh Poimboeuf @ 2023-02-14 18:29 UTC (permalink / raw)
To: Philippe Mathieu-Daudé
Cc: linux-kernel, jgross, richard.henderson, ink, mattst88,
linux-alpha, linux, linux-arm-kernel, catalin.marinas, will,
guoren, linux-csky, linux-ia64, chenhuacai, kernel, loongarch,
f.fainelli, bcm-kernel-feedback-list, tsbogend, linux-mips,
jiaxun.yang, mpe, npiggin, christophe.leroy, linuxppc-dev, ysato,
dalias, linux-sh, davem, sparclinux, tglx, mingo, bp,
dave.hansen, x86, hpa, chris, jcmvbkbc, linux-xtensa, peterz,
juri.lelli, vincent.guittot, dietmar.eggemann, rostedt, bsegall,
mgorman, bristot, vschneid, paulmck
On Tue, Feb 14, 2023 at 10:25:50AM +0100, Philippe Mathieu-Daudé wrote:
> On 14/2/23 08:05, Josh Poimboeuf wrote:
> > v2:
> > - make arch_call_rest_init() and rest_init() __noreturn
> > - make objtool 'global_returns' work for weak functions
> > - rebase on tip/objtool/core with dependencies merged in (mingo)
> > - add acks
> >
> > v1.1:
> > - add __noreturn to all arch_cpu_idle_dead() implementations (mpe)
>
> Possible similar candidates: panic_smp_self_stop, nmi_panic_self_stop
> and kexec.
Agreed. Any volunteers?
--
Josh
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v2 00/24] cpu,sched: Mark arch_cpu_idle_dead() __noreturn
@ 2023-02-14 18:29 ` Josh Poimboeuf
0 siblings, 0 replies; 18+ messages in thread
From: Josh Poimboeuf @ 2023-02-14 18:29 UTC (permalink / raw)
To: Philippe Mathieu-Daudé
Cc: linux-kernel, jgross, richard.henderson, ink, mattst88,
linux-alpha, linux, linux-arm-kernel, catalin.marinas, will,
guoren, linux-csky, linux-ia64, chenhuacai, kernel, loongarch,
f.fainelli, bcm-kernel-feedback-list, tsbogend, linux-mips,
jiaxun.yang, mpe, npiggin, christophe.leroy, linuxppc-dev, ysato,
dalias, linux-sh, davem, sparclinux, tglx, mingo
On Tue, Feb 14, 2023 at 10:25:50AM +0100, Philippe Mathieu-Daudé wrote:
> On 14/2/23 08:05, Josh Poimboeuf wrote:
> > v2:
> > - make arch_call_rest_init() and rest_init() __noreturn
> > - make objtool 'global_returns' work for weak functions
> > - rebase on tip/objtool/core with dependencies merged in (mingo)
> > - add acks
> >
> > v1.1:
> > - add __noreturn to all arch_cpu_idle_dead() implementations (mpe)
>
> Possible similar candidates: panic_smp_self_stop, nmi_panic_self_stop
> and kexec.
Agreed. Any volunteers?
--
Josh
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v2 00/24] cpu,sched: Mark arch_cpu_idle_dead() __noreturn
@ 2023-02-14 18:29 ` Josh Poimboeuf
0 siblings, 0 replies; 18+ messages in thread
From: Josh Poimboeuf @ 2023-02-14 18:29 UTC (permalink / raw)
To: Philippe Mathieu-Daudé
Cc: linux-kernel, jgross, richard.henderson, ink, mattst88,
linux-alpha, linux, linux-arm-kernel, catalin.marinas, will,
guoren, linux-csky, linux-ia64, chenhuacai, kernel, loongarch,
f.fainelli, bcm-kernel-feedback-list, tsbogend, linux-mips,
jiaxun.yang, mpe, npiggin, christophe.leroy, linuxppc-dev, ysato,
dalias, linux-sh, davem, sparclinux, tglx, mingo, bp,
dave.hansen, x86, hpa, chris, jcmvbkbc, linux-xtensa, peterz,
juri.lelli, vincent.guittot, dietmar.eggemann, rostedt, bsegall,
mgorman, bristot, vschneid, paulmck
On Tue, Feb 14, 2023 at 10:25:50AM +0100, Philippe Mathieu-Daudé wrote:
> On 14/2/23 08:05, Josh Poimboeuf wrote:
> > v2:
> > - make arch_call_rest_init() and rest_init() __noreturn
> > - make objtool 'global_returns' work for weak functions
> > - rebase on tip/objtool/core with dependencies merged in (mingo)
> > - add acks
> >
> > v1.1:
> > - add __noreturn to all arch_cpu_idle_dead() implementations (mpe)
>
> Possible similar candidates: panic_smp_self_stop, nmi_panic_self_stop
> and kexec.
Agreed. Any volunteers?
--
Josh
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v2 00/24] cpu,sched: Mark arch_cpu_idle_dead() __noreturn
@ 2023-02-14 18:29 ` Josh Poimboeuf
0 siblings, 0 replies; 18+ messages in thread
From: Josh Poimboeuf @ 2023-02-14 18:29 UTC (permalink / raw)
To: Philippe Mathieu-Daudé
Cc: juri.lelli, dalias, linux-ia64, linux-sh, peterz,
catalin.marinas, dave.hansen, x86, jiaxun.yang, linux-mips,
bsegall, jcmvbkbc, guoren, hpa, sparclinux, kernel, will,
vschneid, f.fainelli, vincent.guittot, ysato, chenhuacai, linux,
linux-csky, mingo, bcm-kernel-feedback-list, mgorman, mattst88,
linux-xtensa, paulmck, richard.henderson, npiggin, ink, rostedt,
loongarch, tglx, dietmar.eggemann, linux-arm-kernel, jgross,
chris, tsbogend, bristot, linux-kern
On Tue, Feb 14, 2023 at 10:25:50AM +0100, Philippe Mathieu-Daudé wrote:
> On 14/2/23 08:05, Josh Poimboeuf wrote:
> > v2:
> > - make arch_call_rest_init() and rest_init() __noreturn
> > - make objtool 'global_returns' work for weak functions
> > - rebase on tip/objtool/core with dependencies merged in (mingo)
> > - add acks
> >
> > v1.1:
> > - add __noreturn to all arch_cpu_idle_dead() implementations (mpe)
>
> Possible similar candidates: panic_smp_self_stop, nmi_panic_self_stop
> and kexec.
Agreed. Any volunteers?
--
Josh
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v2 00/24] cpu,sched: Mark arch_cpu_idle_dead() __noreturn
2023-02-14 7:05 ` Josh Poimboeuf
` (3 preceding siblings ...)
(?)
@ 2023-02-14 9:25 ` Philippe Mathieu-Daudé
-1 siblings, 0 replies; 18+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-02-14 9:25 UTC (permalink / raw)
To: Josh Poimboeuf, linux-kernel
Cc: jgross, richard.henderson, ink, mattst88, linux-alpha, linux,
linux-arm-kernel, catalin.marinas, will, guoren, linux-csky,
linux-ia64, chenhuacai, kernel, loongarch, f.fainelli,
bcm-kernel-feedback-list, tsbogend, linux-mips, jiaxun.yang, mpe,
npiggin, christophe.leroy, linuxppc-dev, ysato, dalias, linux-sh,
davem, sparclinux, tglx, mingo, bp, dave.hansen
On 14/2/23 08:05, Josh Poimboeuf wrote:
> v2:
> - make arch_call_rest_init() and rest_init() __noreturn
> - make objtool 'global_returns' work for weak functions
> - rebase on tip/objtool/core with dependencies merged in (mingo)
> - add acks
>
> v1.1:
> - add __noreturn to all arch_cpu_idle_dead() implementations (mpe)
Possible similar candidates: panic_smp_self_stop, nmi_panic_self_stop
and kexec.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v2 00/24] cpu,sched: Mark arch_cpu_idle_dead() __noreturn
2023-02-14 7:05 ` Josh Poimboeuf
` (2 preceding siblings ...)
(?)
@ 2023-02-15 22:22 ` Paul E. McKenney
-1 siblings, 0 replies; 18+ messages in thread
From: Paul E. McKenney @ 2023-02-15 22:22 UTC (permalink / raw)
To: Josh Poimboeuf
Cc: linux-kernel, jgross, richard.henderson, ink, mattst88,
linux-alpha, linux, linux-arm-kernel, catalin.marinas, will,
guoren, linux-csky, linux-ia64, chenhuacai, kernel, loongarch,
f.fainelli, bcm-kernel-feedback-list, tsbogend, linux-mips,
jiaxun.yang, mpe, npiggin, christophe.leroy, linuxppc-dev, ysato,
dalias, linux-sh, davem, sparclinux, tglx, mingo, bp,
dave.hansen, x86, hpa, chris, jcmvbkbc, linux-xtensa, peterz,
juri.lelli, vincent.guittot, dietmar.eggemann, rostedt, bsegall,
mgorman, bristot, vschneid
On Mon, Feb 13, 2023 at 11:05:34PM -0800, Josh Poimboeuf wrote:
> v2:
> - make arch_call_rest_init() and rest_init() __noreturn
> - make objtool 'global_returns' work for weak functions
> - rebase on tip/objtool/core with dependencies merged in (mingo)
> - add acks
>
> v1.1:
> - add __noreturn to all arch_cpu_idle_dead() implementations (mpe)
With this, rcutorture no longer gets objtool complaints on x86, thank you!
Tested-by: Paul E. McKenney <paulmck@kernel.org>
> Josh Poimboeuf (24):
> alpha/cpu: Expose arch_cpu_idle_dead()'s prototype declaration
> alpha/cpu: Make sure arch_cpu_idle_dead() doesn't return
> arm/cpu: Make sure arch_cpu_idle_dead() doesn't return
> 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
> objtool: Include weak functions in 'global_noreturns' check
> init: Make arch_call_rest_init() and rest_init() __noreturn
> sched/idle: Mark arch_cpu_idle_dead() __noreturn
>
> arch/alpha/kernel/process.c | 4 +++-
> arch/arm/kernel/smp.c | 4 +++-
> arch/arm64/include/asm/smp.h | 2 +-
> arch/arm64/kernel/process.c | 2 +-
> 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/include/asm/smp.h | 2 +-
> arch/mips/kernel/process.c | 2 +-
> arch/mips/kernel/smp-bmips.c | 3 +++
> arch/mips/loongson64/smp.c | 1 +
> arch/parisc/kernel/process.c | 2 +-
> arch/powerpc/include/asm/smp.h | 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/include/asm/smp.h | 3 ++-
> arch/x86/kernel/process.c | 4 ++--
> arch/xtensa/include/asm/smp.h | 2 +-
> arch/xtensa/kernel/smp.c | 4 +++-
> include/linux/cpu.h | 2 +-
> include/linux/start_kernel.h | 4 ++--
> init/main.c | 4 ++--
> kernel/sched/idle.c | 2 +-
> tools/objtool/check.c | 11 +++++++----
> 32 files changed, 57 insertions(+), 39 deletions(-)
>
> --
> 2.39.1
>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v2 00/24] cpu,sched: Mark arch_cpu_idle_dead() __noreturn
@ 2023-02-15 22:22 ` Paul E. McKenney
0 siblings, 0 replies; 18+ messages in thread
From: Paul E. McKenney @ 2023-02-15 22:22 UTC (permalink / raw)
To: Josh Poimboeuf
Cc: linux-kernel, jgross, richard.henderson, ink, mattst88,
linux-alpha, linux, linux-arm-kernel, catalin.marinas, will,
guoren, linux-csky, linux-ia64, chenhuacai, kernel, loongarch,
f.fainelli, bcm-kernel-feedback-list, tsbogend, linux-mips,
jiaxun.yang, mpe, npiggin, christophe.leroy, linuxppc-dev, ysato,
dalias, linux-sh, davem, sparclinux, tglx, mingo
On Mon, Feb 13, 2023 at 11:05:34PM -0800, Josh Poimboeuf wrote:
> v2:
> - make arch_call_rest_init() and rest_init() __noreturn
> - make objtool 'global_returns' work for weak functions
> - rebase on tip/objtool/core with dependencies merged in (mingo)
> - add acks
>
> v1.1:
> - add __noreturn to all arch_cpu_idle_dead() implementations (mpe)
With this, rcutorture no longer gets objtool complaints on x86, thank you!
Tested-by: Paul E. McKenney <paulmck@kernel.org>
> Josh Poimboeuf (24):
> alpha/cpu: Expose arch_cpu_idle_dead()'s prototype declaration
> alpha/cpu: Make sure arch_cpu_idle_dead() doesn't return
> arm/cpu: Make sure arch_cpu_idle_dead() doesn't return
> 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
> objtool: Include weak functions in 'global_noreturns' check
> init: Make arch_call_rest_init() and rest_init() __noreturn
> sched/idle: Mark arch_cpu_idle_dead() __noreturn
>
> arch/alpha/kernel/process.c | 4 +++-
> arch/arm/kernel/smp.c | 4 +++-
> arch/arm64/include/asm/smp.h | 2 +-
> arch/arm64/kernel/process.c | 2 +-
> 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/include/asm/smp.h | 2 +-
> arch/mips/kernel/process.c | 2 +-
> arch/mips/kernel/smp-bmips.c | 3 +++
> arch/mips/loongson64/smp.c | 1 +
> arch/parisc/kernel/process.c | 2 +-
> arch/powerpc/include/asm/smp.h | 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/include/asm/smp.h | 3 ++-
> arch/x86/kernel/process.c | 4 ++--
> arch/xtensa/include/asm/smp.h | 2 +-
> arch/xtensa/kernel/smp.c | 4 +++-
> include/linux/cpu.h | 2 +-
> include/linux/start_kernel.h | 4 ++--
> init/main.c | 4 ++--
> kernel/sched/idle.c | 2 +-
> tools/objtool/check.c | 11 +++++++----
> 32 files changed, 57 insertions(+), 39 deletions(-)
>
> --
> 2.39.1
>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v2 00/24] cpu,sched: Mark arch_cpu_idle_dead() __noreturn
@ 2023-02-15 22:22 ` Paul E. McKenney
0 siblings, 0 replies; 18+ messages in thread
From: Paul E. McKenney @ 2023-02-15 22:22 UTC (permalink / raw)
To: Josh Poimboeuf
Cc: linux-kernel, jgross, richard.henderson, ink, mattst88,
linux-alpha, linux, linux-arm-kernel, catalin.marinas, will,
guoren, linux-csky, linux-ia64, chenhuacai, kernel, loongarch,
f.fainelli, bcm-kernel-feedback-list, tsbogend, linux-mips,
jiaxun.yang, mpe, npiggin, christophe.leroy, linuxppc-dev, ysato,
dalias, linux-sh, davem, sparclinux, tglx, mingo, bp,
dave.hansen, x86, hpa, chris, jcmvbkbc, linux-xtensa, peterz,
juri.lelli, vincent.guittot, dietmar.eggemann, rostedt, bsegall,
mgorman, bristot, vschneid
On Mon, Feb 13, 2023 at 11:05:34PM -0800, Josh Poimboeuf wrote:
> v2:
> - make arch_call_rest_init() and rest_init() __noreturn
> - make objtool 'global_returns' work for weak functions
> - rebase on tip/objtool/core with dependencies merged in (mingo)
> - add acks
>
> v1.1:
> - add __noreturn to all arch_cpu_idle_dead() implementations (mpe)
With this, rcutorture no longer gets objtool complaints on x86, thank you!
Tested-by: Paul E. McKenney <paulmck@kernel.org>
> Josh Poimboeuf (24):
> alpha/cpu: Expose arch_cpu_idle_dead()'s prototype declaration
> alpha/cpu: Make sure arch_cpu_idle_dead() doesn't return
> arm/cpu: Make sure arch_cpu_idle_dead() doesn't return
> 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
> objtool: Include weak functions in 'global_noreturns' check
> init: Make arch_call_rest_init() and rest_init() __noreturn
> sched/idle: Mark arch_cpu_idle_dead() __noreturn
>
> arch/alpha/kernel/process.c | 4 +++-
> arch/arm/kernel/smp.c | 4 +++-
> arch/arm64/include/asm/smp.h | 2 +-
> arch/arm64/kernel/process.c | 2 +-
> 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/include/asm/smp.h | 2 +-
> arch/mips/kernel/process.c | 2 +-
> arch/mips/kernel/smp-bmips.c | 3 +++
> arch/mips/loongson64/smp.c | 1 +
> arch/parisc/kernel/process.c | 2 +-
> arch/powerpc/include/asm/smp.h | 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/include/asm/smp.h | 3 ++-
> arch/x86/kernel/process.c | 4 ++--
> arch/xtensa/include/asm/smp.h | 2 +-
> arch/xtensa/kernel/smp.c | 4 +++-
> include/linux/cpu.h | 2 +-
> include/linux/start_kernel.h | 4 ++--
> init/main.c | 4 ++--
> kernel/sched/idle.c | 2 +-
> tools/objtool/check.c | 11 +++++++----
> 32 files changed, 57 insertions(+), 39 deletions(-)
>
> --
> 2.39.1
>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v2 00/24] cpu,sched: Mark arch_cpu_idle_dead() __noreturn
@ 2023-02-15 22:22 ` Paul E. McKenney
0 siblings, 0 replies; 18+ messages in thread
From: Paul E. McKenney @ 2023-02-15 22:22 UTC (permalink / raw)
To: Josh Poimboeuf
Cc: linux-kernel, jgross, richard.henderson, ink, mattst88,
linux-alpha, linux, linux-arm-kernel, catalin.marinas, will,
guoren, linux-csky, linux-ia64, chenhuacai, kernel, loongarch,
f.fainelli, bcm-kernel-feedback-list, tsbogend, linux-mips,
jiaxun.yang, mpe, npiggin, christophe.leroy, linuxppc-dev, ysato,
dalias, linux-sh, davem, sparclinux, tglx, mingo, bp,
dave.hansen, x86, hpa, chris, jcmvbkbc, linux-xtensa, peterz,
juri.lelli, vincent.guittot, dietmar.eggemann, rostedt, bsegall,
mgorman, bristot, vschneid
On Mon, Feb 13, 2023 at 11:05:34PM -0800, Josh Poimboeuf wrote:
> v2:
> - make arch_call_rest_init() and rest_init() __noreturn
> - make objtool 'global_returns' work for weak functions
> - rebase on tip/objtool/core with dependencies merged in (mingo)
> - add acks
>
> v1.1:
> - add __noreturn to all arch_cpu_idle_dead() implementations (mpe)
With this, rcutorture no longer gets objtool complaints on x86, thank you!
Tested-by: Paul E. McKenney <paulmck@kernel.org>
> Josh Poimboeuf (24):
> alpha/cpu: Expose arch_cpu_idle_dead()'s prototype declaration
> alpha/cpu: Make sure arch_cpu_idle_dead() doesn't return
> arm/cpu: Make sure arch_cpu_idle_dead() doesn't return
> 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
> objtool: Include weak functions in 'global_noreturns' check
> init: Make arch_call_rest_init() and rest_init() __noreturn
> sched/idle: Mark arch_cpu_idle_dead() __noreturn
>
> arch/alpha/kernel/process.c | 4 +++-
> arch/arm/kernel/smp.c | 4 +++-
> arch/arm64/include/asm/smp.h | 2 +-
> arch/arm64/kernel/process.c | 2 +-
> 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/include/asm/smp.h | 2 +-
> arch/mips/kernel/process.c | 2 +-
> arch/mips/kernel/smp-bmips.c | 3 +++
> arch/mips/loongson64/smp.c | 1 +
> arch/parisc/kernel/process.c | 2 +-
> arch/powerpc/include/asm/smp.h | 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/include/asm/smp.h | 3 ++-
> arch/x86/kernel/process.c | 4 ++--
> arch/xtensa/include/asm/smp.h | 2 +-
> arch/xtensa/kernel/smp.c | 4 +++-
> include/linux/cpu.h | 2 +-
> include/linux/start_kernel.h | 4 ++--
> init/main.c | 4 ++--
> kernel/sched/idle.c | 2 +-
> tools/objtool/check.c | 11 +++++++----
> 32 files changed, 57 insertions(+), 39 deletions(-)
>
> --
> 2.39.1
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v2 00/24] cpu,sched: Mark arch_cpu_idle_dead() __noreturn
@ 2023-02-15 22:22 ` Paul E. McKenney
0 siblings, 0 replies; 18+ messages in thread
From: Paul E. McKenney @ 2023-02-15 22:22 UTC (permalink / raw)
To: Josh Poimboeuf
Cc: juri.lelli, dalias, linux-ia64, linux-sh, peterz,
catalin.marinas, dave.hansen, x86, jiaxun.yang, linux-mips,
bsegall, jcmvbkbc, guoren, hpa, sparclinux, kernel, will,
vschneid, f.fainelli, vincent.guittot, ysato, chenhuacai, linux,
linux-csky, mingo, bcm-kernel-feedback-list, mgorman, mattst88,
linux-xtensa, richard.henderson, npiggin, ink, rostedt,
loongarch, tglx, dietmar.eggemann, linux-arm-kernel, jgross,
chris, tsbogend, bristot, linux-kernel, linux-alpha, bp,
linuxppc-dev, davem
On Mon, Feb 13, 2023 at 11:05:34PM -0800, Josh Poimboeuf wrote:
> v2:
> - make arch_call_rest_init() and rest_init() __noreturn
> - make objtool 'global_returns' work for weak functions
> - rebase on tip/objtool/core with dependencies merged in (mingo)
> - add acks
>
> v1.1:
> - add __noreturn to all arch_cpu_idle_dead() implementations (mpe)
With this, rcutorture no longer gets objtool complaints on x86, thank you!
Tested-by: Paul E. McKenney <paulmck@kernel.org>
> Josh Poimboeuf (24):
> alpha/cpu: Expose arch_cpu_idle_dead()'s prototype declaration
> alpha/cpu: Make sure arch_cpu_idle_dead() doesn't return
> arm/cpu: Make sure arch_cpu_idle_dead() doesn't return
> 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
> objtool: Include weak functions in 'global_noreturns' check
> init: Make arch_call_rest_init() and rest_init() __noreturn
> sched/idle: Mark arch_cpu_idle_dead() __noreturn
>
> arch/alpha/kernel/process.c | 4 +++-
> arch/arm/kernel/smp.c | 4 +++-
> arch/arm64/include/asm/smp.h | 2 +-
> arch/arm64/kernel/process.c | 2 +-
> 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/include/asm/smp.h | 2 +-
> arch/mips/kernel/process.c | 2 +-
> arch/mips/kernel/smp-bmips.c | 3 +++
> arch/mips/loongson64/smp.c | 1 +
> arch/parisc/kernel/process.c | 2 +-
> arch/powerpc/include/asm/smp.h | 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/include/asm/smp.h | 3 ++-
> arch/x86/kernel/process.c | 4 ++--
> arch/xtensa/include/asm/smp.h | 2 +-
> arch/xtensa/kernel/smp.c | 4 +++-
> include/linux/cpu.h | 2 +-
> include/linux/start_kernel.h | 4 ++--
> init/main.c | 4 ++--
> kernel/sched/idle.c | 2 +-
> tools/objtool/check.c | 11 +++++++----
> 32 files changed, 57 insertions(+), 39 deletions(-)
>
> --
> 2.39.1
>
^ permalink raw reply [flat|nested] 18+ messages in thread