summaryrefslogtreecommitdiffstats
path: root/drivers/vfio/vfio.h
Commit message (Collapse)AuthorAgeFilesLines
* vfio: clean up the check for mediated device in vfio_iommu_type1Christoph Hellwig2021-09-301-1/+26
| | | | | | | | | | | Pass the group flags to ->attach_group and remove the messy check for the bus type. 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-12-hch@lst.de Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
* vfio: move the vfio_iommu_driver_ops interface out of <linux/vfio.h>Christoph Hellwig2021-09-301-0/+47
Create a new private drivers/vfio/vfio.h header for the interface between the VFIO core and the iommu drivers. 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-10-hch@lst.de Signed-off-by: Alex Williamson <alex.williamson@redhat.com>