Re: [PATCH v5 2/4] MIPS: Skip generic IPI setup for platform-specific callbacks

From: Florian Fainelli

Date: Fri Nov 13 2026 - 14:17:21 EST


On 11/13/26 10:42, Florian Fainelli wrote:
A generic MIPS kernel can select a platform SMP backend with direct IPI
callbacks instead of an IPI IRQ domain. The XBurst backend uses CP0
mailboxes, so generic IPI allocation would find no domain and BUG when
more than one CPU is present.

Skip generic IPI initialization when neither selected send callback uses
the generic implementation. Keep initialization when either callback
uses generic IRQ IPIs, and retain the existing single-CPU shortcut.

Sashiko AI reported the XBurst integration issue; Codex assisted with
the change and extracted-function/build checks.

Argh sorry I missed adding my Signed-off-by tag here..
--
Florian