From ffd9e0b80f4fdffbfe1322882b7518d33b43cd56 Mon Sep 17 00:00:00 2001 From: Mitchel Humpherys Date: Wed, 15 Apr 2015 15:27:43 -0700 Subject: 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: Mitchel Humpherys --- drivers/iommu/arm-smmu.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c index ef35f89dafd7..2fb4f2052fc7 100644 --- a/drivers/iommu/arm-smmu.c +++ b/drivers/iommu/arm-smmu.c @@ -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; } -- cgit v1.2.3