]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: SMP-CPS: Add support for irq migration when CPU offline
authorWei Li <liwei391@huawei.com>
Thu, 3 Dec 2020 06:54:43 +0000 (14:54 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 4 Dec 2020 12:01:47 +0000 (13:01 +0100)
commitc4278384cb754c811135e79d329cf8d1d240a583
tree4539722f7711d220627d4315c3d597d165ade5c8
parent8079597f68599fa39c7e7d19d0b57a7047e3e3c9
MIPS: SMP-CPS: Add support for irq migration when CPU offline

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@huawei.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/Kconfig
arch/mips/kernel/smp-cps.c