Re: [Intel-gfx] [PATCH v5 01/10] vfio-iommufd: Create iommufd_access for noiommu devices

Liu, Yi L
2023-05-18T12:23:43Z

> From: Jason Gunthorpe <jgg@nvidia.com>
> Sent: Thursday, May 18, 2023 2:21 AM
>
> On Wed, May 17, 2023 at 11:26:09AM -0600, Alex Williamson wrote:
>
> > It's not clear to me why we need a separate iommufd_access for
> > noiommu.
>
> The point was to allocate an ID for the device so we can use that ID
> with the other interfaces in all cases.

I guess Alex's question is why adding a new pointer named noiommu_access
while there is already the iommufd_access pointer named iommufd_access.

Maybe we shall reuse the iommufd_access pointer?

Regards,
Yi Liu