[PATCH v5 02/15] iommu/arm-smmu-v3: Add arm_smmu_attach_release()

Jason Gunthorpe jgg at nvidia.com
Wed Sep 23 11:37:05 PDT 2026


On Tue, 15 Sep 2026 09:38:14 -0700, Nicolin Chen <nicolinc at nvidia.com> wrote:
> The IOPF teardown is done in arm_smmu_remove_master_domain() when releasing
> the master_domain on detach, under the global arm_smmu_asid_lock mutex.
> 
> A later change will add an IOPF workqueue flush to that teardown, which can
> block on a user-faulting page-fault handler. Holding the arm_smmu_asid_lock
> across it would stall every unrelated attachment in the system.
> 
> [...]

Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>

-- 
Jason



More information about the linux-arm-kernel mailing list