Re: [PATCH v7 0/3] PCI/IOMMU: Reserve IOVAs for PCI inbound memory

2017-05-22 Thread Oza Oza
On Tue, May 23, 2017 at 12:48 AM, Alex Williamson wrote: > On Mon, 22 May 2017 22:09:39 +0530 > Oza Pawandeep wrote: > >> iproc based PCI RC and Stingray SOC has limitaiton of addressing only 512GB >> memory at once. >> >> IOVA allocation honors device's coherent_dma_mask/dma_mask. >> In PCI case

Re: [PATCH v7 0/3] PCI/IOMMU: Reserve IOVAs for PCI inbound memory

2017-05-22 Thread Alex Williamson
On Mon, 22 May 2017 22:09:39 +0530 Oza Pawandeep wrote: > iproc based PCI RC and Stingray SOC has limitaiton of addressing only 512GB > memory at once. > > IOVA allocation honors device's coherent_dma_mask/dma_mask. > In PCI case, current code honors DMA mask set by EP, there is no > concept of

[PATCH v7 0/3] PCI/IOMMU: Reserve IOVAs for PCI inbound memory

2017-05-22 Thread Oza Pawandeep
iproc based PCI RC and Stingray SOC has limitaiton of addressing only 512GB memory at once. IOVA allocation honors device's coherent_dma_mask/dma_mask. In PCI case, current code honors DMA mask set by EP, there is no concept of PCI host bridge dma-mask, should be there and hence could truly refle