+7
−18
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Check early in attach_device whether the device is already attached to a domain. This also simplifies the code path so that __attach_device() can be removed. Fixes: 92d420ec ("iommu/amd: Relax locking in dma_ops path") Reviewed-by:Filippo Sironi <sironi@amazon.de> Reviewed-by:
Jerry Snitselaar <jsnitsel@redhat.com> Signed-off-by:
Joerg Roedel <jroedel@suse.de>