iommu/arm-smmu: ioremap smmu mmio region before implementation init
authorKrishna Reddy <vdumpa@nvidia.com>
Sat, 18 Jul 2020 19:34:54 +0000 (12:34 -0700)
committerWill Deacon <will@kernel.org>
Mon, 20 Jul 2020 08:30:50 +0000 (09:30 +0100)
commit6c019f4e697ebed2225b20cc5d6276673834853d
treefb429f92e8b90ba66200fd4eee1eeef9959499b3
parentcd8479cf0de9d1950b51032a216fbf630f8542a4
iommu/arm-smmu: ioremap smmu mmio region before implementation init

ioremap smmu mmio region before calling into implementation init.
This is necessary to allow mapped address available during vendor
specific implementation init.

Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Nicolin Chen <nicoleotsuka@gmail.com>
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Thierry Reding <thierry.reding@gmail.com>
Link: https://lore.kernel.org/r/20200718193457.30046-3-vdumpa@nvidia.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm-smmu.c