diff options
author | Anup Patel <apatel@ventanamicro.com> | 2024-03-07 17:03:02 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-03-25 19:38:28 +0300 |
commit | 5c5a71d0434093cd42d09afd4e2032c0b16a7da8 (patch) | |
tree | 678bce7ae43e51fafcbc6c24c1b21644b9003c63 /drivers/irqchip/Kconfig | |
parent | 027e125acdbad79e9a7274940e8bf92299b208af (diff) | |
download | linux-5c5a71d0434093cd42d09afd4e2032c0b16a7da8.tar.xz |
irqchip/riscv-imsic: Add device MSI domain support for PCI devices
The Linux PCI framework supports per-device MSI domains for PCI devices
so extend the IMSIC driver to allow PCI per-device MSI domains.
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-5-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 8610810b80da..8f6ce419ba4c 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -547,6 +547,13 @@ config RISCV_IMSIC select GENERIC_IRQ_MATRIX_ALLOCATOR select GENERIC_MSI_IRQ +config RISCV_IMSIC_PCI + bool + depends on RISCV_IMSIC + depends on PCI + depends on PCI_MSI + default RISCV_IMSIC + config SIFIVE_PLIC bool depends on RISCV |