diff options
author | Yi Liu <yi.l.liu@intel.com> | 2023-03-27 12:33:48 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2023-03-31 19:43:31 +0300 |
commit | 4508a533fce4db0004c1e8dd047c1e77046fc9c5 (patch) | |
tree | 9d4571d9f8afd90e83966275e4994c2489de4a2b /drivers/iommu | |
parent | 54b47585db6658a5eb898d4d45be18d1e581c1bf (diff) | |
download | linux-4508a533fce4db0004c1e8dd047c1e77046fc9c5.tar.xz |
vfio-iommufd: No need to record iommufd_ctx in vfio_device
iommufd_ctx is stored in vfio_device for emulated devices per bind_iommufd.
However, as iommufd_access is created in bind, no more need to stored it
since iommufd_access implicitly stores it.
Link: https://lore.kernel.org/r/20230327093351.44505-4-yi.l.liu@intel.com
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Tested-by: Terrence Xu <terrence.xu@intel.com>
Tested-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/iommu')
0 files changed, 0 insertions, 0 deletions