powerpc-xive-add-error-return-value-to-xive_smp_probe.patch removed from -mm tree
The quilt patch titled
Subject: powerpc/xive: add error return value to xive_smp_probe()
has been removed from the -mm tree. Its filename was
powerpc-xive-add-error-return-value-to-xive_smp_probe.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Gou Hao <[email protected]>
Subject: powerpc/xive: add error return value to xive_smp_probe()
Date: Fri, 24 Jul 2026 10:28:47 +0800
xive_smp_probe() calls xive_init_ipis() which can fail, but its return value is currently ignored. Change xive_smp_probe() to return int so that errors can be propagated to callers.
This is a preparatory patch for the next one.
No functional change yet; the return value is always 0 at this point.
---
arch/powerpc/include/asm/xive.h | 4 ++-- arch/powerpc/sysdev/xive/common.c | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-)
arch/powerpc/include/asm/xive.h renamed from arch/powerpc/include/asm/xive.h~powerpc-xive-add-error-return-value-to-xive_smp_probe +2 -2
@@ -91,7 +91,7 @@ static inline bool xive_enabled(void) {bool xive_spapr_init (void );bool xive_native_init (void ); -void xive_smp_probe (void ); +int xive_smp_probe (void );int xive_smp_prepare_cpu (unsigned int cpu);void xive_smp_setup_cpu (void );void xive_smp_disable_cpu (void );
@@ -153,7 +153,7 @@ static inline bool xive_enabled(void) {static inline bool xive_spapr_init (void ) {return false; }static inline bool xive_native_init (void ) {return false; } -static inline void xive_smp_probe (void ) { } +static inline int xive_smp_probe (void ) {return -EINVAL ; }static inline int xive_smp_prepare_cpu (unsigned int cpu) {return -EINVAL ; }static inline void xive_smp_setup_cpu (void ) { }static inline void xive_smp_disable_cpu (void ) { }
arch/powerpc/sysdev/xive/common.c renamed from arch/powerpc/sysdev/xive/common.c~powerpc-xive-add-error-return-value-to-xive_smp_probe +3 -1
@@ -1257,7 +1257,7 @@ noinstr static void xive_cleanup_cpu_ipi xive_ops->put_ipi (cpu, xc); } -void __init xive_smp_probe (void ) +int __init xive_smp_probe (void ) { smp_ops->cause_ipi = xive_cause_ipi;
@@ -1266,6 +1266,8 @@ void __init xive_smp_probe(void)/* Allocate and setup IPI for the boot CPU */ xive_setup_cpu_ipi (smp_processor_id ()); + + return 0; }#endif /* CONFIG_SMP */
_
Patches currently in -mm which might be from [email protected] are