From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 4/6] dma-mapping: merge direct and noncoherent ops Date: Thu, 1 Nov 2018 06:13:59 +0100 Message-ID: <20181101051359.GA4164@lst.de> References: <20180914095808.22202-1-hch@lst.de> <20180914095808.22202-5-hch@lst.de> <20181031203206.GA28337@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: "Maciej W. Rozycki" Cc: Christoph Hellwig , iommu@lists.linux-foundation.org, Marek Szyprowski , Robin Murphy , Paul Burton , Greg Kroah-Hartman , linux-mips@linux-mips.org, linux-kernel@vger.kernel.org List-Id: iommu@lists.linux-foundation.org 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.