diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-10 17:50:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-10 17:50:08 -0400 |
commit | 15a49b9a90c86c6cb7f270a699d2ae7468862c28 (patch) | |
tree | 218fc6bf3ae5beb989cddaede2e4ee0c2e679845 /include/uapi/linux/vfio.h | |
parent | 8d10aae2741ec9ffd53c8d214f7ada6d543b3a46 (diff) | |
parent | 8d38ef1948bd415a5cb653a5c0ec16f3402aaca1 (diff) |
Merge tag 'vfio-v3.11' of git://github.com/awilliam/linux-vfio
Pull vfio updates from Alex Williamson:
"Largely hugepage support for vfio/type1 iommu and surrounding cleanups
and fixes"
* tag 'vfio-v3.11' of git://github.com/awilliam/linux-vfio:
vfio/type1: Fix leak on error path
vfio: Limit group opens
vfio/type1: Fix missed frees and zero sized removes
vfio: fix documentation
vfio: Provide module option to disable vfio_iommu_type1 hugepage support
vfio: hugepage support for vfio_iommu_type1
vfio: Convert type1 iommu to use rbtree
Diffstat (limited to 'include/uapi/linux/vfio.h')
-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 87ee4f4cff25..916e444e6f74 100644 --- a/include/uapi/linux/vfio.h +++ b/include/uapi/linux/vfio.h | |||
@@ -362,10 +362,14 @@ struct vfio_iommu_type1_dma_map { | |||
362 | #define VFIO_IOMMU_MAP_DMA _IO(VFIO_TYPE, VFIO_BASE + 13) | 362 | #define VFIO_IOMMU_MAP_DMA _IO(VFIO_TYPE, VFIO_BASE + 13) |
363 | 363 | ||
364 | /** | 364 | /** |
365 | * VFIO_IOMMU_UNMAP_DMA - _IOW(VFIO_TYPE, VFIO_BASE + 14, struct vfio_dma_unmap) | 365 | * VFIO_IOMMU_UNMAP_DMA - _IOWR(VFIO_TYPE, VFIO_BASE + 14, |
366 | * struct vfio_dma_unmap) | ||
366 | * | 367 | * |
367 | * Unmap IO virtual addresses using the provided struct vfio_dma_unmap. | 368 | * Unmap IO virtual addresses using the provided struct vfio_dma_unmap. |
368 | * Caller sets argsz. | 369 | * Caller sets argsz. The actual unmapped size is returned in the size |
370 | * field. No guarantee is made to the user that arbitrary unmaps of iova | ||
371 | * or size different from those used in the original mapping call will | ||
372 | * succeed. | ||
369 | */ | 373 | */ |
370 | struct vfio_iommu_type1_dma_unmap { | 374 | struct vfio_iommu_type1_dma_unmap { |
371 | __u32 argsz; | 375 | __u32 argsz; |