Skip to content

Commit 0f5209f

Browse files
smaeulMarc Zyngier
authored andcommitted
genirq: GENERIC_IRQ_IPI depends on SMP
The generic IPI code depends on the IRQ affinity mask being allocated and initialized. This will not be the case if SMP is disabled. Fix up the remaining driver that selected GENERIC_IRQ_IPI in a non-SMP config. Reported-by: kernel test robot <[email protected]> Signed-off-by: Samuel Holland <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 8190cc5 commit 0f5209f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

drivers/irqchip/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ config MADERA_IRQ
177177
config IRQ_MIPS_CPU
178178
bool
179179
select GENERIC_IRQ_CHIP
180-
select GENERIC_IRQ_IPI if SYS_SUPPORTS_MULTITHREADING
180+
select GENERIC_IRQ_IPI if SMP && SYS_SUPPORTS_MULTITHREADING
181181
select IRQ_DOMAIN
182182
select GENERIC_IRQ_EFFECTIVE_AFF_MASK
183183

kernel/irq/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ config IRQ_FASTEOI_HIERARCHY_HANDLERS
8282
# Generic IRQ IPI support
8383
config GENERIC_IRQ_IPI
8484
bool
85+
depends on SMP
8586
select IRQ_DOMAIN_HIERARCHY
8687

8788
# Generic MSI interrupt support

0 commit comments

Comments
 (0)