[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aUGvojnCaMKWM6QG@Asurada-Nvidia>
Date: Tue, 16 Dec 2025 11:14:42 -0800
From: Nicolin Chen <nicolinc@...dia.com>
To: Jason Gunthorpe <jgg@...dia.com>
CC: Peter Zijlstra <peterz@...radead.org>, <will@...nel.org>,
<jean-philippe@...aro.org>, <robin.murphy@....com>, <joro@...tes.org>,
<balbirs@...dia.com>, <miko.lenczewski@....com>, <kevin.tian@...el.com>,
<praan@...gle.com>, <linux-arm-kernel@...ts.infradead.org>,
<iommu@...ts.linux.dev>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v7 6/7] iommu/arm-smmu-v3: Add arm_smmu_invs based
arm_smmu_domain_inv_range()
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
Powered by blists - more mailing lists