Re: [RFC v3 05/15] iommu/arm-smmu: implement alloc/free_reserved_iova_domain

2016-02-18 Thread Alex Williamson
On Thu, 18 Feb 2016 11:09:17 + Robin Murphy wrote: > Hi Eric, > > On 12/02/16 08:13, Eric Auger wrote: > > Implement alloc/free_reserved_iova_domain for arm-smmu. we use > > the iova allocator (iova.c). The iova_domain is attached to the > > arm_smmu_domain struct. A

Re: [RFC v3 05/15] iommu/arm-smmu: implement alloc/free_reserved_iova_domain

2016-02-18 Thread Eric Auger
Hi Robin, On 02/18/2016 12:09 PM, Robin Murphy wrote: > Hi Eric, > > On 12/02/16 08:13, Eric Auger wrote: >> Implement alloc/free_reserved_iova_domain for arm-smmu. we use >> the iova allocator (iova.c). The iova_domain is attached to the >> arm_smmu_domain struct. A mutex is introduced to

Re: [RFC v3 05/15] iommu/arm-smmu: implement alloc/free_reserved_iova_domain

2016-02-18 Thread Robin Murphy
Hi Eric, On 12/02/16 08:13, Eric Auger wrote: Implement alloc/free_reserved_iova_domain for arm-smmu. we use the iova allocator (iova.c). The iova_domain is attached to the arm_smmu_domain struct. A mutex is introduced to protect it. The IOMMU API currently leaves IOVA management entirely up

[RFC v3 05/15] iommu/arm-smmu: implement alloc/free_reserved_iova_domain

2016-02-12 Thread Eric Auger
Implement alloc/free_reserved_iova_domain for arm-smmu. we use the iova allocator (iova.c). The iova_domain is attached to the arm_smmu_domain struct. A mutex is introduced to protect it. Signed-off-by: Eric Auger --- v2 -> v3: - select IOMMU_IOVA when ARM_SMMU or