linux/drivers/vfio
Lu Baolu be068fa236 vfio/type1: Handle different mdev isolation type
This adds the support to determine the isolation type
of a mediated device group by checking whether it has
an iommu device. If an iommu device exists, an iommu
domain will be allocated and then attached to the iommu
device. Otherwise, keep the same behavior as it is.

Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Cc: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Sanjay Kumar <sanjay.k.kumar@intel.com>
Signed-off-by: Liu Yi L <yi.l.liu@intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Reviewed-by: Kirti Wankhede <kwankhede@nvidia.com>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2019-04-12 13:00:37 +02:00
..
mdev vfio/mdev: Add iommu related member in mdev_device 2019-04-12 13:00:37 +02:00
pci vfio/pci: use correct format characters 2019-04-03 12:36:20 -06:00
platform vfio: platform: reset: fix up include directives to remove ccflags-y 2019-02-05 13:29:30 -07:00
Kconfig drivers/vfio: Allow type-1 IOMMU instantiation with all ARM/ARM64 IOMMUs 2018-09-25 13:01:28 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vfio_iommu_spapr_tce.c vfio/spapr_tce: Make symbol 'tce_iommu_driver_ops' static 2019-04-03 12:42:02 -06:00
vfio_iommu_type1.c vfio/type1: Handle different mdev isolation type 2019-04-12 13:00:37 +02:00
vfio_spapr_eeh.c powerpc/eeh: Improve recovery of passed-through devices 2019-02-05 11:55:44 +11:00
vfio.c vfio: expand minor range when registering chrdev region 2019-02-12 13:20:56 -07:00
virqfd.c fs: add new vfs_poll and file_can_poll helpers 2018-05-26 09:16:44 +02:00