iommu/tegra: gart: Fix spinlock recursion
authorDmitry Osipenko <digetx@gmail.com>
Wed, 12 Dec 2018 20:39:00 +0000 (23:39 +0300)
committerJoerg Roedel <jroedel@suse.de>
Wed, 16 Jan 2019 12:54:14 +0000 (13:54 +0100)
commitc3086fad2755f5e446f6a69fda3b2a8c16a1b5ce
treef46ab299e77f013c02c003499d0e7a201ced7274
parentf2dcded1be0d024870b5a4ef8e4a587857f303b4
iommu/tegra: gart: Fix spinlock recursion

Fix spinlock recursion bug that happens on IOMMU domain destruction if
any of the allocated domains have devices attached to them.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/tegra-gart.c