diff options
author | Jason Gunthorpe <[email protected]> | 2022-11-29 16:31:52 -0400 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2022-12-02 11:52:03 -0400 |
commit | 4741f2e941298ad7553b65e66624435e14793391 (patch) | |
tree | 40c2f75ea6ee652e82fc6cc95399b59a06e304f5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a4d1f91db5021c57e14721ac090616c90386ac70 (diff) |
vfio-iommufd: Support iommufd for emulated VFIO devices
Emulated VFIO devices are calling vfio_register_emulated_iommu_dev() and
consist of all the mdev drivers.
Like the physical drivers, support for iommufd is provided by the driver
supplying the correct standard ops. Provide ops from the core that
duplicate what vfio_register_emulated_iommu_dev() does.
Emulated drivers are where it is more likely to see variation in the
iommfd support ops. For instance IDXD will probably need to setup both a
iommfd_device context linked to a PASID and an iommufd_access context to
support all their mdev operations.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Kevin Tian <[email protected]>
Reviewed-by: Alex Williamson <[email protected]>
Tested-by: Alex Williamson <[email protected]>
Tested-by: Nicolin Chen <[email protected]>
Tested-by: Yi Liu <[email protected]>
Tested-by: Lixiao Yang <[email protected]>
Tested-by: Matthew Rosato <[email protected]>
Tested-by: Yu He <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions