summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2016-09-09 16:33:59 +0300
committerWill Deacon <will.deacon@arm.com>2016-09-16 11:34:14 +0300
commit8ded2909e2c6c34b70ebb45480f6ce68c64fbddc (patch)
treeeccb4b941bed09582c206b4444c1cb851db9e6d5 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentbcfced1580c40662d1c095899af9d0dd3ed9e7bc (diff)
downloadlinux-8ded2909e2c6c34b70ebb45480f6ce68c64fbddc.tar.xz
iommu/arm-smmu: Disable interrupts whilst holding the cmdq lock
The cmdq lock is taken whenever we issue commands into the command queue, which can occur in IRQ context (as a result of unmap) or in process context (as a result of a threaded IRQ handler or device probe). This can lead to a theoretical deadlock if the interrupt handler performing the unmap hits whilst the lock is taken, so explicitly use the {irqsave,irqrestore} spin_lock accessors for the cmdq lock. Tested-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions