Commit 032d7e4
iommu/dma: Remove redundant locking
This reverts commit ac9a5d5.
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>1 parent 59b6c34 commit 032d7e4
1 file changed
Lines changed: 4 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | 90 | | |
92 | 91 | | |
93 | 92 | | |
| |||
401 | 400 | | |
402 | 401 | | |
403 | 402 | | |
404 | | - | |
405 | 403 | | |
406 | 404 | | |
407 | 405 | | |
| |||
709 | 707 | | |
710 | 708 | | |
711 | 709 | | |
712 | | - | |
713 | 710 | | |
714 | 711 | | |
715 | 712 | | |
716 | 713 | | |
717 | | - | |
718 | | - | |
| 714 | + | |
719 | 715 | | |
720 | 716 | | |
721 | | - | |
722 | | - | |
| 717 | + | |
723 | 718 | | |
724 | 719 | | |
725 | 720 | | |
726 | 721 | | |
727 | 722 | | |
728 | | - | |
| 723 | + | |
729 | 724 | | |
730 | 725 | | |
731 | 726 | | |
| |||
734 | 729 | | |
735 | 730 | | |
736 | 731 | | |
737 | | - | |
738 | | - | |
739 | | - | |
740 | | - | |
741 | | - | |
| 732 | + | |
742 | 733 | | |
743 | 734 | | |
744 | 735 | | |
| |||
0 commit comments