Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2749257imm; Sun, 30 Sep 2018 04:11:22 -0700 (PDT) X-Google-Smtp-Source: ACcGV632xGxjOlGUeudFD3UXs//j4kDjwr2RLDQ3ZUMXeS2sA9mCXByYvS3yRmNPNpxUTquPluAd X-Received: by 2002:a62:3306:: with SMTP id z6-v6mr6605338pfz.85.1538305881989; Sun, 30 Sep 2018 04:11:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538305881; cv=none; d=google.com; s=arc-20160816; b=b406EGh8HVXPIzVPc5Kk1JzZOeSUAbTDBfj6ZiRHtTcW1vhTLs3pmqMjUKjWlSu1qK B+a02ckzxBxt9IQklgZU7C5cEUPT76IrwlegivA4VjFKMcNVFfprm5lybjeEvjwTTW7R PGfEs0Ub+h0hS0gGdhqC+W9NtmFXRQWfEcpPs7j8s5ugZ/QZ5T+KVzQM+1bbrEOwmvkq bJRb4HBcov+XoD71QsqhANLmwIz4/D8YNz5xhAUmWm13k1V0pCm6xsWhXa2SnynfZRfc nC0V2exNTSzrKeaTOp1WRzzqLt91t0RpZF7XX4qZ2ObKdxBex3i5Wut6NwbpxC3KBiIZ DEvQ== 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; bh=A0g7AOdUeu0O4LJu8EKXXXEe0gaCzptZXxsrDbnGJg0=; b=SpakwOkpRzvYYtT6D2DdlN+W0AjO0FbJ7uIoowUbiuA+8ZZAmziFLKWxA2lVwcUgzQ Vx7IAl4X/hUxXm/+KN3OpiG9lzkzkNjNxABnotMh8vr1stESxiFdFfIWekfQAXjVzYRc jRaUgSUaMSr2o8LJiVY7gBjwrCDLmnu4ydn6LzgjXeTHmVARuCHOvj435CtI4BlzDXdx tPdODks6HG09bdpArPpoo+tBAAHPckkyeGZNFvHZPXYjcTmiSZy4XOWOL9ZQjiluE6Bw 6SodK8E6y/pKnXd1CdqF6M1NYvoGIGt2kQrWZG0Be3dNfYeRRSBIpxqu4LtTWY+Wp25O RZXQ== 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 30-v6si9920852pla.282.2018.09.30.04.10.53; Sun, 30 Sep 2018 04:11:21 -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 S1728380AbeI3RnY (ORCPT + 99 others); Sun, 30 Sep 2018 13:43:24 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:45326 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728220AbeI3RnY (ORCPT ); Sun, 30 Sep 2018 13:43:24 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.09676321|-1;CH=blue;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03291;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=18;RT=18;SR=0;TI=SMTPD_---.Cxqz6Xt_1538305836; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.Cxqz6Xt_1538305836) by smtp.aliyun-inc.com(10.147.42.241); Sun, 30 Sep 2018 19:10:37 +0800 Date: Sun, 30 Sep 2018 19:10:36 +0800 From: Guo Ren To: Christoph Hellwig Cc: akpm@linux-foundation.org, arnd@arndb.de, daniel.lezcano@linaro.org, davem@davemloft.net, gregkh@linuxfoundation.org, jason@lakedaemon.net, marc.zyngier@arm.com, mark.rutland@arm.com, mchehab+samsung@kernel.org, peterz@infradead.org, robh@kernel.org, robh+dt@kernel.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, devicetree@vger.kernel.org, green.hu@gmail.com Subject: Re: [PATCH V6 20/33] csky/dma: fix up dma_mapping error Message-ID: <20180930111036.GA5395@guoren> References: <378d4064bf29863785f4cc637999e07507e2e926.1538058840.git.ren_guo@c-sky.com> <20180928162116.GF19827@infradead.org> <20180929150840.GA9311@guoren-Inspiron-7460> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180929150840.GA9311@guoren-Inspiron-7460> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 29, 2018 at 11:08:41PM +0800, Guo Ren wrote: > On Fri, Sep 28, 2018 at 09:21:16AM -0700, Christoph Hellwig wrote: > > On Fri, Sep 28, 2018 at 08:51:17AM +0800, Guo Ren wrote: > > > The arch_sync_dma_for_cpu()/arch_sync_dma_for_device() implementation is > > > broken for some combinations that end up in a BUG() instead of performing > > > the necessary flushes. > > > > This should be folded into the original patch adding this code. > Ok, I'll rebase it. Sorry, my git-tree has been included in linux-next. I really don't want to rebase it.