Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f63f97cf authored by Sudarshan Rajagopalan's avatar Sudarshan Rajagopalan Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarSudarshan Rajagopalan <sudaraja@codeaurora.org>
parent 3d139965
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;