Re: [PATCH] MIPS: SMP-CPS: Add support for irq migration when CPU offline

From: Thomas Bogendoerfer
Date: Fri Dec 04 2020 - 07:11:17 EST


On Thu, Dec 03, 2020 at 02:54:43PM +0800, Wei Li wrote:
> Currently we won't migrate irqs when offline CPUs, which has been
> implemented on most architectures. That will lead to some devices work
> incorrectly if the bound cores are offline.
>
> While that can be easily supported by enabling GENERIC_IRQ_MIGRATION.
> But i don't pretty known the reason it was not supported on all MIPS
> platforms.
>
> This patch add the support for irq migration on MIPS CPS platform, and
> it's tested on the interAptiv processor.
>
> Signed-off-by: Wei Li <liwei391@xxxxxxxxxx>
> ---
> arch/mips/Kconfig | 1 +
> arch/mips/kernel/smp-cps.c | 2 ++
> 2 files changed, 3 insertions(+)

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]