summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNicolin Chen <nicolinc@nvidia.com>2023-10-17 11:15:52 -0700
committerJason Gunthorpe <jgg@nvidia.com>2023-10-21 13:16:16 -0300
commitb5f9e63278d6f32789478acf1ed41d21d92b36cf (patch)
tree971e14ebbf83870578a606fc940c7113563dd119 /include
parent266dcae34d8f44c3bbab00e227f8b14517682bb7 (diff)
downloadlinux-stable-b5f9e63278d6f32789478acf1ed41d21d92b36cf.tar.gz
linux-stable-b5f9e63278d6f32789478acf1ed41d21d92b36cf.tar.bz2
linux-stable-b5f9e63278d6f32789478acf1ed41d21d92b36cf.zip
iommufd: Correct IOMMU_HWPT_ALLOC_NEST_PARENT description
The IOMMU_HWPT_ALLOC_NEST_PARENT flag is used to allocate a HWPT. Though a HWPT holds a domain in the core structure, it is still quite confusing to describe it using "domain" in the uAPI kdoc. Correct it to "HWPT". Fixes: 4ff542163397 ("iommufd: Support allocating nested parent domain") Link: https://lore.kernel.org/r/20231017181552.12667-1-nicolinc@nvidia.com Signed-off-by: Nicolin Chen <nicolinc@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/iommufd.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/uapi/linux/iommufd.h b/include/uapi/linux/iommufd.h
index 4a7c5c8fdbb4..be7a95042677 100644
--- a/include/uapi/linux/iommufd.h
+++ b/include/uapi/linux/iommufd.h
@@ -349,9 +349,8 @@ struct iommu_vfio_ioas {
/**
* enum iommufd_hwpt_alloc_flags - Flags for HWPT allocation
- * @IOMMU_HWPT_ALLOC_NEST_PARENT: If set, allocate a domain which can serve
- * as the parent domain in the nesting
- * configuration.
+ * @IOMMU_HWPT_ALLOC_NEST_PARENT: If set, allocate a HWPT that can serve as
+ * the parent HWPT in a nesting configuration.
*/
enum iommufd_hwpt_alloc_flags {
IOMMU_HWPT_ALLOC_NEST_PARENT = 1 << 0,