OSDN Git Service

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)
commitdc15f82f5329ab5daefa692bb80fb085a09ebd86
treea509ce5f0fa7b5033b1cbcebd12190bb562ae9b3
parentc5e8c39282def775b707ccb5dfe644bd081aa7a8
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