iommu/arm-smmu-v3: Prepare arm_smmu_s1_cfg for SSID support
authorJean-Philippe Brucker <jean-philippe@linaro.org>
Wed, 15 Jan 2020 12:52:31 +0000 (13:52 +0100)
committerWill Deacon <will@kernel.org>
Wed, 15 Jan 2020 16:00:57 +0000 (16:00 +0000)
commit7bc4f3fae9537d17be7d029afcb08e3dfd0f2801
treee743355e89394def3f1e0e65ee8dc09d25464e44
parentda22565d1d733e87e3e57127caab1bab250dcb70
iommu/arm-smmu-v3: Prepare arm_smmu_s1_cfg for SSID support

When adding SSID support to the SMMUv3 driver, we'll need to manipulate
leaf pasid tables and context descriptors. Extract the context
descriptor structure and align with the way stream tables are handled.

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