Re: [PATCH 13/22] nds32: use generic dma_noncoherent_ops

From: Christoph Hellwig
Date: Wed Apr 25 2018 - 02:39:27 EST


On Wed, Apr 25, 2018 at 09:43:43AM +0800, Greentime Hu wrote:
> Hi Crhistoph,
>
> The ftmac100 works if I revert this commit.

Thanks. ftmac100 only use dma_map_page, which in the old nds32 code
is just doing a plain page_address and never kmaps. Can you apply
the patch below on the tree with the origin "nds32: use generic
dma_noncoherent_ops" reverted? This always just uses page_address,
although that, just like the original code is broken if you actually
have highmem that needs to be mapped:

---