Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1683364imm; Thu, 19 Jul 2018 06:14:29 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdjBXCDNoFLpEJAb1zDFsBTt4hUa1KZbbysP+WZA8YuLECp5xcB5/vPLqOt7e5k5sDPKdPu X-Received: by 2002:a65:46ca:: with SMTP id n10-v6mr10086836pgr.345.1532006069877; Thu, 19 Jul 2018 06:14:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532006069; cv=none; d=google.com; s=arc-20160816; b=fPYxd61GTsP/jz8+LkQwGDsIRK10J15dH4ZWwCnEPjV12XH0S9oWTcdISVwNMtQVwh /ElAgDL3HrcidDYuw5KrzrwXC4y9a2aNN7ZdMjUicOpQjmVnNIA8WH1hBX5wxhu0sv3C pdFPGZFWOPlqmA9Vt3fKo0pb2ppVUCT/yNIt9VwZm/zmBzeVWGvqlj3efZeHWl3VKJaK yj2J00mPCABqvkqphqGP8ArlqkDF11Y9Q6Y3debstdfJgoH3u9FPenZchypYCMVvTLAC vGFoRiktysGnOhIn5vsObYZ6Okevfm+mVF6rrrFDYHJvnXmLD+b70dxSF2ZEggZqY23q q6AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=WUiQRz8d9G59/Pn0/uY153o1JQcALjFHk6yWPDR3hxQ=; b=zhmqQ7P50D/5t9l1lP+0ner39QjonNwnnr5bzqhwf722h3wXt2rFQkG8jAvR2REa0F FNgtZ3fxBu6Has4bJ1wsr97lLAj66TKiuHsobJ9IpeYj+PsWSlRZmS4vnrZ8IyxYtHZe AYyhAQ6Bwp02Xk8vlIaSdbxcK/mnNf9WeC4VtQDfNv6soFHexMibk0YDCWlXWh5NoutI lUVruuSvcv2FP1OBqIE1XaQrZkXBGmRiR+8OdmcGIr0dSXyhZEa/gKDyaN049/MGjgIU b/EFBxBOoS1+pfG7Y4gCsFMin7B2Dn/i1uCBGxkT4+brktJdmcJ3g9R3yWacNDaXAj6B y+gg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l128-v6si5890707pfc.129.2018.07.19.06.14.15; Thu, 19 Jul 2018 06:14:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731711AbeGSN4i (ORCPT + 99 others); Thu, 19 Jul 2018 09:56:38 -0400 Received: from verein.lst.de ([213.95.11.211]:33357 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731600AbeGSN4i (ORCPT ); Thu, 19 Jul 2018 09:56:38 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id 5EFBE68D43; Thu, 19 Jul 2018 15:16:19 +0200 (CEST) Date: Thu, 19 Jul 2018 15:16:19 +0200 From: Christoph Hellwig 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 Subject: Re: [PATCH] dma-mapping: Relax warnings for per-device areas 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 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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!