Re: [PATCH] iommu/dma-iommu: respect established iova region limits

2016-07-13 Thread Robin Murphy
Hi Nate, On 13/07/16 17:41, Nate Watterson wrote: > In the current dma-iommu implementation, the upper limit used when > allocating iovas is based on the calling device's dma_mask without > considering the potentially more restrictive iova limits established > in iommu_dma_init_domain. To ensure

[PATCH] iommu/dma-iommu: respect established iova region limits

2016-07-13 Thread Nate Watterson
In the current dma-iommu implementation, the upper limit used when allocating iovas is based on the calling device's dma_mask without considering the potentially more restrictive iova limits established in iommu_dma_init_domain. To ensure that iovas are allocated within the expected iova region,