diff options
| author | Yi Liu <[email protected]> | 2023-07-18 06:55:47 -0700 |
|---|---|---|
| committer | Alex Williamson <[email protected]> | 2023-07-25 10:20:32 -0600 |
| commit | 5fcc26969a164e6a3154bb68badd6712716eb954 (patch) | |
| tree | 16c2faf6f76c4d27a6b067e44fd21ffff8a12cce /drivers/usb/cdns3/cdns3-ep0.c | |
| parent | ca9e45b414709b9a7279d396ec3d338b057349a8 (diff) | |
vfio: Add VFIO_DEVICE_BIND_IOMMUFD
This adds ioctl for userspace to bind device cdev fd to iommufd.
VFIO_DEVICE_BIND_IOMMUFD: bind device to an iommufd, hence gain DMA
control provided by the iommufd. open_device
op is called after bind_iommufd op.
Tested-by: Nicolin Chen <[email protected]>
Tested-by: Matthew Rosato <[email protected]>
Tested-by: Yanting Jiang <[email protected]>
Tested-by: Shameer Kolothum <[email protected]>
Tested-by: Terrence Xu <[email protected]>
Tested-by: Zhenzhong Duan <[email protected]>
Signed-off-by: Yi Liu <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ep0.c')
0 files changed, 0 insertions, 0 deletions