riscv: stack: Support HAVE_SOFTIRQ_ON_OWN_STACK
authorGuo Ren <guoren@linux.alibaba.com>
Wed, 14 Jun 2023 01:30:17 +0000 (21:30 -0400)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 22 Jun 2023 17:38:36 +0000 (10:38 -0700)
commitdd69d07a5a6c5a9ada85321ab0695e7978fc6f3e
treee91b621c1ba73dbc2e91136626245f199eef936e
parent163e76cc6ef43b7a5e9b6e245a6d6667c9d9b4a7
riscv: stack: Support HAVE_SOFTIRQ_ON_OWN_STACK

Add the HAVE_SOFTIRQ_ON_OWN_STACK feature for the IRQ_STACKS config, and
the irq and softirq use the same irq_stack of percpu.

Tested-by: Jisheng Zhang <jszhang@kernel.org>
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
Link: https://lore.kernel.org/r/20230614013018.2168426-3-guoren@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Kconfig
arch/riscv/kernel/irq.c