Re: [PATCH 04/13] x86: use generic swiotlb_ops

2018-03-12 Thread Christoph Hellwig
On Thu, Mar 08, 2018 at 04:03:12PM +, Robin Murphy wrote: >> Also fix the sta2x11 case. For that SOC the dma map ops need an >> additional physical to dma address translations. For swiotlb buffers >> that is done throught the phys_to_dma helper, but the sta2x11_dma_ops >> also added an additi

Re: [PATCH 04/13] x86: use generic swiotlb_ops

2018-03-08 Thread Robin Murphy
Hi Christoph, On 05/03/18 17:46, Christoph Hellwig wrote: The generic swiotlb dma ops were based on the x86 ones and provide equivalent functionality, so use them. Also fix the sta2x11 case. For that SOC the dma map ops need an additional physical to dma address translations. For swiotlb buff

[PATCH 04/13] x86: use generic swiotlb_ops

2018-03-05 Thread Christoph Hellwig
The generic swiotlb dma ops were based on the x86 ones and provide equivalent functionality, so use them. Also fix the sta2x11 case. For that SOC the dma map ops need an additional physical to dma address translations. For swiotlb buffers that is done throught the phys_to_dma helper, but the sta