diff options
| author | Joerg Roedel <jroedel@suse.de> | 2024-10-30 13:02:48 +0300 |
|---|---|---|
| committer | Joerg Roedel <jroedel@suse.de> | 2024-10-30 13:02:48 +0300 |
| commit | 556af583d256f0407b6e68e2586ce9b995b8d763 (patch) | |
| tree | b6be4b198b246389405b674b7f64346310ce1957 /include/uapi/linux | |
| parent | e3a682eaf2af51a83f5313145ef592ce50fa787f (diff) | |
| parent | a33bf8d8ce7e06bf0f033865b0cea5887cd2ac8c (diff) | |
| download | linux-556af583d256f0407b6e68e2586ce9b995b8d763.tar.xz | |
Merge branch 'core' into amd/amd-vi
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/iommufd.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/linux/iommufd.h b/include/uapi/linux/iommufd.h index 72010f71c5e4..0c0ed28ee113 100644 --- a/include/uapi/linux/iommufd.h +++ b/include/uapi/linux/iommufd.h @@ -359,11 +359,19 @@ struct iommu_vfio_ioas { * enforced on device attachment * @IOMMU_HWPT_FAULT_ID_VALID: The fault_id field of hwpt allocation data is * valid. + * @IOMMU_HWPT_ALLOC_PASID: Requests a domain that can be used with PASID. The + * domain can be attached to any PASID on the device. + * Any domain attached to the non-PASID part of the + * device must also be flaged, otherwise attaching a + * PASID will blocked. + * If IOMMU does not support PASID it will return + * error (-EOPNOTSUPP). */ enum iommufd_hwpt_alloc_flags { IOMMU_HWPT_ALLOC_NEST_PARENT = 1 << 0, IOMMU_HWPT_ALLOC_DIRTY_TRACKING = 1 << 1, IOMMU_HWPT_FAULT_ID_VALID = 1 << 2, + IOMMU_HWPT_ALLOC_PASID = 1 << 3, }; /** |
