Re: consolidate direct dma mapping and swiotlb support

2017-12-30 Thread Christoph Hellwig
On Fri, Dec 29, 2017 at 10:52:14AM +, Vladimir Murzin wrote: > Is it available in your dma-mapping.git or somewhere else? git://git.infradead.org/users/hch/misc.git dma-direct Gitweb: http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/dma-direct ___

Re: consolidate direct dma mapping and swiotlb support

2017-12-29 Thread Vladimir Murzin
On 29/12/17 08:18, Christoph Hellwig wrote: > Almost every architecture supports a direct dma mapping implementation, > where no iommu is used and the device dma address is a 1:1 mapping to > the physical address or has a simple linear offset. Currently the > code for this implementation is most d

consolidate direct dma mapping and swiotlb support

2017-12-29 Thread Christoph Hellwig
Almost every architecture supports a direct dma mapping implementation, where no iommu is used and the device dma address is a 1:1 mapping to the physical address or has a simple linear offset. Currently the code for this implementation is most duplicated over the architectures, and the duplicated