diff options
author | Steve Sistare <steven.sistare@oracle.com> | 2021-01-29 08:54:07 -0800 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2021-02-01 13:20:06 -0700 |
commit | 441e8106a238920f28e2e79cff462044551f60e2 (patch) | |
tree | 86a5b1e9d54c48874d25937c92087d4e08259474 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c196509953741a8a472127c80070a0795a072f87 (diff) |
vfio: interfaces to update vaddr
Define interfaces that allow the underlying memory object of an iova
range to be mapped to a new host virtual address in the host process:
- VFIO_DMA_UNMAP_FLAG_VADDR for VFIO_IOMMU_UNMAP_DMA
- VFIO_DMA_MAP_FLAG_VADDR flag for VFIO_IOMMU_MAP_DMA
- VFIO_UPDATE_VADDR extension for VFIO_CHECK_EXTENSION
Unmap vaddr invalidates the host virtual address in an iova range, and
blocks vfio translation of host virtual addresses. DMA to already-mapped
pages continues. Map vaddr updates the base VA and resumes translation.
See comments in uapi/linux/vfio.h for more details.
Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions