]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commitd8d3276bfc49e114103c54d5f93268c70dcf3600
tree4539722f7711d220627d4315c3d597d165ade5c8
parentca13300a88a37a90160d352cede05776ea723919
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