Re: [RFC 05/11] iommu/dma: iommu_dma_(un)map_mixed

2016-10-04 Thread Auger Eric
Hi Robin, On 04/10/2016 19:18, Robin Murphy wrote: > On 02/10/16 10:56, Christoffer Dall wrote: >> On Fri, Sep 30, 2016 at 02:24:40PM +0100, Robin Murphy wrote: >>> Hi Eric, >>> >>> On 27/09/16 21:48, Eric Auger wrote: iommu_dma_map_mixed and iommu_dma_unmap_mixed operate on

Re: [RFC 05/11] iommu/dma: iommu_dma_(un)map_mixed

2016-10-04 Thread Robin Murphy
On 02/10/16 10:56, Christoffer Dall wrote: > On Fri, Sep 30, 2016 at 02:24:40PM +0100, Robin Murphy wrote: >> Hi Eric, >> >> On 27/09/16 21:48, Eric Auger wrote: >>> iommu_dma_map_mixed and iommu_dma_unmap_mixed operate on >>> IOMMU_DOMAIN_MIXED typed domains. On top of standard iommu_map/unmap

Re: [RFC 05/11] iommu/dma: iommu_dma_(un)map_mixed

2016-10-03 Thread Auger Eric
Hi Robin, On 30/09/2016 15:24, Robin Murphy wrote: > Hi Eric, > > On 27/09/16 21:48, Eric Auger wrote: >> iommu_dma_map_mixed and iommu_dma_unmap_mixed operate on >> IOMMU_DOMAIN_MIXED typed domains. On top of standard iommu_map/unmap >> they reserve the IOVA window to prevent the iova allocator

Re: [RFC 05/11] iommu/dma: iommu_dma_(un)map_mixed

2016-10-02 Thread Christoffer Dall
On Fri, Sep 30, 2016 at 02:24:40PM +0100, Robin Murphy wrote: > Hi Eric, > > On 27/09/16 21:48, Eric Auger wrote: > > iommu_dma_map_mixed and iommu_dma_unmap_mixed operate on > > IOMMU_DOMAIN_MIXED typed domains. On top of standard iommu_map/unmap > > they reserve the IOVA window to prevent the

Re: [RFC 05/11] iommu/dma: iommu_dma_(un)map_mixed

2016-09-30 Thread Robin Murphy
Hi Eric, On 27/09/16 21:48, Eric Auger wrote: > iommu_dma_map_mixed and iommu_dma_unmap_mixed operate on > IOMMU_DOMAIN_MIXED typed domains. On top of standard iommu_map/unmap > they reserve the IOVA window to prevent the iova allocator to > allocate in those areas. > > Signed-off-by: Eric Auger

[RFC 05/11] iommu/dma: iommu_dma_(un)map_mixed

2016-09-27 Thread Eric Auger
iommu_dma_map_mixed and iommu_dma_unmap_mixed operate on IOMMU_DOMAIN_MIXED typed domains. On top of standard iommu_map/unmap they reserve the IOVA window to prevent the iova allocator to allocate in those areas. Signed-off-by: Eric Auger --- drivers/iommu/dma-iommu.c |