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

Commit 3f52f2c9 authored by Mitchel Humpherys's avatar Mitchel Humpherys Committed by Matt Wagantall
Browse files

Revert "iommu/arm-smmu: implement DOMAIN_ATTR_PT_BASE_ADDR"



This reverts commit c8690d83e1e1b09d55ed75d6776efe42915b9c95 since it
won't compile when arm-smmu.c moves to the generic page table
allocator (since cfg.pgd is being deleted there).  We'll bring this back
in with the appropriate fix once the generic page table allocator patch
is in.

Change-Id: I956d902999a05653e70f7cb7a90ac5010f9926de
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent 12eed395
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -2216,9 +2216,6 @@ static int arm_smmu_domain_get_attr(struct iommu_domain *domain,
		*((int *)data) = !!(smmu_domain->attributes &
				(1 << DOMAIN_ATTR_COHERENT_HTW_DISABLE));
		return 0;
	case DOMAIN_ATTR_PT_BASE_ADDR:
		*((phys_addr_t *)data) = virt_to_phys(smmu_domain->cfg.pgd);
		return 0;
	default:
		return -ENODEV;
	}