* [PATCH] arch: crash: Remove duplicate declaration in smp.h
@ 2022-10-20 13:59 guoren
2022-10-20 14:32 ` Borislav Petkov
0 siblings, 1 reply; 3+ messages in thread
From: guoren @ 2022-10-20 13:59 UTC (permalink / raw)
To: arnd, tglx, mingo, bp, dave.hansen, guoren
Cc: heiko, linux-arch, linux-kernel, linux-riscv, x86,
linux-arm-kernel, Guo Ren, Catalin Marinas
From: Guo Ren <guoren@linux.alibaba.com>
Remove crash_smp_send_stop declarations in arm64, x86 asm/smp.h
which has been in include/linux/smp.h since 6f1f942cd5fb ("smp:
kernel/panic.c - silence warnings").
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
---
This patch is separated from the series [1] to let maintainer take
easily. It still needs a Acked-by from x86 side, hope it could be
soon done.
[1] https://lore.kernel.org/linux-riscv/20220921033134.3133319-1-guoren@kernel.org/
---
arch/arm64/include/asm/smp.h | 1 -
arch/x86/include/asm/crash.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/arch/arm64/include/asm/smp.h b/arch/arm64/include/asm/smp.h
index fc55f5a57a06..a108ac93fd8f 100644
--- a/arch/arm64/include/asm/smp.h
+++ b/arch/arm64/include/asm/smp.h
@@ -141,7 +141,6 @@ static inline void cpu_panic_kernel(void)
*/
bool cpus_are_stuck_in_kernel(void);
-extern void crash_smp_send_stop(void);
extern bool smp_crash_stop_failed(void);
extern void panic_smp_self_stop(void);
diff --git a/arch/x86/include/asm/crash.h b/arch/x86/include/asm/crash.h
index 8b6bd63530dc..6a9be4907c82 100644
--- a/arch/x86/include/asm/crash.h
+++ b/arch/x86/include/asm/crash.h
@@ -7,6 +7,5 @@ struct kimage;
int crash_load_segments(struct kimage *image);
int crash_setup_memmap_entries(struct kimage *image,
struct boot_params *params);
-void crash_smp_send_stop(void);
#endif /* _ASM_X86_CRASH_H */
--
2.36.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] arch: crash: Remove duplicate declaration in smp.h
2022-10-20 13:59 [PATCH] arch: crash: Remove duplicate declaration in smp.h guoren
@ 2022-10-20 14:32 ` Borislav Petkov
2022-10-24 10:07 ` Guo Ren
0 siblings, 1 reply; 3+ messages in thread
From: Borislav Petkov @ 2022-10-20 14:32 UTC (permalink / raw)
To: guoren
Cc: arnd, tglx, mingo, dave.hansen, heiko, linux-arch, linux-kernel,
linux-riscv, x86, linux-arm-kernel, Guo Ren, Catalin Marinas
On Thu, Oct 20, 2022 at 09:59:13AM -0400, guoren@kernel.org wrote:
> diff --git a/arch/x86/include/asm/crash.h b/arch/x86/include/asm/crash.h
> index 8b6bd63530dc..6a9be4907c82 100644
> --- a/arch/x86/include/asm/crash.h
> +++ b/arch/x86/include/asm/crash.h
> @@ -7,6 +7,5 @@ struct kimage;
> int crash_load_segments(struct kimage *image);
> int crash_setup_memmap_entries(struct kimage *image,
> struct boot_params *params);
> -void crash_smp_send_stop(void);
>
> #endif /* _ASM_X86_CRASH_H */
Acked-by: Borislav Petkov <bp@suse.de>
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] arch: crash: Remove duplicate declaration in smp.h
2022-10-20 14:32 ` Borislav Petkov
@ 2022-10-24 10:07 ` Guo Ren
0 siblings, 0 replies; 3+ messages in thread
From: Guo Ren @ 2022-10-24 10:07 UTC (permalink / raw)
To: arnd, Borislav Petkov
Cc: tglx, mingo, dave.hansen, heiko, linux-arch, linux-kernel,
linux-riscv, x86, linux-arm-kernel, Guo Ren, Catalin Marinas
On Thu, Oct 20, 2022 at 10:32 PM Borislav Petkov <bp@alien8.de> wrote:
>
> On Thu, Oct 20, 2022 at 09:59:13AM -0400, guoren@kernel.org wrote:
> > diff --git a/arch/x86/include/asm/crash.h b/arch/x86/include/asm/crash.h
> > index 8b6bd63530dc..6a9be4907c82 100644
> > --- a/arch/x86/include/asm/crash.h
> > +++ b/arch/x86/include/asm/crash.h
> > @@ -7,6 +7,5 @@ struct kimage;
> > int crash_load_segments(struct kimage *image);
> > int crash_setup_memmap_entries(struct kimage *image,
> > struct boot_params *params);
> > -void crash_smp_send_stop(void);
> >
> > #endif /* _ASM_X86_CRASH_H */
>
> Acked-by: Borislav Petkov <bp@suse.de>
Thx.
Hi, Arnd
Because it crosses the architecture, could you take this in your next-tree?
>
> --
> Regards/Gruss,
> Boris.
>
> https://people.kernel.org/tglx/notes-about-netiquette
--
Best Regards
Guo Ren
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-24 10:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-20 13:59 [PATCH] arch: crash: Remove duplicate declaration in smp.h guoren
2022-10-20 14:32 ` Borislav Petkov
2022-10-24 10:07 ` Guo Ren
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).