diff options
author | Anup Patel <apatel@ventanamicro.com> | 2024-03-07 19:33:00 +0530 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-03-25 17:38:28 +0100 |
commit | 21a8f8a0eb35ceb21e2c9ddd87468bc3b5ac87c0 (patch) | |
tree | 47892ae5a864d6d29b07809450d5270c320de59e /drivers/irqchip/Kconfig | |
parent | 0151a8db49b0a88f967dca0ea5ae2bee2d67b22a (diff) | |
download | lwn-21a8f8a0eb35ceb21e2c9ddd87468bc3b5ac87c0.tar.gz lwn-21a8f8a0eb35ceb21e2c9ddd87468bc3b5ac87c0.zip |
irqchip: Add RISC-V incoming MSI controller early driver
The RISC-V advanced interrupt architecture (AIA) specification
defines a new MSI controller called incoming message signalled
interrupt controller (IMSIC) which manages MSI on per-HART (or
per-CPU) basis. It also supports IPIs as software injected MSIs.
(For more details refer https://github.com/riscv/riscv-aia)
Add an early irqchip driver for RISC-V IMSIC which sets up the
IMSIC state and provide IPIs.
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Björn Töpel <bjorn@rivosinc.com>
Reviewed-by: Björn Töpel <bjorn@rivosinc.com>
Link: https://lore.kernel.org/r/20240307140307.646078-3-apatel@ventanamicro.com
Diffstat (limited to 'drivers/irqchip/Kconfig')
-rw-r--r-- | drivers/irqchip/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 72c07a12f5e1..8610810b80da 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -540,6 +540,13 @@ config RISCV_INTC depends on RISCV select IRQ_DOMAIN_HIERARCHY +config RISCV_IMSIC + bool + depends on RISCV + select IRQ_DOMAIN_HIERARCHY + select GENERIC_IRQ_MATRIX_ALLOCATOR + select GENERIC_MSI_IRQ + config SIFIVE_PLIC bool depends on RISCV |