• Paul Burton's avatar
    MIPS: Stengthen IPI IRQ domain sanity check · e6488982
    Paul Burton authored
    Commit fbde2d7d ("MIPS: Add generic SMP IPI support") introduced a
    sanity check that an IPI IRQ domain can be found during boot, in order
    to ensure that IPIs are able to be set up in systems using such domains.
    However it was added at a point where systems may have used an IPI IRQ
    domain in some situations but not others, and we could not know which
    were the case until runtime, so commit 578bffc8 ("MIPS: Don't BUG_ON
    when no IPI domain is found") made that check simply skip IPI init if no
    domain were found in order to fix the boot for systems such as QEMU
    Malta.
    
    We now use IPI IRQ domains for the MIPS CPU interrupt controller, which
    means systems which make use of IPI IRQ domains will always do so when
    running on multiple CPUs. As a result we now strengthen the sanity check
    to ensure that an IPI IRQ domain is found when multiple CPUs are present
    in the system.
    Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Cooper <jason@lakedaemon.net>
    Cc: Marc Zyngier <marc.zyngier@arm.com>
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/15838/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    e6488982
smp.c 15.8 KB