Re: [PATCH rfcv1 7/8] iommu/arm-smmu-v3: Add arm_smmu_invs based arm_smmu_domain_inv_range()

Jason Gunthorpe
2025-09-08T15:39:16Z

On Sat, Sep 06, 2025 at 01:12:33AM -0700, Nicolin Chen wrote:

> I know that performance-wise, this piece will be a quick respin,
> as the attach side releases the lock very fast. It still looks
> a bit complicated. And practically, it would respin even if the
> attachment removes a non-PCI device, right?

If you are paying the cost of taking the lock then it should become
fully locked and consistent.

Jason