Files
linux/arch/arm/include/asm
Dietmar Eggemann e3682a730b ARM: 8824/1: fix a migrating irq bug when hotplug cpu
[ Upstream commit 1b5ba35078 ]

Arm TC2 fails cpu hotplug stress test.

This issue was tracked down to a missing copy of the new affinity
cpumask for the vexpress-spc interrupt into struct
irq_common_data.affinity when the interrupt is migrated in
migrate_one_irq().

Fix it by replacing the arm specific hotplug cpu migration with the
generic irq code.

This is the counterpart implementation to commit 217d453d47 ("arm64:
fix a migrating irq bug when hotplug cpu").

Tested with cpu hotplug stress test on Arm TC2 (multi_v7_defconfig plus
CONFIG_ARM_BIG_LITTLE_CPUFREQ=y and CONFIG_ARM_VEXPRESS_SPC_CPUFREQ=y).
The vexpress-spc interrupt (irq=22) on this board is affine to CPU0.
Its affinity cpumask now changes correctly e.g. from 0 to 1-4 when
CPU0 is hotplugged out.

Suggested-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-15 12:05:25 +09:00
..
2016-06-21 10:54:29 -05:00
2023-05-15 11:34:00 +09:00
2016-10-06 08:45:40 +01:00
2014-12-04 12:41:50 +00:00
2015-05-05 13:35:39 -06:00
2015-05-28 15:31:53 +02:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2015-09-16 16:53:39 +02:00
2012-09-14 13:53:39 +00:00
2019-05-21 14:13:33 +08:00
2016-08-02 19:35:29 -04:00
2012-07-24 15:27:28 +08:00
2014-06-01 01:17:12 +01:00
2013-07-08 22:08:51 +01:00
2019-03-13 20:22:32 +08:00
2014-02-25 11:33:37 +00:00
2011-03-31 11:26:23 -03:00
2016-10-19 10:18:47 +01:00
2014-03-18 16:39:40 -04:00
2011-07-12 11:19:29 -05:00