Re: [PATCH RFC 01/19] iommu: Add iommu_domain ops for dirty tracking

Jason Gunthorpe
2022-04-29T14:35:15Z

On Fri, Apr 29, 2022 at 03:26:41PM +0100, Joao Martins wrote:

> I had this in the iommufd_dirty_iter logic given that the iommu iteration
> logic is in the parent structure that stores iommu_dirty_data.
>
> My thinking with this patch was just to have what the IOMMU driver needs.

I would put the whole mechanism in one patch, even though most of the
code will live in iommufd, then it would be clear how it works

Jason