iommu/arm-smmu: Implement iommu_ops->def_domain_type call-back
authorSai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Mon, 20 Apr 2020 18:33:50 +0000 (00:03 +0530)
committerWill Deacon <will@kernel.org>
Thu, 7 May 2020 13:21:42 +0000 (14:21 +0100)
commit232c5ae8a3614f112712d43e1dbbd8dd6f8453c1
tree48b3da27ecec2cbbadd388a32990fccc1c3f209f
parent64510ede36845500584485f3ad30dbcbf83091a6
iommu/arm-smmu: Implement iommu_ops->def_domain_type call-back

Implement the new def_domain_type call-back for the ARM
SMMU driver. We need this to support requesting the domain
type by the client devices.

Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/28c5d101cc4ac29aff3553ecec7cf256d0907ed7.1587407458.git.saiprakash.ranjan@codeaurora.org
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm-smmu.c
drivers/iommu/arm-smmu.h