diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2022-07-12 08:08:58 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2022-07-15 10:21:37 +0200 |
commit | 8430fd3f3287013cb3f04b465c0686c41c86a8c8 (patch) | |
tree | d007cc8d73ad3b142d6249d7b6ef0843d9977655 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 2c3262f9e881ae403b6d92a7e4824531cdb63829 (diff) |
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>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions