[PATCH v4 5/6] iommu/riscv: Add missing GENERIC_MSI_IRQ
Jason Gunthorpe
jgg at nvidia.com
Fri Feb 27 07:25:40 PST 2026
The commit below added MSI related calls to the driver that depends on
GENERIC_MSI_IRQ. It is possible to build RISC-V without this selected.
This is also necessary to make the driver COMPILE_TEST.
Fixes: d5f88acdd6ff ("iommu/riscv: Add support for platform msi")
Tested-by: Vincent Chen <vincent.chen at sifive.com>
Tested-by: Tomasz Jeznach <tjeznach at rivosinc.com>
Signed-off-by: Jason Gunthorpe <jgg at nvidia.com>
---
drivers/iommu/riscv/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iommu/riscv/Kconfig b/drivers/iommu/riscv/Kconfig
index a329ec634cf1c5..849e72321d8a82 100644
--- a/drivers/iommu/riscv/Kconfig
+++ b/drivers/iommu/riscv/Kconfig
@@ -4,6 +4,7 @@
config RISCV_IOMMU
bool "RISC-V IOMMU Support"
depends on RISCV && 64BIT
+ depends on GENERIC_MSI_IRQ
default y
select IOMMU_API
select GENERIC_PT
--
2.43.0
More information about the linux-riscv
mailing list