Re: [PATCH RFC 17/17] iommu: Mark dev_iommu_priv_set() with a lockdep
Reviewed-by: Jerry Snitselaar
Re: [PATCH RFC 17/17] iommu: Mark dev_iommu_priv_set() with a lockdep
On 2023/11/4 0:45, Jason Gunthorpe wrote: A perfect driver would only call dev_iommu_priv_set() from its probe callback. We've made it functionally correct to call it from the of_xlate by adding a lock around that call. lockdep assert that iommu_probe_device_lock is held to discourage misuse. E