Will Deacon 8ded2909e2 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>
2016-09-16 09:34:14 +01:00
..
2015-06-23 18:27:19 -07:00
2016-08-01 07:25:10 -04:00
2016-08-01 07:25:10 -04:00
2015-02-03 18:47:18 +01:00
2016-02-16 08:04:06 -08:00
2016-06-21 13:56:00 +02:00
2015-11-26 14:41:01 +01:00