On 11/4/25 10:30 AM, Jason Gunthorpe wrote:
+/**
- iova_to_phys() - Return the output address for the given IOVA
- @iommu_table: Table to query
@domain: (as below)
- @iova: IO virtual address to query
- Determine the output address from the given IOVA. @iova may have any
- alignment, the returned physical will be adjusted with any sub page offset.
- Context: The caller must hold a read range lock that includes @iova.
- Return: 0 if there is no translation for the given iova.
- */
+phys_addr_t DOMAIN_NS(iova_to_phys)(struct iommu_domain *domain,
dma_addr_t iova)+{