* [PATCH] arm64: use SOFTIRQ_ON_OWN_STACK for enabling softirq stack
@ 2025-10-13 1:35 Ryo Takakura
2025-10-13 6:27 ` Sebastian Andrzej Siewior
2025-11-04 13:58 ` Will Deacon
0 siblings, 2 replies; 4+ messages in thread
From: Ryo Takakura @ 2025-10-13 1:35 UTC (permalink / raw)
To: catalin.marinas, will, bigeasy, clrkwllms, rostedt, leitao,
mark.rutland, ardb
Cc: linux-arm-kernel, linux-kernel, linux-rt-devel, 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.
Signed-off-by: Ryo Takakura <ryotkkr98@gmail.com>
---
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 c0065a1d77cf..15dedb385b9e 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 related [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: use SOFTIRQ_ON_OWN_STACK for enabling softirq stack
2025-10-13 1:35 [PATCH] arm64: use SOFTIRQ_ON_OWN_STACK for enabling softirq stack Ryo Takakura
@ 2025-10-13 6:27 ` Sebastian Andrzej Siewior
2025-11-04 13:58 ` Will Deacon
1 sibling, 0 replies; 4+ messages in thread
From: Sebastian Andrzej Siewior @ 2025-10-13 6:27 UTC (permalink / raw)
To: Ryo Takakura
Cc: catalin.marinas, will, clrkwllms, rostedt, leitao, mark.rutland,
ardb, linux-arm-kernel, linux-kernel, linux-rt-devel
On 2025-10-13 01:35:08 [+0000], Ryo Takakura wrote:
> 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>
Sebastian
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: use SOFTIRQ_ON_OWN_STACK for enabling softirq stack
2025-10-13 1:35 [PATCH] arm64: use SOFTIRQ_ON_OWN_STACK for enabling softirq stack Ryo Takakura
2025-10-13 6:27 ` Sebastian Andrzej Siewior
@ 2025-11-04 13:58 ` Will Deacon
2025-11-05 7:33 ` Ryo Takakura
1 sibling, 1 reply; 4+ messages in thread
From: Will Deacon @ 2025-11-04 13:58 UTC (permalink / raw)
To: Ryo Takakura
Cc: catalin.marinas, bigeasy, clrkwllms, rostedt, leitao,
mark.rutland, ardb, linux-arm-kernel, linux-kernel,
linux-rt-devel
On Mon, Oct 13, 2025 at 01:35:08AM +0000, Ryo Takakura wrote:
> 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>
> ---
> 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 c0065a1d77cf..15dedb385b9e 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();
Acked-by: Will Deacon <will@kernel.org>
Will
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: use SOFTIRQ_ON_OWN_STACK for enabling softirq stack
2025-11-04 13:58 ` Will Deacon
@ 2025-11-05 7:33 ` Ryo Takakura
0 siblings, 0 replies; 4+ messages in thread
From: Ryo Takakura @ 2025-11-05 7:33 UTC (permalink / raw)
To: will, bigeasy
Cc: ardb, catalin.marinas, clrkwllms, leitao, linux-arm-kernel,
linux-kernel, linux-rt-devel, mark.rutland, rostedt, ryotkkr98
Hi!
On Tue, 4 Nov 2025 13:58:13 +0000, Will Deacon wrote:
>On Mon, Oct 13, 2025 at 01:35:08AM +0000, Ryo Takakura wrote:
>> 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>
>> ---
>> 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 c0065a1d77cf..15dedb385b9e 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();
>
>Acked-by: Will Deacon <will@kernel.org>
Thanks Sebastian and Will for checking!
I'll shortly send v2 with the tags.
Sincerely,
Ryo Takakura
>Will
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-11-05 7:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-13 1:35 [PATCH] arm64: use SOFTIRQ_ON_OWN_STACK for enabling softirq stack Ryo Takakura
2025-10-13 6:27 ` Sebastian Andrzej Siewior
2025-11-04 13:58 ` Will Deacon
2025-11-05 7:33 ` Ryo Takakura
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).