RE: [PATCH v10 4/7] iommu/vt-d: Remove pasid_mutex
From: Tian, Kevin
Date: Thu Jul 13 2023 - 03:46:24 EST
> From: Jacob Pan <jacob.jun.pan@xxxxxxxxxxxxxxx>
> Sent: Thursday, July 13, 2023 12:34 AM
>
> From: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
>
> The pasid_mutex was used to protect the paths of set/remove_dev_pasid().
> It's duplicate with iommu_sva_lock. Remove it to avoid duplicate code.
>
> Reviewed-by: Jacob Pan <jacob.jun.pan@xxxxxxxxxxxxxxx>
> Signed-off-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>