diff options
author | Kirti Wankhede <kwankhede@nvidia.com> | 2016-11-16 23:46:17 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2016-11-17 18:24:58 +0300 |
commit | 2169037dc322d8baa84d9bd4468995f818f25d82 (patch) | |
tree | 46ce3027bbd5d283f3e4c8c18fabc6e2f1580e4c /drivers/pci/hotplug-pci.c | |
parent | 32f55d835b23830bf9295d038a1693ce9fd41b56 (diff) | |
download | linux-2169037dc322d8baa84d9bd4468995f818f25d82.tar.xz |
vfio iommu: Added pin and unpin callback functions to vfio_iommu_driver_ops
Added APIs for pining and unpining set of pages. These call back into
backend iommu module to actually pin and unpin pages.
Added two new callback functions to struct vfio_iommu_driver_ops. Backend
IOMMU module that supports pining and unpinning pages for mdev devices
should provide these functions.
Renamed static functions in vfio_type1_iommu.c to resolve conflicts
Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com>
Signed-off-by: Neo Jia <cjia@nvidia.com>
Reviewed-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/pci/hotplug-pci.c')
0 files changed, 0 insertions, 0 deletions