[PATCH v7 6/7] iommu/arm-smmu-v3: Add arm_smmu_invs based arm_smmu_domain_inv_range()
Nicolin Chen
nicolinc at nvidia.com
Tue Dec 16 11:14:42 PST 2025
On Tue, Dec 16, 2025 at 10:15:11AM -0400, Jason Gunthorpe wrote:
> This also has a pre-existing dma_wmb(), a fuller chart would be like this:
>
> arm_smmu_domain_inv_range() arm_smmu_install_new_domain_invs()
>
> [W] IOPTE [Wrel] smmu_domain->invs
> smp_mb() smp_mb() <--- arm_smmu_install_new_domain_invs()
> [build the STE]
> [post the STE]
> dma_wmb() <--- arm_smmu_cmdq_issue_cmdlist()
> Doorbell Write to Device
> [Lacq] smmu_domain->invs [L] IOPTE via DMA
>
> Nicolin, please elabortate more of these details in the comment.
Ack. I will add the chart above.
Thanks
Nicolin
More information about the linux-arm-kernel
mailing list