iommu/arm-smmu-v3: Add command queue batching helpers
authorJean-Philippe Brucker <jean-philippe@linaro.org>
Mon, 24 Feb 2020 16:58:44 +0000 (17:58 +0100)
committerWill Deacon <will@kernel.org>
Wed, 18 Mar 2020 21:32:25 +0000 (21:32 +0000)
commit4ce8da453640147101bda418640394637c1a7cfc
treea77025592e96140be98fc9399bb7b10e1e99eb87
parent87e5fe5b779a20fa02382aaf169015e68710b9ff
iommu/arm-smmu-v3: Add command queue batching helpers

As more functions will implement command queue batching, add two helpers
to simplify building a command list.

Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm-smmu-v3.c