summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/intel-iommu-debugfs.c
diff options
context:
space:
mode:
authorLukasz Odzioba <lukasz.odzioba@intel.com>2019-05-20 15:41:28 +0200
committerJoerg Roedel <jroedel@suse.de>2019-05-27 16:14:49 +0200
commitf780a8dc196db1c41b5da21ecfa27e83ee5fb776 (patch)
tree28ffc920a4d7d6ee7187e1d85a6f5ec356790091 /drivers/iommu/intel-iommu-debugfs.c
parentiommu/vt-d: Fix bind svm with multiple devices (diff)
downloadlinux-f780a8dc196db1c41b5da21ecfa27e83ee5fb776.tar.xz
linux-f780a8dc196db1c41b5da21ecfa27e83ee5fb776.zip
iommu/vt-d: Remove unnecessary rcu_read_locks
We use RCU's for rarely updated lists like iommus, rmrr, atsr units. I'm not sure why domain_remove_dev_info() in domain_exit() was surrounded by rcu_read_lock. Lock was present before refactoring in d160aca527, but it was related to rcu list, not domain_remove_dev_info function. dmar_remove_one_dev_info() doesn't touch any of those lists, so it doesn't require a lock. In fact it is called 6 times without it anyway. Fixes: d160aca5276d ("iommu/vt-d: Unify domain->iommu attach/detachment") Signed-off-by: Lukasz Odzioba <lukasz.odzioba@intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/intel-iommu-debugfs.c')
0 files changed, 0 insertions, 0 deletions