Re: [PATCH v4 3/6] iommu/sva: Stop using ioasid_set for SVA

From: Jason Gunthorpe
Date: Mon Mar 20 2023 - 10:11:20 EST


On Sat, Mar 11, 2023 at 09:18:30AM -0800, Fenghua Yu wrote:

> Ok. I will maintain mm and find mm from PASID inside IDXD driver. And will
> implement accessing the remote mm inside IDXD driver although the
> implementation will have duplicate code as access_remote_vm().

If you really need it and it really makes sense, then export it

Jason