1
0
Fork 0
alistair23-linux/arch/mips/sgi-ip27
Thomas Bogendoerfer 363e1fc285 MIPS: SGI-IP27: Fix crash, when CPUs are disabled via nr_cpus parameter
commit e3d765a941 upstream.

If number of CPUs are limited by the kernel commandline parameter nr_cpus
assignment of interrupts accourding to numa rules might not be possibe.
As a fallback use one of the online CPUs as interrupt destination.

Fixes: 69a07a41d9 ("MIPS: SGI-IP27: rework HUB interrupts")
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-17 19:48:55 +01:00
..
Kconfig MIPS: SGI-IP27: fix exception handler replication 2019-10-31 15:19:59 -07:00
Makefile MIPS: SGI-IP27: rework HUB interrupts 2019-02-19 12:46:03 -08:00
Platform MIPS: IP27: Migrate to new Platform file 2010-08-05 13:25:47 +01:00
TODO Fix common misspellings 2011-03-31 11:26:23 -03:00
ip27-berr.c signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
ip27-console.c MIPS: SGI-IP27: restructure ioc3 register access 2019-08-30 13:54:35 -07:00
ip27-hubio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 209 2019-05-30 11:29:53 -07:00
ip27-init.c MIPS: SGI-IP27: fix exception handler replication 2019-10-31 15:19:59 -07:00
ip27-irq.c MIPS: SGI-IP27: Fix crash, when CPUs are disabled via nr_cpus parameter 2020-01-17 19:48:55 +01:00
ip27-klconfig.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ip27-klnuma.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ip27-memory.c MIPS: SGI-IP27: fix exception handler replication 2019-10-31 15:19:59 -07:00
ip27-nmi.c MIPS: SGI-IP27: use pr_info/pr_emerg and pr_cont to fix output 2019-02-19 12:46:02 -08:00
ip27-reset.c MIPS: IP27: Use __noreturn instead of open coded attributes in declarations. 2015-01-13 16:04:28 +01:00
ip27-smp.c MIPS: SGI-IP27: do boot CPU init later 2019-02-19 12:46:03 -08:00
ip27-timer.c MIPS: SGI-IP27: rework HUB interrupts 2019-02-19 12:46:03 -08:00
ip27-xtalk.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 209 2019-05-30 11:29:53 -07:00