iommu/arm-smmu-v3: Specialise CMD_SYNC handling
authorRobin Murphy <robin.murphy@arm.com>
Thu, 31 Aug 2017 13:44:25 +0000 (14:44 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 20 Oct 2017 15:55:06 +0000 (16:55 +0100)
commit2f657add07a8f758e41076820157eeca1df22b79
tree42415eaa81275d4456b0aa4eae434d3166777a25
parent2a22baa2d17f37f9bd86febcb69f10dbe6792b58
iommu/arm-smmu-v3: Specialise CMD_SYNC handling

CMD_SYNC already has a bit of special treatment here and there, but as
we're about to extend it with more functionality for completing outside
the CMDQ lock, things are going to get rather messy if we keep trying to
cram everything into a single generic command interface. Instead, let's
break out the issuing of CMD_SYNC into its own specific helper where
upcoming changes will have room to breathe.

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