]> git.baikalelectronics.ru Git - kernel.git/commit
vfio: Use device_iommu_capable()
authorRobin Murphy <robin.murphy@arm.com>
Fri, 24 Jun 2022 17:59:35 +0000 (18:59 +0100)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 27 Jun 2022 19:23:32 +0000 (13:23 -0600)
commit76750aecb41e23503f7b636f3f5f9ceefe013ed7
treebd037300f129fb602e146c959bb5d302e690503f
parentaa801047477ab9a8cf0919d857c278a19865fc32
vfio: Use device_iommu_capable()

Use the new interface to check the capabilities for our device
specifically.

Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/4ea5eb64246f1ee188d1a61c3e93b37756932eb7.1656092606.git.robin.murphy@arm.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio.c