Re: [PATCH V6 20/33] csky/dma: fix up dma_mapping error

From: Christoph Hellwig
Date: Fri Sep 28 2018 - 12:21:29 EST


On Fri, Sep 28, 2018 at 08:51:17AM +0800, Guo Ren wrote:
> The arch_sync_dma_for_cpu()/arch_sync_dma_for_device() implementation is
> broken for some combinations that end up in a BUG() instead of performing
> the necessary flushes.

This should be folded into the original patch adding this code.