[PATCH 0/2] MIPS: CONFIG_SMP_SINGLE_IPI

From: Matt Redfearn
Date: Tue Feb 20 2018 - 05:33:20 EST


This series adds a configuration option to allow MIPS kernels using
CONFIG_GENERIC_IRQ_IPI to use only a single IPI per CPU rather than the
usual 2. This allows these kernels to boot on hardware with insufficient
interrupts for the usual 2 / CPU.

It may also prove more flexible in allowing greater numbers of IPI
functions to be delivered without using up additional per CPU
interrupts. For example this mechanism may be extended to address the
potential for deadlock in arch_trigger_cpumask_backtrace recently
pointed out by Huacai Chen.


Matt Redfearn (2):
MIPS: SMP: Group CONFIG_GENERIC_IRQ_IPI together
MIPS: SMP: Introduce CONFIG_SMP_SINGLE_IPI

arch/mips/Kconfig | 11 +++++
arch/mips/kernel/smp.c | 106 +++++++++++++++++++++++++++++++++++++++++++++----
2 files changed, 110 insertions(+), 7 deletions(-)

--
2.7.4