diff options
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/linux/vfio.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h index 284ff2436829..513600612995 100644 --- a/include/uapi/linux/vfio.h +++ b/include/uapi/linux/vfio.h | |||
| @@ -361,10 +361,14 @@ struct vfio_iommu_type1_dma_map { | |||
| 361 | #define VFIO_IOMMU_MAP_DMA _IO(VFIO_TYPE, VFIO_BASE + 13) | 361 | #define VFIO_IOMMU_MAP_DMA _IO(VFIO_TYPE, VFIO_BASE + 13) |
| 362 | 362 | ||
| 363 | /** | 363 | /** |
| 364 | * VFIO_IOMMU_UNMAP_DMA - _IOW(VFIO_TYPE, VFIO_BASE + 14, struct vfio_dma_unmap) | 364 | * VFIO_IOMMU_UNMAP_DMA - _IOWR(VFIO_TYPE, VFIO_BASE + 14, |
| 365 | * struct vfio_dma_unmap) | ||
| 365 | * | 366 | * |
| 366 | * Unmap IO virtual addresses using the provided struct vfio_dma_unmap. | 367 | * Unmap IO virtual addresses using the provided struct vfio_dma_unmap. |
| 367 | * Caller sets argsz. | 368 | * Caller sets argsz. The actual unmapped size is returned in the size |
| 369 | * field. No guarantee is made to the user that arbitrary unmaps of iova | ||
| 370 | * or size different from those used in the original mapping call will | ||
| 371 | * succeed. | ||
| 368 | */ | 372 | */ |
| 369 | struct vfio_iommu_type1_dma_unmap { | 373 | struct vfio_iommu_type1_dma_unmap { |
| 370 | __u32 argsz; | 374 | __u32 argsz; |
