summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2020-05-19 16:28:24 +0300
committerJoerg Roedel <jroedel@suse.de>2020-05-25 14:48:55 +0300
commit70b8170e55d3ca9503a53211967faee6b5f18b19 (patch)
tree045619867f44ce07462f4ec84a8f865fae2f978a /tools/perf/scripts/python/exported-sql-viewer.py
parent2bc61fbcc192f0b2e10e51e38f4f485ba5b293ca (diff)
downloadlinux-70b8170e55d3ca9503a53211967faee6b5f18b19.tar.xz
iommu: Don't call .probe_finalize() under group->mutex
The .probe_finalize() call-back of some IOMMU drivers calls into arm_iommu_attach_device(). This function will call back into the IOMMU core code, where it tries to take group->mutex again, resulting in a deadlock. As there is no reason why .probe_finalize() needs to be called under that mutex, move it after the lock has been released to fix the deadlock. Fixes: deac0b3bed26 ("iommu: Split off default domain allocation from group assignment") Reported-by: Yong Wu <yong.wu@mediatek.com> Tested-by: Yong Wu <yong.wu@mediatek.com> Signed-off-by: Joerg Roedel <jroedel@suse.de> Cc: Yong Wu <yong.wu@mediatek.com> Link: https://lore.kernel.org/r/20200519132824.15163-1-joro@8bytes.org
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions