summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchel Humpherys <mitchelh@codeaurora.org>2015-04-15 15:27:43 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:12:16 -0700
commitffd9e0b80f4fdffbfe1322882b7518d33b43cd56 (patch)
tree4d15996d252fdaf3d335111a3493cc62d19c8e51
parent13e0a99324ea7d87c4fba0fd15d2c8f4e341fa69 (diff)
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 <mitchelh@codeaurora.org>
-rw-r--r--drivers/iommu/arm-smmu.c3
1 files changed, 0 insertions, 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;
}