Skip to contentSkip to conversation

arm64: use SOFTIRQ_ON_OWN_STACK for enabling softirq stack

PATCH Applied Ryo Takakura 2 participants 2 messages Nov 5, 2025 – Nov 7, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm64: use SOFTIRQ_ON_OWN_STACK for enabling softirq stack

For those architectures with HAVE_SOFTIRQ_ON_OWN_STACK use their dedicated softirq stack when !PREEMPT_RT. This condition is ensured by SOFTIRQ_ON_OWN_STACK.

Let arm64 use SOFTIRQ_ON_OWN_STACK as well to select its usage of the stack.

---

Changes since v1:
[1] https://lore.kernel.org/linux-rt-devel/[email protected]/

- Add <Reviewed-by> by Sebastian.
- Add <Acked-by> by Will.

---
 arch/arm64/kernel/irq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/kernel/irq.c +1 -1
index c0065a1d7..15dedb385 100644
@@ -62,7 +62,7 @@ static void __init init_irq_stacks(void)
 	}
 }
 
-#ifndef CONFIG_PREEMPT_RT
+#ifdef CONFIG_SOFTIRQ_ON_OWN_STACK
 static void ____do_softirq(struct pt_regs *regs)
 {
 	__do_softirq();
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw
Quoted 8 lines · Ryo Takakura

For those architectures with HAVE_SOFTIRQ_ON_OWN_STACK use their dedicated softirq stack when !PREEMPT_RT. This condition is ensured by SOFTIRQ_ON_OWN_STACK.

Let arm64 use SOFTIRQ_ON_OWN_STACK as well to select its usage of the stack.

[...]

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: use SOFTIRQ_ON_OWN_STACK for enabling softirq stack

      https://git.kernel.org/arm64/c/d3b570eba7bf
Signature · 1 line
Catalin