diff options
author | Kirti Wankhede <kwankhede@nvidia.com> | 2016-11-17 10:28:26 +0530 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2016-11-17 08:33:07 -0700 |
commit | c086de818dd81c3c2f7cecff23de6585b74340c0 (patch) | |
tree | 5bef30bb704ea2a9d83dfd70fce00e878dc638a1 /samples | |
parent | a54eb55045ae9b3032c71f1134e30d02de527038 (diff) | |
download | linux-c086de818dd81c3c2f7cecff23de6585b74340c0.tar.bz2 |
vfio iommu: Add blocking notifier to notify DMA_UNMAP
Added blocking notifier to IOMMU TYPE1 driver to notify vendor drivers
about DMA_UNMAP.
Exported two APIs vfio_register_notifier() and vfio_unregister_notifier().
Notifier should be registered, if external user wants to use
vfio_pin_pages()/vfio_unpin_pages() APIs to pin/unpin pages.
Vendor driver should use VFIO_IOMMU_NOTIFY_DMA_UNMAP action to invalidate
mappings.
Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com>
Signed-off-by: Neo Jia <cjia@nvidia.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions