Re: [PATCH] iommu/virtio: Make instance lookup robust

2025-03-21 Thread Jean-Philippe Brucker
On Thu, Mar 20, 2025 at 03:32:54PM +, Robin Murphy wrote: > Much like arm-smmu in commit 7d835134d4e1 ("iommu/arm-smmu: Make > instance lookup robust"), virtio-iommu appears to have the same issue > where iommu_device_register() makes the IOMMU instance visible to other > API callers (including

[PATCH] iommu/virtio: Make instance lookup robust

2025-03-20 Thread Robin Murphy
Much like arm-smmu in commit 7d835134d4e1 ("iommu/arm-smmu: Make instance lookup robust"), virtio-iommu appears to have the same issue where iommu_device_register() makes the IOMMU instance visible to other API callers (including itself) straight away, but internally the instance isn't ready to rec