diff options
author | Kirti Wankhede <kwankhede@nvidia.com> | 2016-11-17 07:58:26 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2016-11-17 18:33:07 +0300 |
commit | c086de818dd81c3c2f7cecff23de6585b74340c0 (patch) | |
tree | 5bef30bb704ea2a9d83dfd70fce00e878dc638a1 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | a54eb55045ae9b3032c71f1134e30d02de527038 (diff) | |
download | linux-c086de818dd81c3c2f7cecff23de6585b74340c0.tar.xz |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions