summaryrefslogtreecommitdiffstats
path: root/arch/riscv
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2021-07-08 09:59:49 +0800
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-08-04 08:49:58 -0700
commitecd4916c7261edccb2382c9931535e238875a44d (patch)
tree4f02b4c09c0b6bd75dcf5b8dfc0bb3fb72815ebc /arch/riscv
parentbcf11b5e99b27472ea61231a64e29ad7dd31f0da (diff)
downloadlinux-ecd4916c7261edccb2382c9931535e238875a44d.tar.gz
linux-ecd4916c7261edccb2382c9931535e238875a44d.tar.xz
riscv: Enable GENERIC_IRQ_SHOW_LEVEL
The interrupt controllers on riscv support both edge and level triggered interrupts, it's useful to provide that information in /proc/interrupts. Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index 95cb9efa9213..387cf68a5d52 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -52,6 +52,7 @@ config RISCV
select GENERIC_IOREMAP
select GENERIC_IRQ_MULTI_HANDLER
select GENERIC_IRQ_SHOW
+ select GENERIC_IRQ_SHOW_LEVEL
select GENERIC_LIB_DEVMEM_IS_ALLOWED
select GENERIC_PCI_IOMAP
select GENERIC_PTDUMP if MMU