Messages in this thread | | | Subject | Re: [PATCH 2/2] arm: use swiotlb for bounce buffer on LPAE configs | From | Nicolas Saenz Julienne <> | Date | Wed, 24 Jul 2019 19:23:50 +0200 |
| |
On Tue, 2019-07-09 at 07:20 -0700, Christoph Hellwig wrote: > The DMA API requires that 32-bit DMA masks are always supported, but on > arm LPAE configs they do not currently work when memory is present > above 4GB. Wire up the swiotlb code like for all other architectures > to provide the bounce buffering in that case. > > Fixes: 21e07dba9fb11 ("scsi: reduce use of block bounce buffers"). > Reported-by: Roger Quadros <rogerq@ti.com> > Signed-off-by: Christoph Hellwig <hch@lst.de> > ---
Hi Chistoph, Out of curiosity, what is the reason stopping us from using dma-direct/swiotlb instead of arm_dma_ops altogether?
Regards, Nicolas
[unhandled content-type:application/pgp-signature] | |