]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
iommu/riscv: Add missing GENERIC_MSI_IRQ
authorJason Gunthorpe <jgg@nvidia.com>
Fri, 27 Feb 2026 15:25:40 +0000 (11:25 -0400)
committerJoerg Roedel <joerg.roedel@amd.com>
Tue, 17 Mar 2026 12:14:24 +0000 (13:14 +0100)
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@sifive.com>
Tested-by: Tomasz Jeznach <tjeznach@rivosinc.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/riscv/Kconfig

index a329ec634cf1c55e1547bdaed8870ced76af6d53..849e72321d8a826a29829c1ce4436b81e1c95117 100644 (file)
@@ -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