RE: [PATCH rc] iommu/sva: Fix SVA handle sharing in multi device case

From: Tian, Kevin
Date: Tue Feb 27 2024 - 02:42:53 EST


> From: Zhangfei Gao <zhangfei.gao@xxxxxxxxxx>
> Sent: Tuesday, February 27, 2024 2:48 PM
>
> iommu_sva_bind_device will directly goto out in multi-device
> case when found existing domain, ignoring list_add handle,
> which causes the handle to fail to be shared.
>
> Fixes: 65d4418c5002 ("iommu/sva: Restore SVA handle sharing")
> Signed-off-by: Zhangfei Gao <zhangfei.gao@xxxxxxxxxx>
> Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>