Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2991240imm; Mon, 24 Sep 2018 13:38:51 -0700 (PDT) X-Google-Smtp-Source: ACcGV61L1RzXfXBozAlGyyeb+4t9PlqeFpW0bgm5GuAXXVdtvxtCDkj4RyMPd3LW8ZPt8zdElDsS X-Received: by 2002:a62:aa17:: with SMTP id e23-v6mr401260pff.211.1537821531730; Mon, 24 Sep 2018 13:38:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537821531; cv=none; d=google.com; s=arc-20160816; b=abybQDtPP37Pwz0saiFa30BqjWKA96Ic6C3PlMdZc0WSHnXDoOx8eR8yqeQ0eEyfQf iuTKwqKvBlpVCk9f10oiK+VKQVLXfmTAMiyHkeXaNuwpL/IQN4tFGTmquwe7nYpSasSr iEkf2dg1eBHcwr4vGuZ5JomZWvO0vicS6c9AJBT2mxy8aaooDscpPvD4ys9KDG8wX312 T+ftPy6ggZsMZU9EN7Y1jrHKyN/7Ah8cEAk2Wfa2nvFuxgmH67OP3visiOG1NQLkCQtL TKFjn5SW6TIe6dHg0Zn/vfTpioGe0KB/OCtyh19HFbb3Q1aFuvQ0gJJrrcp3ROVVy4vH CC+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=nN8BHrtI6KL/+GnW9cBbHpIBYl14RtMLWXSvPS5awJM=; b=yABy0ErcAwRNVz8qHCyUMf9jSyYevbWpzSuD+gMTLiRwDJnvgeBzBdmdJa+gZWUaZ3 oIdWNP7UOhpxshPM35RMGjiw/rDq6MJW7z8VnkgWSlHW6BrnWgG+FG+4fxieYZrs178q AK07Cvyv92uWz3SG5qfGLHNd0YZuiSIL6Eu06qWtwRLaiSXGx4tZDWG3aOs3OiMKzUQ4 4zB7GXF61MXXfeltyQHG+w2xFXvFMI4dezP1M6JiEL95zr87KvjulS/g5p5+Glc4zUWS paqrUoFE+LQLBfHaXfuTNoVGJlCXx4bvhjn9on/1A0w9jsMxqAt+zk69GJF96132Q/KM 0Z/A== 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 i3-v6si121816pgm.288.2018.09.24.13.38.35; Mon, 24 Sep 2018 13:38:51 -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 S1727736AbeIYCmV (ORCPT + 99 others); Mon, 24 Sep 2018 22:42:21 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:33360 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727440AbeIYCmU (ORCPT ); Mon, 24 Sep 2018 22:42:20 -0400 Received: by mail-qt1-f193.google.com with SMTP id i10-v6so11019669qtp.0; Mon, 24 Sep 2018 13:38:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nN8BHrtI6KL/+GnW9cBbHpIBYl14RtMLWXSvPS5awJM=; b=hDAV7kb57V3TQB+v/d3UH9Er+jrCU4/8e8bX61/BskmLWXpCyEeoi8/XROEMouLigg kRHQQ1tOHD2FNvxT58jJocUnLxL2mHSAicDomBB9r3dw3UsplrHcQebcApRuzQ6PSy9z NHCfegBmGxo8ycOVsO/IcEVKuh+tF0Z/hhSdjEmAnjIwuEu8UMQ8y3tj9Aj0WLXtdEnP ZOKKjb79wDhSUXe0YDU4pUUhimVMW6Uwzf86AZPT4hQlzLKA4rDd6dwwfIIACrciP0HV wvwQOUzvwF4nbBb3A0BuZBktcgcP4aSSkJNWOrSlik1bVNE0ZpjAlPayGyqE0HIu+xcl gC7g== X-Gm-Message-State: ABuFfojktpJx1O6hA8uMpr8y52kidaLlGq3J0oQTwqJtWQThhWFJCEjY yaQk9cyn8gepDRt284qJfeotzAe4G+51Cq+zWoM= X-Received: by 2002:ac8:7254:: with SMTP id l20-v6mr438595qtp.213.1537821500277; Mon, 24 Sep 2018 13:38:20 -0700 (PDT) MIME-Version: 1.0 References: <1ccf1bed89758a5a9b57ac2ce6d11ca898a1b9ae.1537276837.git.ren_guo@c-sky.com> In-Reply-To: <1ccf1bed89758a5a9b57ac2ce6d11ca898a1b9ae.1537276837.git.ren_guo@c-sky.com> From: Arnd Bergmann Date: Mon, 24 Sep 2018 22:38:04 +0200 Message-ID: Subject: Re: [PATCH V7 1/2] csky/dma: bugfix dma_sync_for_cpu/device To: Guo Ren Cc: Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , Mark Rutland , Rob Herring , Stephen Rothwell , Linux Kernel Mailing List , DTML , linux-arch , c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, Greentime Hu Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 18, 2018 at 3:48 PM Guo Ren wrote: > > ref: https://lkml.org/lkml/2018/5/18/1068 > > map for_cpu for_device unmap > TO_DEV writeback none writeback none > TO_CPU invalidate invalidate* invalidate invalidate* > BIDIR writeback invalidate writeback invalidate > > Signed-off-by: Guo Ren Same comment as for the other patch: Explain why the original version is wrong first. When giving a reference to some other discussion, use the "Link" tag above your Signed-off-by line. To point to a discussion on lkml, lore.kernel.org is the recommended archive, so it would become Link: https://lore.kernel.org/lkml/20180518215548.GH17671@n2100.armlinux.org.uk/ Arnd