vfio: remove the iommudata hack for noiommu groups
authorChristoph Hellwig <hch@lst.de>
Fri, 24 Sep 2021 15:56:56 +0000 (17:56 +0200)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 30 Sep 2021 18:46:44 +0000 (12:46 -0600)
commitc04ac34078a4d7c08e1218b548e0a6b197f01582
treeb9cd49540bbb363e9aaef544fe096bf91b40e433
parent3af917713230c8a6c3431e60601f0c7ad72eceb6
vfio: remove the iommudata hack for noiommu groups

Just pass a noiommu argument to vfio_create_group and set up the
->noiommu flag directly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20210924155705.4258-7-hch@lst.de
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio.c