mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] arm64: use SOFTIRQ_ON_OWN_STACK for enabling softirq stack
@ 2025-11-05  7:42 Ryo Takakura
  2025-11-07 20:53 ` Catalin Marinas
  0 siblings, 1 reply; 2+ messages in thread
From: Ryo Takakura @ 2025-11-05  7:42 UTC (permalink / raw)
  To: will, ardb, bigeasy, catalin.marinas, clrkwllms, leitao,
	mark.rutland, rostedt
  Cc: linux-arm-kernel, linux-kernel, linux-rt-devel, ryotkkr98

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.

Signed-off-by: Ryo Takakura <ryotkkr98@gmail.com>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Will Deacon <will@kernel.org>
---

Changes since v1:
[1] https://lore.kernel.org/linux-rt-devel/20251013013508.74677-1-ryotkkr98@gmail.com/

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

---
 arch/arm64/kernel/irq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/kernel/irq.c b/arch/arm64/kernel/irq.c
index c0065a1d7..15dedb385 100644
--- a/arch/arm64/kernel/irq.c
+++ b/arch/arm64/kernel/irq.c
@@ -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();
-- 
2.34.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-11-07 20:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-05  7:42 [PATCH v2] arm64: use SOFTIRQ_ON_OWN_STACK for enabling softirq stack Ryo Takakura
2025-11-07 20:53 ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®