From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH] dma-mapping: Relax warnings for per-device areas Date: Thu, 19 Jul 2018 15:16:19 +0200 Message-ID: <20180719131619.GA13129@lst.de> References: <1f8262d206c6886072d04cc93454f6e3f812bd20.1530623284.git.robin.murphy@arm.com> <20180705193613.GA28905@lst.de> <20180715122826.GB2342@localhost.localdomain> <20180717145725.GA22109@lst.de> <20180717163330.GE2342@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Geoff Levand Cc: Fredrik Noring , Christoph Hellwig , Robin Murphy , m.szyprowski@samsung.com, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, JuergenUrban@gmx.de List-Id: iommu@lists.linux-foundation.org On Wed, Jul 18, 2018 at 02:55:59PM -0700, Geoff Levand wrote: > Hi, > > On 07/17/2018 09:33 AM, Fredrik Noring wrote: > >>> Here are three other regressions related to the coherent mask WARN_ON_ONCE: > >> > >> They are a pretty strong indication that yes, you should really set > >> the coherent mask if you ever do coherent allocations.. > > > > I'm unfortunately unfamiliar with the USB drivers for the PS3. Geoff, what > > do you think about setting a coherent mask? > > I guess we need to add a dma_set_coherent_mask() call in the driver > probe routines. I'll send out a patch. Yes, exactly!