[PATCH 0/2] iommu/riscv: Enable IOMMU_DMA
Andrew Jones
andrew.jones at oss.qualcomm.com
Fri May 8 14:23:37 PDT 2026
Arguably long overdue, let's start using paging domains. One blocker
to enabling IOMMU_DMA was that platforms with IMSICs would fault on
MSIs - Patch1 handles that. And, since QEMU is still one of the most-
used riscv platforms, another issue is that commit 69541898b71a
("iommu/riscv: Enable SVNAPOT support for contiguous ptes") exposes
a bug in the QEMU RISC-V IOMMU model. A patch for that is now on the
QEMU list[1].
Rest assured that the irqbypass work will get a v3 posted soon. This
series can be independently merged though since we don't need irqbypass
to enable paging domains and deliver MSIs for host devices.
[1] https://lore.kernel.org/all/20260508205129.377032-1-andrew.jones@oss.qualcomm.com/
Andrew Jones (1):
iommu/riscv: Map IMSIC addresses for paging domains
Tomasz Jeznach (1):
iommu/dma: enable IOMMU_DMA for RISC-V
drivers/iommu/Kconfig | 2 +-
drivers/iommu/riscv/iommu.c | 34 +++++++++++++++++++++++++++++
include/linux/irqchip/riscv-imsic.h | 7 ++++++
3 files changed, 42 insertions(+), 1 deletion(-)
--
2.43.0
More information about the linux-riscv
mailing list