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)
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

Simple merge
Simple merge
Simple merge