arm: dma-mapping: Silence default iommu attach warning
The dma mapping layer attempts to attach the device to iommu
with the default domain created during arch setup. Since the
device isn't added to an iommu group yet, attach fails and
a warning is printed. Since our implementation does not use
the default domain, this warning is meaningless. Change it to
pr_debug to avoid confusion.
Change-Id: Ibac051bff83ded253a48528ec818765b58eef073
Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org>
diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c
index 0a05c0a..966bdb0 100644
--- a/arch/arm/mm/dma-mapping.c
+++ b/arch/arm/mm/dma-mapping.c
@@ -2608,7 +2608,7 @@ static bool arm_setup_iommu_dma_ops(struct device *dev, u64 dma_base, u64 size,
}
if (__arm_iommu_attach_device(dev, mapping)) {
- pr_warn("Failed to attached device %s to IOMMU_mapping\n",
+ pr_debug("Failed to attached device %s to IOMMU_mapping\n",
dev_name(dev));
arm_iommu_release_mapping(mapping);
return false;