riscv: Enable GENERIC_IRQ_SHOW_LEVEL
authorKefeng Wang <wangkefeng.wang@huawei.com>
Thu, 8 Jul 2021 01:59:49 +0000 (09:59 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Wed, 4 Aug 2021 15:49:58 +0000 (08:49 -0700)
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>
arch/riscv/Kconfig

index 95cb9ef..387cf68 100644 (file)
@@ -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