diff options
author | Yi Liu <yi.l.liu@intel.com> | 2023-03-27 02:33:50 -0700 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2023-03-31 13:43:32 -0300 |
commit | 0a782d15e1d406e8074954405b1dc143a7645344 (patch) | |
tree | 29523857f6f4a91c485701c4bb225fdab21c7fc9 /drivers/counter/counter-sysfs.h | |
parent | 632fda7f912c845f98ff20e69c600160a189d803 (diff) |
vfio/mdev: Uses the vfio emulated iommufd ops set in the mdev sample drivers
This harmonizes the no-DMA devices (the vfio-mdev sample drivers) with
the emulated devices (gvt-g, vfio-ap etc.). It makes it easier to add
BIND_IOMMUFD user interface which requires to return an iommufd ID to
represent the device/iommufd bond.
Link: https://lore.kernel.org/r/20230327093351.44505-6-yi.l.liu@intel.com
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Tested-by: Terrence Xu <terrence.xu@intel.com>
Tested-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/counter/counter-sysfs.h')
0 files changed, 0 insertions, 0 deletions