RE: [RFC PATCH] iommu/dma: check pci host bridge dma_mask for IOVA allocation

2017-03-15 Thread Oza Oza
oerg Roedel' Cc: 'io...@lists.linux-foundation.org'; 'linux-kernel@vger.kernel.org'; 'linux-arm-ker...@lists.infradead.org'; 'bcm-kernel-feedback-l...@broadcom.com'; 'a...@arndb.de'; 'Nikita Yushchenko' Subject: RE: [RFC PATCH] io

RE: [RFC PATCH] iommu/dma: check pci host bridge dma_mask for IOVA allocation

2017-03-14 Thread Oza Oza
...@broadcom.com; a...@arndb.de; Nikita Yushchenko Subject: Re: [RFC PATCH] iommu/dma: check pci host bridge dma_mask for IOVA allocation On 14/03/17 08:48, Oza Pawandeep wrote: > It is possible that PCI device supports 64-bit DMA addressing, and > thus it's driver sets device&#x

Re: [RFC PATCH] iommu/dma: check pci host bridge dma_mask for IOVA allocation

2017-03-14 Thread Robin Murphy
On 14/03/17 08:48, Oza Pawandeep wrote: > It is possible that PCI device supports 64-bit DMA addressing, > and thus it's driver sets device's dma_mask to DMA_BIT_MASK(64), > however PCI host bridge may have limitations on the inbound > transaction addressing. As an example, consider NVME SSD device