diff options
| author | Jason Gunthorpe <jgg@nvidia.com> | 2024-02-08 14:25:34 -0400 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-03-13 10:41:39 +0000 |
| commit | f096de4a8cbecffe7d41697a93fdc4ac27e593bc (patch) | |
| tree | 74f3461e1e947e00c3d5419f8b42f72504707772 /sys/linux/dev_iommu.txt | |
| parent | b44f1eafe16bf261642c5390ba0e2adc4cedd5ef (diff) | |
sys/linux: add IOMMU_HWPT_SET_DIRTY_TRACKING
Diffstat (limited to 'sys/linux/dev_iommu.txt')
| -rw-r--r-- | sys/linux/dev_iommu.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/linux/dev_iommu.txt b/sys/linux/dev_iommu.txt index 50498836c..b2671a0d9 100644 --- a/sys/linux/dev_iommu.txt +++ b/sys/linux/dev_iommu.txt @@ -36,6 +36,7 @@ ioctl$IOMMU_HWPT_ALLOC$NONE(fd fd_iommufd, cmd const[IOMMU_HWPT_ALLOC], arg ptr[ ioctl$IOMMU_HWPT_ALLOC$TEST(fd fd_iommufd, cmd const[IOMMU_HWPT_ALLOC], arg ptr[in, iommu_hwpt_alloc$IOMMU_HWPT_DATA_SELFTEST]) ioctl$IOMMU_GET_HW_INFO(fd fd_iommufd, cmd const[IOMMU_GET_HW_INFO], arg ptr[in, iommu_hw_info]) +ioctl$IOMMU_HWPT_SET_DIRTY_TRACKING(fd fd_iommufd, cmd const[IOMMU_HWPT_SET_DIRTY_TRACKING], arg ptr[in, iommu_hwpt_set_dirty_tracking]) # VFIO compatibility ioctls # This shares a few structs with dev_vfio.txt @@ -206,6 +207,13 @@ iommu_hw_info { out_capabilities int64 (out) } +iommu_hwpt_set_dirty_tracking { + size len[parent, int32] + flags flags[iommufd_hwpt_set_dirty_tracking_flags, int32] + hwpt_id hwpt_handle + __reserved const[0x0, int32] +} + iommu_iova_range { start int64 last int64 @@ -215,6 +223,7 @@ iommufd_ioas_map_flags = IOMMU_IOAS_MAP_FIXED_IOVA, IOMMU_IOAS_MAP_WRITEABLE, IO iommufd_ioas_map_flags_syz = MOCK_FLAGS_ACCESS_SYZ, IOMMU_IOAS_MAP_WRITEABLE, IOMMU_IOAS_MAP_READABLE, MOCK_FLAGS_ACCESS_SYZ, IOMMU_IOAS_MAP_READABLE iommufd_option_ops = IOMMU_OPTION_OP_SET, IOMMU_OPTION_OP_GET iommufd_hwpt_alloc_flags = IOMMU_HWPT_ALLOC_NEST_PARENT, IOMMU_HWPT_ALLOC_DIRTY_TRACKING +iommufd_hwpt_set_dirty_tracking_flags = IOMMU_HWPT_DIRTY_TRACKING_ENABLE iommu_type = VFIO_TYPE1_IOMMU, VFIO_TYPE1v2_IOMMU iommu_extension = VFIO_TYPE1_IOMMU, VFIO_TYPE1v2_IOMMU, VFIO_UNMAP_ALL, VFIO_DMA_CC_IOMMU, VFIO_TYPE1_NESTING_IOMMU, VFIO_UPDATE_VADDR |
