iommu/arm-smmu: Refactor master_cfg/fwspec usage
authorRobin Murphy <robin.murphy@arm.com>
Thu, 26 Mar 2020 15:08:35 +0000 (16:08 +0100)
committerJoerg Roedel <jroedel@suse.de>
Fri, 27 Mar 2020 10:14:52 +0000 (11:14 +0100)
commit2465170f98de5fef0d35bafc4dc29490d925ab36
treed3b35934dc31eaa2558275728dbecd6295105a73
parentb7a9662f2c809e9778437aaf0e339279f4c8f3a1
iommu/arm-smmu: Refactor master_cfg/fwspec usage

In preparation for restructuring iommu_fwspec, refactor the way we
access the arm_smmu_master_cfg private data to be less dependent on
the current layout.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Link: https://lore.kernel.org/r/20200326150841.10083-11-joro@8bytes.org
drivers/iommu/arm-smmu.c