iommu/arm-smmu-v3: Move low-level queue fields out of arm_smmu_queue
authorWill Deacon <will@kernel.org>
Tue, 2 Jul 2019 16:16:08 +0000 (17:16 +0100)
committerWill Deacon <will@kernel.org>
Mon, 29 Jul 2019 16:30:21 +0000 (17:30 +0100)
commit52be86374f48a0d34015257f3e06965910b5b774
treee7b43cf7a011cd11435ca59586e65d0366c3421d
parent8a073da07bac169601a1874606e09bdb62811978
iommu/arm-smmu-v3: Move low-level queue fields out of arm_smmu_queue

In preparation for rewriting the command queue insertion code to use a
new algorithm, introduce a new arm_smmu_ll_queue structure which contains
only the information necessary to perform queue arithmetic for a queue
and will later be extended so that we can perform complex atomic
manipulation on some of the fields.

No functional change.

Tested-by: Ganapatrao Kulkarni <gkulkarni@marvell.com>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm-smmu-v3.c