arm64: use SOFTIRQ_ON_OWN_STACK for enabling softirq stack
Subsystems (2)
PATCH 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.
--- arch/arm64/kernel/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/kernel/irq.c +1 -1
@@ -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
Quoted 8 lines · Ryo Takakura
For those architectures with
HAVE_SOFTIRQ_ON_OWN_STACKuse their dedicated softirq stack when !PREEMPT_RT. This condition is ensured bySOFTIRQ_ON_OWN_STACK.Let arm64 use
SOFTIRQ_ON_OWN_STACKas well to select its usage of the stack.Signed-off-by Ryo Takakura <[email protected]>
Sebastian
Quoted 17 lines · Ryo Takakura
For those architectures with
HAVE_SOFTIRQ_ON_OWN_STACKuse their dedicated softirq stack when !PREEMPT_RT. This condition is ensured bySOFTIRQ_ON_OWN_STACK.Let arm64 use
SOFTIRQ_ON_OWN_STACKas well to select its usage of the stack.Signed-off-by Ryo Takakura <[email protected]>--- arch/arm64/kernel/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm64/kernel/irq.c +0
-0
arch/arm64/kernel/irq.c static void __init init_irq_stacks(void) · line 68
Quoted 8 lines
arch/arm64/kernel/irq.c +1
-1@@ -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 ();
Will
Hi!
Quoted 21 lines · Will Deacon
Quoted 20 lines · Ryo Takakura
For those architectures with
HAVE_SOFTIRQ_ON_OWN_STACKuse their dedicated softirq stack when !PREEMPT_RT. This condition is ensured bySOFTIRQ_ON_OWN_STACK.Let arm64 use
SOFTIRQ_ON_OWN_STACKas well to select its usage of the stack.Signed-off-by Ryo Takakura <[email protected]>--- arch/arm64/kernel/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm64/kernel/irq.c +0
-0@@ -62,7 +62,7 @@ static void __init init_irq_stacks(void) } }
Quoted 7 lines
arch/arm64/kernel/irq.c static void __init init_irq_stacks(void) · line 68
Quoted 5 lines
arch/arm64/kernel/irq.c +1
-1-#ifndef CONFIG_PREEMPT_RT +#ifdef CONFIG_SOFTIRQ_ON_OWN_STACK static void ____do_softirq (struct pt_regs *regs) {__do_softirq ();Acked-by Will Deacon <[email protected]>
Thanks Sebastian and Will for checking!
I'll shortly send v2 with the tags.
Sincerely,
Ryo Takakura
Quoted 1 line
Will