From: Randy Dunlap <rdunlap@infradead.org>
To: Karl Mehltretter <kmehltretter@gmail.com>,
Jason Gunthorpe <jgg@ziepe.ca>, Kevin Tian <kevin.tian@intel.com>
Cc: Jonathan Corbet <corbet@lwn.net>,
iommu@lists.linux.dev, linux-doc@vger.kernel.org,
Shuah Khan <skhan@linuxfoundation.org>,
Nicolin Chen <nicolinc@nvidia.com>
Subject: Re: [PATCH] Documentation: userspace-api: iommufd: Fix the struct iommu_hwpt_alloc name
Date: Sat, 5 Sep 2026 10:32:57 -0700 [thread overview]
Message-ID: <29bec214-e991-4f22-8e72-48d30c08bf9f@infradead.org> (raw)
In-Reply-To: <20260905103819.43424-1-kmehltretter@gmail.com>
On 9/5/26 3:38 AM, Karl Mehltretter wrote:
> struct iommufd_hwpt_alloc does not exist; the name is struct
> iommu_hwpt_alloc.
>
> Use struct iommu_hwpt_alloc.
>
> Fixes: e2d8fe9148b7 ("Documentation: userspace-api: iommufd: Update HWPT_PAGING and HWPT_NESTED")
> Assisted-by: LLM
> Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
thanks.
> ---
> Documentation/userspace-api/iommufd.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/userspace-api/iommufd.rst b/Documentation/userspace-api/iommufd.rst
> index f1c4d21e5c5e..763b23339480 100644
> --- a/Documentation/userspace-api/iommufd.rst
> +++ b/Documentation/userspace-api/iommufd.rst
> @@ -242,7 +242,7 @@ creating the objects and links::
>
> Either a manual IOMMUFD_OBJ_HWPT_PAGING or an IOMMUFD_OBJ_HWPT_NESTED is
> created via the same IOMMU_HWPT_ALLOC uAPI. The difference is at the type
> - of the object passed in via the @pt_id field of struct iommufd_hwpt_alloc.
> + of the object passed in via the @pt_id field of struct iommu_hwpt_alloc.
>
> 5. IOMMUFD_OBJ_VIOMMU can be only manually created via the IOMMU_VIOMMU_ALLOC
> uAPI, provided a dev_id (for the device's physical IOMMU to back the vIOMMU)
--
~Randy
prev parent reply other threads:[~2026-09-05 17:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-05 10:38 [PATCH] Documentation: userspace-api: iommufd: Fix the struct iommu_hwpt_alloc name Karl Mehltretter
2026-09-05 17:32 ` Randy Dunlap [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=29bec214-e991-4f22-8e72-48d30c08bf9f@infradead.org \
--to=rdunlap@infradead.org \
--cc=corbet@lwn.net \
--cc=iommu@lists.linux.dev \
--cc=jgg@ziepe.ca \
--cc=kevin.tian@intel.com \
--cc=kmehltretter@gmail.com \
--cc=linux-doc@vger.kernel.org \
--cc=nicolinc@nvidia.com \
--cc=skhan@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox