From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8CAB9C83F19 for ; Sun, 27 Aug 2023 19:42:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230087AbjH0Tlx (ORCPT ); Sun, 27 Aug 2023 15:41:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229993AbjH0Tlg (ORCPT ); Sun, 27 Aug 2023 15:41:36 -0400 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 192B312E; Sun, 27 Aug 2023 12:41:33 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id CDA5D5C00ED; Sun, 27 Aug 2023 15:41:29 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Sun, 27 Aug 2023 15:41:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1693165289; x=1693251689; bh=g+ iJPw5Gesu08go7evK/1w0iY0bRXNq6fueZB7pdiHA=; b=Yh0r6H2sjNz+QetRwE tdtHM3RhKhfzwg7AfQbNz6HhU6bHwBoX1koIF2YDKlTcYBAT5AMRUJqJ8fzzSCCE YcvwjrOWlJ9kvBLIgNZ0gPlPdVh3EdEzOQH3zcyXIbmP2mzys1qw5NIMRHfhf+mg 5plnmY4tizE67Ry+iCkGIQA7vDiZ3poIbXIY4VyBhd0+bC0101GrTZYSeHghoP9t rfplb8NcgDeTE31FziDaAn1/S1L7ntnhgu+cId1nxB8RK6THNjBqZGezujNi6vj9 AjJ+nxv5hStUQps7qrJCX36lls9hyx5P394HQhsv+84ObKeRhB4n07R+z8zrKGIi SBkQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1693165289; x=1693251689; bh=g+iJPw5Gesu08 go7evK/1w0iY0bRXNq6fueZB7pdiHA=; b=vKqMqukya2R+qB28RxtqsQow7k/bI Ic1ZDzREhQcOi4CfqJ/bWVCiBBKrSMl98LBN6I9Ub4hIFlcTIyAh7URXfTSl9/Gn VS2eojzKN+Z2/BPvVebUBDDFqZaAG99FTF3WuRZG5F5uMkk3AeLhZCXB+E+DiF3G vcAnMOrr2US/B4GO94pIbjKfZJa+YY5BoQbSQd6rMPkWQAWISAnDCeQciU4nAJ45 wIdOLJ2nN0PagEHdSiyy1slRk5fnUxjU+gJLb1tM97XlnPegAngew8YlthfhBzt0 EEjQO+IAJ0lG9tCzK12npmYW6Mj5UtvUrh1K8Y50oJXBvsZt1/6rd34/w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudefvddgudegtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrg htthgvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedt keetffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grrhhnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4B87CB60089; Sun, 27 Aug 2023 15:41:28 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-647-g545049cfe6-fm-20230814.001-g545049cf Mime-Version: 1.0 Message-Id: <945c3c18-8295-4013-90a8-279b26d0b445@app.fastmail.com> In-Reply-To: References: <20230816232336.164413-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20230816232336.164413-3-prabhakar.mahadev-lad.rj@bp.renesas.com> Date: Sun, 27 Aug 2023 15:41:08 -0400 From: "Arnd Bergmann" To: "Jisheng Zhang" , Prabhakar Cc: "Christoph Hellwig" , "Paul Walmsley" , "Palmer Dabbelt" , "Albert Ou" , "Conor.Dooley" , "Anup Patel" , "Andrew Jones" , linux-kernel@vger.kernel.org, "Geert Uytterhoeven" , "Samuel Holland" , linux-riscv@lists.infradead.org, Linux-Renesas , "Lad, Prabhakar" , "Palmer Dabbelt" , guoren Subject: Re: [PATCH v3 2/3] riscv: dma-mapping: skip invalidation before bidirectional DMA Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 27, 2023, at 06:22, Jisheng Zhang wrote: > On Thu, Aug 17, 2023 at 12:23:35AM +0100, Prabhakar wrote: > > The code could be simplified a lot since after this patch, the action > is always "clean". > I think it's better to leave it at the elaborate version, as I still want to merge my patch series to unify this with the other architectures, and this would introduce a few compile-time conditionals in here. Arnd