]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit207e3124a1b825c163267e8a54ffdf74dc169127
tree42415eaa81275d4456b0aa4eae434d3166777a25
parentf9bc04b9494478cf6a25e9680ff5aead08e1a0c0
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