aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorLu Baolu <[email protected]>2022-07-12 08:08:58 +0800
committerJoerg Roedel <[email protected]>2022-07-15 10:21:37 +0200
commit8430fd3f3287013cb3f04b465c0686c41c86a8c8 (patch)
treed007cc8d73ad3b142d6249d7b6ef0843d9977655 /lib/mpi/mpi-sub-ui.c
parent2c3262f9e881ae403b6d92a7e4824531cdb63829 (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 <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions