Showing the changes to include/uapi (1 of 8 files). Show all
Unified · Split
| @@ -462,7 +462,7 @@ struct vfio_region_gfx_edid { · 461 unmodified lines | |||
| 462 | * 5. Resumed | 462 | * 5. Resumed |
| 463 | * |--------->| | 463 | * |--------->| |
| 464 | * | 464 | * |
| 465 | * 0. Default state of VFIO device is _RUNNNG when the user application starts. | 465 | * 0. Default state of VFIO device is _RUNNING when the user application starts. |
| 466 | * 1. During normal shutdown of the user application, the user application may | 466 | * 1. During normal shutdown of the user application, the user application may |
| 467 | * optionally change the VFIO device state from _RUNNING to _STOP. This | 467 | * optionally change the VFIO device state from _RUNNING to _STOP. This |
| 468 | * transition is optional. The vendor driver must support this transition but | 468 | * transition is optional. The vendor driver must support this transition but |
| @@ -1039,6 +1039,21 @@ struct vfio_iommu_type1_info_cap_migration { · 570 unmodified lines | |||
| 1039 | __u64 max_dirty_bitmap_size; /* in bytes */ | 1039 | __u64 max_dirty_bitmap_size; /* in bytes */ |
| 1040 | }; | 1040 | }; |
| 1041 | 1041 | ||
| 1042 | /* | ||
| 1043 | * The DMA available capability allows to report the current number of | ||
| 1044 | * simultaneously outstanding DMA mappings that are allowed. | ||
| 1045 | * | ||
| 1046 | * The structure below defines version 1 of this capability. | ||
| 1047 | * | ||
| 1048 | * avail: specifies the current number of outstanding DMA mappings allowed. | ||
| 1049 | */ | ||
| 1050 | #define VFIO_IOMMU_TYPE1_INFO_DMA_AVAIL 3 | ||
| 1051 | |||
| 1052 | struct vfio_iommu_type1_info_dma_avail { | ||
| 1053 | struct vfio_info_cap_header header; | ||
| 1054 | __u32 avail; | ||
| 1055 | }; | ||
| 1056 | |||
| 1042 | #define VFIO_IOMMU_GET_INFO _IO(VFIO_TYPE, VFIO_BASE + 12) | 1057 | #define VFIO_IOMMU_GET_INFO _IO(VFIO_TYPE, VFIO_BASE + 12) |
| 1043 | 1058 | ||
| 1044 | /** | 1059 | /** |