]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
genirq: Make handle_enforce_irqctx() unconditionally available
authorThomas Gleixner <tglx@linutronix.de>
Tue, 10 Dec 2024 10:20:43 +0000 (11:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Mar 2025 11:49:52 +0000 (12:49 +0100)
commit62f14b506f5b4d305a12bba30299b4eb531ef480
tree2222c85a1b3bd5fba002a6e879e0c28a77721b06
parent2396bc91935c6da0588ce07850d07897974bd350
genirq: Make handle_enforce_irqctx() unconditionally available

[ Upstream commit 8d187a77f04c14fb459a5301d69f733a5a1396bc ]

Commit 1b57d91b969c ("irqchip/gic-v2, v3: Prevent SW resends entirely")
sett the flag which enforces interrupt handling in interrupt context and
prevents software base resends for ARM GIC v2/v3.

But it missed that the helper function which checks the flag was hidden
behind CONFIG_GENERIC_PENDING_IRQ, which is not set by ARM[64].

Make the helper unconditionally available so that the enforcement actually
works.

Fixes: 1b57d91b969c ("irqchip/gic-v2, v3: Prevent SW resends entirely")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20241210101811.497716609@linutronix.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/irq/internals.h