* [PATCH] iommu/arm-smmu-v3-iommufd: Separate vDEVICE allocation list
@ 2025-11-26 3:36 Bagas Sanjaya
2025-11-26 3:58 ` Nicolin Chen
2025-11-26 18:22 ` Jason Gunthorpe
0 siblings, 2 replies; 3+ messages in thread
From: Bagas Sanjaya @ 2025-11-26 3:36 UTC (permalink / raw)
To: Linux Kernel Mailing List, Linux Documentation, Linux IOMMU
Cc: Jason Gunthorpe, Kevin Tian, Pranjal Shrivastava, Nicolin Chen,
Bagas Sanjaya, Stephen Rothwell
Stephen Rothwell reports htmldocs warnings when merging iommufd tree:
Documentation/userspace-api/iommufd:335: include/uapi/linux/iommufd.h:456: ERROR: Unexpected indentation. [docutils]
Documentation/userspace-api/iommufd:335: include/uapi/linux/iommufd.h:457: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
Fix them by separating vDEVICE allocation list from preceding paragraph.
Fixes: 9f0b286fe40130 ("iommu/arm-smmu-v3-iommufd: Allow attaching nested domain for GBPA cases")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/linux-next/20251126125920.207fc959@canb.auug.org.au/
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
include/uapi/linux/iommufd.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/iommufd.h b/include/uapi/linux/iommufd.h
index 225671603ade66..2c41920b641dc1 100644
--- a/include/uapi/linux/iommufd.h
+++ b/include/uapi/linux/iommufd.h
@@ -453,6 +453,7 @@ struct iommu_hwpt_vtd_s1 {
*
* It's suggested to allocate a vDEVICE object carrying vSID and then re-attach
* the nested domain, as soon as the vSID is available in the VMM level:
+ *
* - when Cfg=translate, a vDEVICE must be allocated prior to attaching to the
* allocated nested domain, as CD/ATS invalidations and vevents need a vSID.
* - when Cfg=bypass/abort, a vDEVICE is not enforced during the nested domain
base-commit: 800b311b5afbca04e204eec98ee12667c88e9ae5
--
An old man doll... just what I always wanted! - Clara
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] iommu/arm-smmu-v3-iommufd: Separate vDEVICE allocation list
2025-11-26 3:36 [PATCH] iommu/arm-smmu-v3-iommufd: Separate vDEVICE allocation list Bagas Sanjaya
@ 2025-11-26 3:58 ` Nicolin Chen
2025-11-26 18:22 ` Jason Gunthorpe
1 sibling, 0 replies; 3+ messages in thread
From: Nicolin Chen @ 2025-11-26 3:58 UTC (permalink / raw)
To: Bagas Sanjaya
Cc: Linux Kernel Mailing List, Linux Documentation, Linux IOMMU,
Jason Gunthorpe, Kevin Tian, Pranjal Shrivastava,
Stephen Rothwell
On Wed, Nov 26, 2025 at 10:36:03AM +0700, Bagas Sanjaya wrote:
> Stephen Rothwell reports htmldocs warnings when merging iommufd tree:
>
> Documentation/userspace-api/iommufd:335: include/uapi/linux/iommufd.h:456: ERROR: Unexpected indentation. [docutils]
> Documentation/userspace-api/iommufd:335: include/uapi/linux/iommufd.h:457: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
>
> Fix them by separating vDEVICE allocation list from preceding paragraph.
>
> Fixes: 9f0b286fe40130 ("iommu/arm-smmu-v3-iommufd: Allow attaching nested domain for GBPA cases")
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Closes: https://lore.kernel.org/linux-next/20251126125920.207fc959@canb.auug.org.au/
> Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Thanks for the fix.
I was about to send a v3 over a fix :)
Anyway,
Acked-by: Nicolin Chen <nicolinc@nvidia.com>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] iommu/arm-smmu-v3-iommufd: Separate vDEVICE allocation list
2025-11-26 3:36 [PATCH] iommu/arm-smmu-v3-iommufd: Separate vDEVICE allocation list Bagas Sanjaya
2025-11-26 3:58 ` Nicolin Chen
@ 2025-11-26 18:22 ` Jason Gunthorpe
1 sibling, 0 replies; 3+ messages in thread
From: Jason Gunthorpe @ 2025-11-26 18:22 UTC (permalink / raw)
To: Bagas Sanjaya
Cc: Linux Kernel Mailing List, Linux Documentation, Linux IOMMU,
Kevin Tian, Pranjal Shrivastava, Nicolin Chen, Stephen Rothwell
On Wed, Nov 26, 2025 at 10:36:03AM +0700, Bagas Sanjaya wrote:
> Stephen Rothwell reports htmldocs warnings when merging iommufd tree:
>
> Documentation/userspace-api/iommufd:335: include/uapi/linux/iommufd.h:456: ERROR: Unexpected indentation. [docutils]
> Documentation/userspace-api/iommufd:335: include/uapi/linux/iommufd.h:457: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
>
> Fix them by separating vDEVICE allocation list from preceding paragraph.
>
> Fixes: 9f0b286fe40130 ("iommu/arm-smmu-v3-iommufd: Allow attaching nested domain for GBPA cases")
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Closes: https://lore.kernel.org/linux-next/20251126125920.207fc959@canb.auug.org.au/
> Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
> ---
> include/uapi/linux/iommufd.h | 1 +
> 1 file changed, 1 insertion(+)
Thanks, I squashed this one line
Jason
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-11-26 18:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-26 3:36 [PATCH] iommu/arm-smmu-v3-iommufd: Separate vDEVICE allocation list Bagas Sanjaya
2025-11-26 3:58 ` Nicolin Chen
2025-11-26 18:22 ` Jason Gunthorpe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).