Re: [PATCH v6 3/7] iommufd: Allow binding to a noiommu device

From: Baolu Lu

Date: Fri May 22 2026 - 02:02:47 EST


On 5/22/26 06:11, Jacob Pan wrote:
From: Jason Gunthorpe<jgg@xxxxxxxxxx>

Allow iommufd to bind devices without an IOMMU (noiommu mode) by creating
a dummy IOMMU group for such devices and skipping hwpt operations.

This enables noiommu devices to operate through the same iommufd API as IOMMU-
capable devices.

Reviewed-by: Yi Liu<yi.l.liu@xxxxxxxxx>
Signed-off-by: Jason Gunthorpe<jgg@xxxxxxxxxx>
Signed-off-by: Jacob Pan<jacob.pan@xxxxxxxxxxxxxxxxxxx>

Reviewed-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>