arm,smmu: switch to using iommu_fwspec functions
authorBrian Woods <brian.woods@xilinx.com>
Tue, 3 Aug 2021 00:24:06 +0000 (17:24 -0700)
committerJulien Grall <jgrall@amazon.com>
Tue, 3 Aug 2021 09:38:55 +0000 (10:38 +0100)
commit4a692732105bc6357c64e5af93785bbfa28d6704
tree2f02a972fa380ead026832819e696a9a37573e33
parent3be443e726626913e328a9a7123cdd19f1c49edb
arm,smmu: switch to using iommu_fwspec functions

Modify the smmu driver so that it uses the iommu_fwspec helper
functions.  This means both ARM IOMMU drivers will both use the
iommu_fwspec helper functions, making enabling generic device tree
bindings in the SMMU driver much cleaner.

Signed-off-by: Brian Woods <brian.woods@xilinx.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Reviewed-by: Rahul Singh <rahul.singh@arm.com>
Acked-by: Julien Grall <jgrall@amazon.com>
xen/drivers/passthrough/arm/smmu.c