Re: [PATCH 4/6] dma-mapping: merge direct and noncoherent ops

From: Christoph Hellwig
Date: Thu Nov 01 2018 - 01:14:03 EST


On Wed, Oct 31, 2018 at 08:50:53PM +0000, Maciej W. Rozycki wrote:
> On Wed, 31 Oct 2018, Christoph Hellwig wrote:
>
> > Can you send me your .config?
>
> Sure, attached.
>
> This is an updated 4.19 defconfig I was going to submit as I tripped over
> this problem, so just rename it to .config and use `make olddefconfig' to
> regenerate a full version.

Fails to compile for me with:

cc1: error: â-march=r3000â requires â-mfp32â

using the x86_64 corss gcc 8 from Debian testing.

Either way the config looks like we have all the required bits for
non-coherent dma support. The only guess is that somehow
dma_cache_wback_inv aren't hooked up to the right functions for some
reason, but I can't really think off why.