iommu: Make IOVA domain low limit flexible
authorRobin Murphy <robin.murphy@arm.com>
Mon, 12 Jan 2015 17:51:15 +0000 (17:51 +0000)
committerJoerg Roedel <jroedel@suse.de>
Mon, 19 Jan 2015 13:55:22 +0000 (14:55 +0100)
commit1b72250076dde4276acecf3a7da722b185703e78
tree86711d7e91dfb6ad914c23a18e8a12f5f30169ee
parent85b4545629663486b7f71047ce3b54fa0ad3eb28
iommu: Make IOVA domain low limit flexible

To share the IOVA allocator with other architectures, it needs to
accommodate more general aperture restrictions; move the lower limit
from a compile-time constant to a runtime domain property to allow
IOVA domains with different requirements to co-exist.

Also reword the slightly unclear description of alloc_iova since we're
touching it anyway.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c
drivers/iommu/iova.c
include/linux/iova.h