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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6540AC6FD18 for ; Fri, 31 Mar 2023 11:36:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:Cc:To:From:Date:References: In-Reply-To:Message-Id:Mime-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pOdy/UKwx8b6UCo9BoQsSD+r4ZSsuUCNgzDXbPA3GJs=; b=O79AOHWneXBTJK abDo1/yEiIdVHDgwv55f3xz5u4Lco+yQ4erpyo/tl+FmFmvUYLRi2YM2aQd0bchHtYcBWGxigcmsR 2l5iGtSEO8NSvTDqKNxL683E0DrmHyTk+eDG9uvyB9jeI9JtmgVRHF0s/lfiMs3wRGLbU/JX9gckF EIq3DXDUtqUaBAohwVxIhWfR32udx5irenvOygSwzudKh9KMA6WEnioFqOXpCZrnZmil3jaWdYMod SMC7biAWI5al/FAMDS4+KCw25rfvfPea8bdeeGCjAzlBlJbt2m9UzfFklrTnFJFMSMQ8CGqai7KzK wR8kBsl6SoZFf6pUQcLg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1piD3d-0079Ji-3C; Fri, 31 Mar 2023 11:36:37 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1piD3a-0079Il-1F for linux-riscv@lists.infradead.org; Fri, 31 Mar 2023 11:36:36 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id E6DF75C0101; Fri, 31 Mar 2023 07:36:32 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Fri, 31 Mar 2023 07:36:32 -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=fm1; t=1680262592; x=1680348992; bh=lA TVIt48Hpo+q3JJzTeR8jiPkek4/jt/yPq+C0ofGOc=; b=qwOPUeI5fevhA8XQSD cyLK+sTtkxX23M69wn8jJd1j5bycqOJ3N68bTC1+LUzAb9nPYwglJFWJs3CRp/B4 wG3zDOMBp0yYsmnNz3z1aAXWTzMqvMteifmzgNpSaj8cbYgKoeLkOdIay6carwKM 1hTE7Ai0L7938hAZGaGKHKimFUTQQ7M1Ci6bmSiF99A+SrUgkKO8zhyDI1BKBWDA j1plG8fdUB33NdxDeSRaYM8+ntmYOFzX0Aie+06a6MmQFTn7Xl0bNUGbs+IV+t6v kHbreO/5AmGeAPaqA/D/wSQIIEsgUBnJ/hPR7BLQBZxW1CA6/9lTXONsFlkXKkJu ZfjA== 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=fm2; t=1680262592; x=1680348992; bh=lATVIt48Hpo+q 3JJzTeR8jiPkek4/jt/yPq+C0ofGOc=; b=lC0u06xIA9SXGzlgtSXgNq9N7A9R6 ZLflqDYtON3uJPnuT/DmXFmjCniwajtkC+CIL0pscI1A0D2aaxh1UgJzQ+P5E0pg s+jEiDJyKp3lP1ea21OTCmkGboZr+JHsX6UF6JDayIDy4aeORr0ju+q7xeEbF0OH KIBho75TyesT3bEzI608oyD4ksM5DfuUH17++cMGq/OcdibNWyAMEpzGPZlItVtA 7RAt5rdaUi21P5aCCN6aeWSQLXPef89hcZg5QxV5l7kSfybHDd1lz7EgrGeDKAAZ ponC0W30tfTnao/RlPzqBpwpB2mYO35Sl1+igfOrN/QPqqQE7+I5NsgzA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeiuddgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4667FB6008D; Fri, 31 Mar 2023 07:36:32 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-238-g746678b8b6-fm-20230329.001-g746678b8 Mime-Version: 1.0 Message-Id: <08eace10-3eee-481a-b1b4-de58e94cd828@app.fastmail.com> In-Reply-To: <50e932df-cb20-4679-b911-fd9d7f0f2c1d@spud> References: <20230330204217.47666-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20230330204217.47666-2-prabhakar.mahadev-lad.rj@bp.renesas.com> <6ca5941a-8803-477d-8b40-17292decc5af@app.fastmail.com> <50e932df-cb20-4679-b911-fd9d7f0f2c1d@spud> Date: Fri, 31 Mar 2023 13:36:11 +0200 From: "Arnd Bergmann" To: "Conor.Dooley" , Prabhakar Cc: "Geert Uytterhoeven" , =?UTF-8?Q?Heiko_St=C3=BCbner?= , guoren , "Andrew Jones" , "Paul Walmsley" , "Palmer Dabbelt" , "Albert Ou" , "Samuel Holland" , linux-riscv@lists.infradead.org, "Rob Herring" , "Krzysztof Kozlowski" , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Linux-Renesas , "Biju Das" , "Lad, Prabhakar" Subject: Re: [PATCH v7 1/6] riscv: mm: dma-noncoherent: Switch using function pointers for cache management X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230331_043634_746907_122C7352 X-CRM114-Status: GOOD ( 10.54 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Fri, Mar 31, 2023, at 12:55, Conor Dooley wrote: > On Fri, Mar 31, 2023 at 11:37:30AM +0100, Lad, Prabhakar wrote: >> > > Does that actually work? I don't think it does. > If you try to enable RISCV_ISA_ZICBOM then you won't get > RISC_DMA_NONCOHERENT turned on. Run menuconfig and disable support for > Renesas, SiFive and T-Head SoCs & you can replicate. Right, the circular dependency has to be broken in some form. > I think one of RISCV_ISA_ZICBOM and RISCV_DMA_NONCOHERENT should just be > dropped, although I don't know which one to pick! > Making RISCV_DMA_NONCOHERENT user selectable probably makes the most > sense. That sounds good to me. Arnd _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv