Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1011210imm; Wed, 18 Jul 2018 14:57:54 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeE5fyrbQiKw9CQMxOTFdOqV3Vupw+vF/fUL05wrxpDFdN2goZFZ9VPLcp1tJhiM2wYi4t8 X-Received: by 2002:a17:902:6193:: with SMTP id u19-v6mr7415349plj.133.1531951074673; Wed, 18 Jul 2018 14:57:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531951074; cv=none; d=google.com; s=arc-20160816; b=hWm1BUQ5LT5FSECbSAH5Pn3n0RbAxEoEiWxi3zKdvLt360x8Ihj0BCgrNtefMatZLk rmaAUK4XEf4hM5x/Kjw5fCuwg3HIoi48PricSPlTob6LazrU4/D6qAJNJTjDM1WDSzuV ueEcRYUjebduQZwF1N00R9nyFNfYzzy5sn8KZls3p9Y8hhLTgDiWzfU30Dl45rJ1+9aH 6Q9bbaYvE9XSVONelCAGuNuyNJREM/K7f/DSGtdA9rbo+LIeO0kI8PNsDucmw6NW3aao NWszXI8Rks56cV/yjaakdofy/P3cerkwl//A9ci7RpEl4MC1JzzmfUADeWrFmuiLC6Or sfJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=n9sdRV5huwsPMZaAHNKAnlfR/vAMLilVVM7UUWnj6NA=; b=vVd/RLLRh9h/mQccKPijq3AAvACy/jJDrbEz5/zhK/jI5KDPitMe/RHEFL1q4LVdq6 WksYJdJslCRAOQIPYMjqpNjTfkXMzqWfXIRmlbYNtBVfsZom3GiLDG/49EZcMVMz7GbG bZsO0erxutGFPNHRwkjHD+5RETa3qQYiIuUllGsGeWi7EtcjCkbcwdRsC9K8abYFkLkN hDS7TtMbNw1F4BTDjaqGscgi5pe6K+Q/ekHSGUmdV2ZebYsZAFJ15K+23CrZgcRgdoL7 LEGyGvORku80LVauHx0ZuVYDmXnos9pBESywo59i9aSdpYQvKSijwR3qfVtWCS5veIuO YSKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="GK8Uf/W/"; 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 g9-v6si4175317plb.103.2018.07.18.14.57.40; Wed, 18 Jul 2018 14:57:54 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="GK8Uf/W/"; 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 S1729316AbeGRWf4 (ORCPT + 99 others); Wed, 18 Jul 2018 18:35:56 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:38930 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726834AbeGRWf4 (ORCPT ); Wed, 18 Jul 2018 18:35:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=n9sdRV5huwsPMZaAHNKAnlfR/vAMLilVVM7UUWnj6NA=; b=GK8Uf/W/9LqBbLirlagnfPBmu FbRqzWKza0uyoM2xBEw/ivc0lPc5M6OvBkbjIiAEA+fLz8i8ZfCWx6POGljQFwu8/e/6JZPwzz/Of aYp9Dlrff8z/DN0XLhopRd6KID2pefQwvUQ1QHn+dxuukBK8IcdIVo+Qpc+vqlUy5oQ+QA0eEPHMI QMoBfaDPLEh46zMaOKDGWwrOt4ueKOczCvIfGjJzytQrc6lycRW6WUP30vbXfUjlILOr0Om6cYWdm EanFkk3CzPlvyW0SFVf05yWSwag1+TlsOUqlJrE+a85lTlGHTvdFb2d7/LE6RWOfzR9vVacCi3vF7 kjG/QrJkQ==; Received: from 50-233-148-155-static.hfc.comcastbusiness.net ([50.233.148.155] helo=[10.18.6.178]) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1ffuQS-0000T1-Cc; Wed, 18 Jul 2018 21:56:00 +0000 Subject: Re: [PATCH] dma-mapping: Relax warnings for per-device areas To: Fredrik Noring , Christoph Hellwig Cc: Robin Murphy , m.szyprowski@samsung.com, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, JuergenUrban@gmx.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> From: Geoff Levand Message-ID: Date: Wed, 18 Jul 2018 14:55:59 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180717163330.GE2342@localhost.localdomain> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -Geoff