summaryrefslogtreecommitdiff
path: root/drivers/xen/xen-acpi-processor.c
diff options
context:
space:
mode:
authorLiam Mark <lmark@codeaurora.org>2017-04-03 16:43:53 -0700
committerLiam Mark <lmark@codeaurora.org>2017-04-18 11:34:53 -0700
commit4f8307107888499c15838aa83c5656c7cd3beaf4 (patch)
treec8fa512d3931a97ff514ffc676af34944e08fced /drivers/xen/xen-acpi-processor.c
parent7f0d77b390e15aa9ea4b517aec21a0e88e02f5a0 (diff)
iommu/arm-smmu: add support to configure IOVA range
Allow clients to specify the IOVA range for fastmap clients via the DOMAIN_ATTR_GEOMETRY domain attribute. Presently fastmap only allocates page tables for the IOVA range specified during the create mapping call. However clients may want to use IOVA addresses outside this range, such as for their calls to iommu_map. So allow clients to extend the available IOVA space by setting the DOMAIN_ATTR_GEOMETRY domain attribute's iommu_domain_geometry.aperture_start to the new start address of the IOVA space and by setting iommu_domain_geometry.aperture_end to the new end address of the IOVA space. The new IOVA space created by iommu_domain_geometry.aperture_start and iommu_domain_geometry.aperture_end will be a superset of the IOVA range which was created through the create mapping call. The DOMAIN_ATTR_GEOMETRY domain attribute can only be set before attaching. Calls to set the DOMAIN_ATTR_GEOMETRY domain attribute can only be used to extend the IOVA space, it cannot shrink the range. Note that extending the IOVA range will not change the range of IOVA addresses which will be available to the DMA APIs. Change-Id: Ib389e019a022d98417884002de08115fb0fc9384 Signed-off-by: Liam Mark <lmark@codeaurora.org>
Diffstat (limited to 'drivers/xen/xen-acpi-processor.c')
0 files changed, 0 insertions, 0 deletions