iommu/vt-d: Remove pasid_mutex
authorLu Baolu <baolu.lu@linux.intel.com>
Wed, 9 Aug 2023 12:47:57 +0000 (20:47 +0800)
committerJoerg Roedel <jroedel@suse.de>
Wed, 9 Aug 2023 15:44:37 +0000 (17:44 +0200)
commitb61701881f2ff809e9cd229f129bdc4e09ca688e
tree0eda5db208cd90f846f793880a6b5a8ada6e3a19
parentac1a3483febd0ec8fced1ccb15da349dcc360fbb
iommu/vt-d: Remove pasid_mutex

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.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20230802212427.1497170-5-jacob.jun.pan@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/svm.c