]> git.baikalelectronics.ru Git - kernel.git/commit
vfio: Delete container_q
authorJason Gunthorpe <jgg@nvidia.com>
Fri, 29 Apr 2022 18:46:17 +0000 (15:46 -0300)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 13 May 2022 16:08:02 +0000 (10:08 -0600)
commit8a68cf564230f0df749e312ba33e26d0f5d6edf0
treea509ce5f0fa7b5033b1cbcebd12190bb562ae9b3
parent995292a4f5fde86d2acd136e0d5bdf5172f18cdf
vfio: Delete container_q

Now that the iommu core takes care of isolation there is no race between
driver attach and container unset. Once iommu_group_release_dma_owner()
returns the device can immediately be re-used.

Remove this mechanism.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/0-v1-a1e8791d795b+6b-vfio_container_q_jgg@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio.c