Skip to contentSkip to conversation

iommu/arm-smmu-v3-iommufd: Separate vDEVICE allocation list

PATCH In review Bagas Sanjaya 3 participants 3 messages Nov 26, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iommu/arm-smmu-v3-iommufd: Separate vDEVICE allocation list

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")
---
 include/uapi/linux/iommufd.h | 1 +
 1 file changed, 1 insertion(+)
include/uapi/linux/iommufd.h +1 -0
index 225671603ade66..2c41920b641dc1 100644
@@ -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

Signature · 1 line
An old man doll... just what I always wanted! - Clara
Acked-by on v1 1/1
#1 lore raw
Quoted 11 lines · Bagas Sanjaya

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")

Thanks for the fix.

I was about to send a v3 over a fix :)

Anyway,

#2 lore raw
In reply to Bagas Sanjaya
Quoted 7 lines · Bagas Sanjaya

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.

Quoted 7 lines
Fixes 9f0b286fe40130 ("iommu/arm-smmu-v3-iommufd: Allow attaching nested domain for GBPA cases")
---
 include/uapi/linux/iommufd.h | 1 +
 1 file changed, 1 insertion(+)

Thanks, I squashed this one line

Jason