arm: dma-mapping: Use default iommu domain
When a device probes and arch_setup_dma_ops is called, check if the device has an associated default iommu_domain. If it does, setup a virtual address allocator of the type described by the default domain's attributes. Mark arm_iommu_create_mapping and arm_iommu_attach_device as deprecated, since clients will no longer need to use them now that the iommu framework will associate them with a default domain. Change-Id: I0721c038c68f0f48b78d50f9a72418dbaed97172 Signed-off-by:Vijayanand Jitta <vjitta@codeaurora.org> Signed-off-by:
Qingqing Zhou <qqzhou@codeaurora.org>
Loading
Please register or sign in to comment