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

Commit 6be3f204 authored by Bruce Levy's avatar Bruce Levy Committed by Ashwini Muduganti
Browse files

Revert "iommu: iommu-debug: Mark domain as debug domain"



This reverts commit edc52dcc.

Change-Id: I78a39fdf19d648fd340ff13b8ab9af2fb4d59913
Signed-off-by: default avatarBruce Levy <blevy@codeaurora.org>
Signed-off-by: default avatarAshwini Muduganti <amudug@codeaurora.org>
parent 724aa60f
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -297,7 +297,6 @@ static void iommu_debug_device_profiling(struct seq_file *s, struct device *dev,
		}
	}

	domain->is_debug_domain = true;
	if (iommu_attach_group(domain, dev->iommu_group)) {
		seq_puts(s,
			 "Couldn't attach new domain to device. Is it already attached?\n");
@@ -552,7 +551,6 @@ static int iommu_debug_profiling_fast_dma_api_show(struct seq_file *s,
		goto out_release_mapping;
	}

	mapping->domain->is_debug_domain = true;
	if (arm_iommu_attach_device(dev, mapping)) {
		seq_puts(s, "fast_smmu_attach_device failed\n");
		goto out_release_mapping;
@@ -1175,7 +1173,6 @@ static int __apply_to_new_mapping(struct seq_file *s,
		goto out_release_mapping;
	}

	mapping->domain->is_debug_domain = true;
	if (arm_iommu_attach_device(dev, mapping))
		goto out_release_mapping;

@@ -1242,7 +1239,6 @@ static int iommu_debug_functional_arm_dma_api_show(struct seq_file *s,
	if (!mapping)
		goto out;

	mapping->domain->is_debug_domain = true;
	if (arm_iommu_attach_device(dev, mapping))
		goto out_release_mapping;