Re: [RFC v1 8/8] iommu: expose the function iommu_device_use_default_domain
From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2023-11-03 17:38:03
Also in:
lkml
From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2023-11-03 17:38:03
Also in:
lkml
On Sat, Nov 04, 2023 at 01:16:41AM +0800, Cindy Lu wrote:
Expose the function iommu_device_use_default_domain() and iommu_device_unuse_default_domain(), While vdpa bind the iommufd device and detach the iommu device, vdpa need to call the function iommu_device_unuse_default_domain() to release the owner
Definately not. You need to set the driver_managed_dma flag. Jason