Lu Baolu 8430fd3f32 iommu/vt-d: Acquiring lock in pasid manipulation helpers
The iommu->lock is used to protect the per-IOMMU pasid directory table
and pasid table. Move the spinlock acquisition/release into the helpers
to make the code self-contained.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20220706025524.2904370-8-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2022-07-15 10:21:37 +02:00
..
2022-05-31 09:56:54 -07:00
2022-02-28 13:25:49 +01:00
2021-04-07 10:54:29 +02:00
2022-02-28 13:25:49 +01:00
2022-02-28 13:25:49 +01:00
2022-02-28 13:25:49 +01:00
2022-02-28 13:25:49 +01:00