Received: by 10.223.148.5 with SMTP id 5csp7214095wrq; Thu, 18 Jan 2018 02:27:53 -0800 (PST) X-Google-Smtp-Source: ACJfBovay1dp7dSoFfiQN1Bl/Mq3EUtKdD3Zl8C8gXJOkNKKiGNfqUo3BV6NpNqPLvEJe4IA5eRN X-Received: by 10.98.224.205 with SMTP id d74mr29690156pfm.56.1516271273023; Thu, 18 Jan 2018 02:27:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516271272; cv=none; d=google.com; s=arc-20160816; b=vUY4p227YS8yrocgLjrTQko8rpbz7Lz7LbaKKTF0afI2zKbrM6WJaghvQTrp57Ibqv UNqdWVUxBwASV14EtA1i6V6uiWm3J/ZI3fEVgZWUc2r5+xs4V/C3jEMw27/hyKwh2Srw GRCDy720s06YUc9AtMOvUWY7le8f4nodNTOdstJo5HqPMjnujafEzCBdnF+rg5+/ANhI vfx36q038x2AJGrWciYWpIOdyFXcGtbm8cx4MIG++XRm06zDQ1PJR/I2PNbb4KDryjcb TjBLF1aW1na1eUmmuZef2MyRdbVBBcrKGE1f0ICT1Dp9hTCNH4C5y62/GTwac6bpcNVn tEcw== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=E8tWAGnKbwZuux7FHZc8hyvWIVztWohMZXU/ol0vFuo=; b=ISXPcY2wIvJzNBNNJN+Y9Yu3j18/gd3b5VjCIGvbU2n0zK2T/pC5JKBhESthRWKWJD ZL6q0ex97et/nkBy0hdNGma+DWbihDK4D/fddQXmu79V3F+znoWcWc/CYHTnJLhXxbhq pm+e0A+1aUV4p9LDmW285u1VHW4h6PLxwBDno9q58kP9FZ0Gdo9dROxrt1/p7wvS/5x4 AupxWNyYeaz4ajaClUeqR/7cz1PiPrtMw7jbVVYPk9klDok0qSCRl3gd1MMcMudjiVAy Okn1rP7Cvd+YzLMz6VuofOS1jW9+pyucWST8zyd+Zs+cT/1s7sFuMo2lwJk1Rp9RcYA0 YDmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=BO6mJ6br; 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 j1si5708749pgf.536.2018.01.18.02.27.38; Thu, 18 Jan 2018 02:27:52 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=BO6mJ6br; 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 S1755577AbeARK0i (ORCPT + 99 others); Thu, 18 Jan 2018 05:26:38 -0500 Received: from mail-oi0-f68.google.com ([209.85.218.68]:33038 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754927AbeARK0e (ORCPT ); Thu, 18 Jan 2018 05:26:34 -0500 Received: by mail-oi0-f68.google.com with SMTP id y141so15347670oia.0; Thu, 18 Jan 2018 02:26:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=E8tWAGnKbwZuux7FHZc8hyvWIVztWohMZXU/ol0vFuo=; b=BO6mJ6br7ihCwn/WAdZM1iCCoDvwUpK4RVBNZQIJ0n3lLvPBAlGs6qMwlLxYZRX0I0 iWpkP9T60+R5sUc3Q8wzYnPWYX07Ur4gitj/CIHO1nmJVlhb/dJTaT2M1JUSN8Jc6DrC dR3CuwMPfs75VZCouUqMimcq1+qgRnDJf6A82iFDK+6V4t6//Eg6lMD/SksgdmsEQk95 mbuArRrPJQniDV94Csr9j0U1VxY2AXub6K5G29P4N6TXIbgHSsNpVu3Fagd8mRWfeqUd nvIoGhbWgt6zvBNWYi5m1iVpF9Y2fEM2NGYf5cvT83JyzOzy2oO9vcnoRYFICHauT0wE 4x4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=E8tWAGnKbwZuux7FHZc8hyvWIVztWohMZXU/ol0vFuo=; b=neHWi6g7dYLxud2EFmOtoE5ajuRDAwT9fEV1/wjfGxIsmwyu2GkSiuYtQtgHUZv+8D Pmw6fn31U9bPGYeo/OMEwAj2MNNyzODjBcYTEBZNtiKEGfI2Hsg1Rji9yReOaCmmnqUG aYpbc3XY2DQYUaKvauHnArpnrDJ6c3F1stsucVzil3ye2AQ4RFnZWN98w4aqGr4yCFY7 QWQuFoXcvtQAgtG3yCzLN2kOOcHGUEJ2q7WEgTVyZLQBKPxuRskZkjA/WIqWlMU45FeN HqEEv+knkmNxenST0U2MgDWgER7zq+WMgQvNJsuuSFTucXJcBtvbXC8k+vPm9FzZk2h8 PFDQ== X-Gm-Message-State: AKwxytcQOPNphVrzuyoQtUSppjDZqYKf3X0D6RAW2RgLA5NgumrIRq9x iUlamETKEP/UHkYc5SY8sn0cBcMan120rWAXaTQ= X-Received: by 10.202.225.212 with SMTP id y203mr2781046oig.64.1516271193858; Thu, 18 Jan 2018 02:26:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.17.89 with HTTP; Thu, 18 Jan 2018 02:26:33 -0800 (PST) In-Reply-To: References: From: Arnd Bergmann Date: Thu, 18 Jan 2018 11:26:33 +0100 X-Google-Sender-Auth: iKX1Qhd82i_Ze_F-oViOi511nDo Message-ID: Subject: Re: [PATCH v6 16/36] nds32: DMA mapping API To: Greentime Hu Cc: Greentime , Linux Kernel Mailing List , linux-arch , Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , Networking , Vincent Chen , DTML , Al Viro , David Howells , Will Deacon , Daniel Lezcano , linux-serial@vger.kernel.org, Geert Uytterhoeven , Linus Walleij , Mark Rutland , Greg KH , Guo Ren , Randy Dunlap , David Miller , Jonas Bonn , Stefan Kristiansson , Stafford Horne , Vincent Chen 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 Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch adds support for the DMA mapping API. It uses dma_map_ops for > flexibility. > > Signed-off-by: Vincent Chen > Signed-off-by: Greentime Hu I'm still unhappy about the way the cache flushes are done here as discussed before. It's not a show-stopped, but no Ack from me. Arnd