iommu/arm-smmu-v3: Add context descriptor tables allocators
authorJean-Philippe Brucker <jean-philippe@linaro.org>
Wed, 15 Jan 2020 12:52:32 +0000 (13:52 +0100)
committerWill Deacon <will@kernel.org>
Wed, 15 Jan 2020 16:00:57 +0000 (16:00 +0000)
commita557aff0c72b62e5ca859eab376f932d24e36cea
tree8f22e2f727f184908f9e8f918d7da27accea96e8
parent7bc4f3fae9537d17be7d029afcb08e3dfd0f2801
iommu/arm-smmu-v3: Add context descriptor tables allocators

Support for SSID will require allocating context descriptor tables. Move
the context descriptor allocation to separate functions.

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