iommu/arm-smmu-v3: Forget about cmdq-sync interrupt
commitdce032a15ced2ee9fa58ed7b52c492795d096a40
authorRobin Murphy <robin.murphy@arm.com>
Thu, 31 Aug 2017 13:44:26 +0000 (31 14:44 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 20 Oct 2017 15:55:07 +0000 (20 16:55 +0100)
tree39a0e22efaa126e4196ae085dfad74bcbefae3f9
parent2f657add07a8f758e41076820157eeca1df22b79
iommu/arm-smmu-v3: Forget about cmdq-sync interrupt

The cmdq-sync interrupt is never going to be particularly useful, since
for stage 1 DMA at least we'll often need to wait for sync completion
within someone else's IRQ handler, thus have to implement polling
anyway. Beyond that, the overhead of taking an interrupt, then still
having to grovel around in the queue to figure out *which* sync command
completed, doesn't seem much more attractive than simple polling either.

Furthermore, if an implementation both has wired interrupts and supports
MSIs, then we don't want to be taking the IRQ unnecessarily if we're
using the MSI write to update memory. Let's just make life simpler by
not even bothering to claim it in the first place.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu-v3.c