[tip: irq/cleanups] ARM: versatile: Remove IRQF_ONESHOT

From: tip-bot2 for Sebastian Andrzej Siewior

Date: Sun Feb 01 2026 - 12:19:09 EST


The following commit has been merged into the irq/cleanups branch of tip:

Commit-ID: a82bf786500a011c0ecc63ce1511b7fc471137cd
Gitweb: https://git.kernel.org/tip/a82bf786500a011c0ecc63ce1511b7fc471137cd
Author: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
AuthorDate: Wed, 28 Jan 2026 10:55:28 +01:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxx>
CommitterDate: Sun, 01 Feb 2026 17:37:15 +01:00

ARM: versatile: Remove IRQF_ONESHOT

Passing IRQF_ONESHOT ensures that the interrupt source is masked until
the secondary (threaded) handler is done. If only a primary handler is
used then the flag makes no sense because the interrupt can not fire
(again) while its handler is running.

Revert adding IRQF_ONESHOT to irqflags.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>
Acked-by: Sudeep Holla <sudeep.holla@xxxxxxx>
Acked-by: Linus Walleij <linusw@xxxxxxxxxx>
Link: https://patch.msgid.link/20260128095540.863589-9-bigeasy@xxxxxxxxxxxxx
---
arch/arm/mach-versatile/spc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-versatile/spc.c b/arch/arm/mach-versatile/spc.c
index 812db32..2d27777 100644
--- a/arch/arm/mach-versatile/spc.c
+++ b/arch/arm/mach-versatile/spc.c
@@ -459,8 +459,8 @@ int __init ve_spc_init(void __iomem *baseaddr, u32 a15_clusid, int irq)

readl_relaxed(info->baseaddr + PWC_STATUS);

- ret = request_irq(irq, ve_spc_irq_handler, IRQF_TRIGGER_HIGH
- | IRQF_ONESHOT, "vexpress-spc", info);
+ ret = request_irq(irq, ve_spc_irq_handler, IRQF_TRIGGER_HIGH,
+ "vexpress-spc", info);
if (ret) {
pr_err(SPCLOG "IRQ %d request failed\n", irq);
kfree(info);