]> www.infradead.org Git - users/hch/misc.git/commit
iommu/dma: Remove redundant locking
authorRobin Murphy <robin.murphy@arm.com>
Wed, 26 Feb 2025 15:57:49 +0000 (15:57 +0000)
committerJoerg Roedel <jroedel@suse.de>
Mon, 10 Mar 2025 08:23:58 +0000 (09:23 +0100)
commit032d7e435cbd81ffa37b846aea5a236f3f5912a3
treedb34680f482604c24c81195c7f0b8e3795304d40
parent59b6c3469e74ef9f75ddbabacca4bd0d0d7c0e24
iommu/dma: Remove redundant locking

This reverts commit ac9a5d522bb80be50ea84965699e1c8257d745ce.

iommu_dma_init_domain() is now only called under the group mutex, as it
should be given that that the default domain belongs to the group, so
the additional internal locking is no longer needed.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/a943d4c198e6a1fffe998337d577dc3aa7f660a9.1740585469.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/dma-iommu.c