Re: [PATCH v6 12/16] iommu/dma: Enable IOMMU_DMA for 64-bit RISC-V

From: Nutty.Liu

Date: Sun Sep 27 2026 - 23:18:11 EST



On 9/25/2026 11:16 PM, Andrew Jones wrote:
From: Tomasz Jeznach <tomasz.jeznach@xxxxxxxxx>

Enable IOMMU_DMA for 64-bit RISC-V now that the RISC-V
IOMMU driver supports MSI remapping.

Signed-off-by: Tomasz Jeznach <tjeznach@xxxxxxxxxxxx>
Signed-off-by: Andrew Jones <andrew.jones@xxxxxxxxxxxxxxxx>
Tested-by: Fangyu Yu <fangyu.yu@xxxxxxxxxxxxxxxxx>
Reviewed-by: Nutty Liu <nutty.liu@xxxxxxxxxxx>

Thanks,
Nutty
---
drivers/iommu/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index 27954f462582..2d38d5b5accd 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -151,7 +151,7 @@ config OF_IOMMU
# IOMMU-agnostic DMA-mapping layer
config IOMMU_DMA
- def_bool ARM64 || X86 || S390
+ def_bool ARM64 || X86 || S390 || (RISCV && 64BIT)
select DMA_OPS_HELPERS
select IOMMU_API
select IOMMU_IOVA