Skip to content

Commit b5f9e63

Browse files
nicolincjgunthorpe
authored andcommitted
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: 4ff5421 ("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>
1 parent 266dcae commit b5f9e63

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

include/uapi/linux/iommufd.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,9 +349,8 @@ struct iommu_vfio_ioas {
349349

350350
/**
351351
* enum iommufd_hwpt_alloc_flags - Flags for HWPT allocation
352-
* @IOMMU_HWPT_ALLOC_NEST_PARENT: If set, allocate a domain which can serve
353-
* as the parent domain in the nesting
354-
* configuration.
352+
* @IOMMU_HWPT_ALLOC_NEST_PARENT: If set, allocate a HWPT that can serve as
353+
* the parent HWPT in a nesting configuration.
355354
*/
356355
enum iommufd_hwpt_alloc_flags {
357356
IOMMU_HWPT_ALLOC_NEST_PARENT = 1 << 0,

0 commit comments

Comments
 (0)