Re: [PATCH 2/2] arm: use swiotlb for bounce buffer on LPAE configs
From: Nicolas Saenz Julienne
Date: Wed Jul 24 2019 - 13:23:59 EST
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@xxxxxx>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
Hi Chistoph,
Out of curiosity, what is the reason stopping us from using dma-direct/swiotlb
instead of arm_dma_ops altogether?
Regards,
Nicolas
Attachment:
signature.asc
Description: This is a digitally signed message part