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 5B5FDEB64D9 for ; Thu, 15 Jun 2023 06:00:09 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xPXUl8r7A8T0Wscr+SU73Gv3Kpt9NF1IxbGJkWeBncA=; b=iHFkDXyFmDpW7G deF874CirmpNGBFrEKtdDXMEy20/Da9cmEzGBkx2aSji7Yx7QqvcQ5ZSmUP8sA8yuVTmldAlJyyKh 6VK1JNoodeI1ysMdIucQ+Xy2+5/zKDv7jVCuCXMdl33GhYAPnMCwIuApJaTWgnAEuQAkf4nBCqZ1P tmC2MXEHOf15UnH9Vg4dHmXY4HQ/QBz4q2vv5iMDSA5YXUYPnOAcyI68AI4pb9YvGRVE/EKhr+/e/ dMnuno4syJsyjEFkApPn15FgdV1XdVh1e7rcGqZ+PjVSnCYOEHib5OqDeKzUvsW/f7hKRO+hE2akM Hp+1RLaWKHGJ38ZBHFvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q9g1c-00Dn45-0k; Thu, 15 Jun 2023 06:00:04 +0000 Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1q9g1Z-00Dn3R-2f; Thu, 15 Jun 2023 06:00:01 +0000 Date: Wed, 14 Jun 2023 23:00:01 -0700 From: Christoph Hellwig To: Arnd Bergmann Cc: Prabhakar , "Conor.Dooley" , Geert Uytterhoeven , guoren , Andrew Jones , Paul Walmsley , Palmer Dabbelt , Albert Ou , Samuel Holland , linux-riscv@lists.infradead.org, Christoph Hellwig , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Linux-Renesas , Biju Das , "Lad, Prabhakar" Subject: Re: [PATCH v9 3/6] riscv: mm: dma-noncoherent: nonstandard cache operations support Message-ID: References: <20230614104759.228372-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20230614104759.228372-4-prabhakar.mahadev-lad.rj@bp.renesas.com> <4f69fcfe-debb-4979-9070-1d58ba35032c@app.fastmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4f69fcfe-debb-4979-9070-1d58ba35032c@app.fastmail.com> 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 Wed, Jun 14, 2023 at 02:35:44PM +0200, Arnd Bergmann wrote: > I understand that Christoph will still not like this, but I think this > is as good as it gets, making the standard variant the fast path, > and using the function pointers only for the nonstandard cases. Yes. And I really do not want to make the non-standard cases easy. The extension to do cache maintenance have been ratified for a while and under discussion for much longer. Adding random crap because vendors suck is a bad idea, and we should not be adding this crap. _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv 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 91299EB64D9 for ; Thu, 15 Jun 2023 06:00:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242654AbjFOGAV (ORCPT ); Thu, 15 Jun 2023 02:00:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240931AbjFOGAP (ORCPT ); Thu, 15 Jun 2023 02:00:15 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8AC726B9; Wed, 14 Jun 2023 23:00:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ML9VMp4RIG14LapkjOfTTLIBvPrls/xfIJ+IS48qD5Q=; b=TVYtRFJg8K8uqLENzR/ActzZHN wElNdCQzqpBSSrjPTOAsfjn1GAoE9zMlkAso93BtAuVCFm41sPlUaswPyuLnXELflsjCacSCsM9yl 7uSvIvrlqm4jTLwxEIDJRrDDN1gfyZ9r9OF/ILr5Uilct+ouGKQnW0+3uVJKebSh+/gxAI3+cuR2n iJ3F4n43CMudq9FX2PMGmBDHMavYlP5rU+aOacbXPhxjC3cSYyiA/IcS8ii56GXWZNqwPJqBibMvp i9Iau+MQ5ZL5gX3HwsUDwGIR2z+2mGQhk95ith6k01lHhX/QByDU5hrrzGqxUugXWRxEuNMCxZ9w0 HrMLawqg==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1q9g1Z-00Dn3R-2f; Thu, 15 Jun 2023 06:00:01 +0000 Date: Wed, 14 Jun 2023 23:00:01 -0700 From: Christoph Hellwig To: Arnd Bergmann Cc: Prabhakar , "Conor.Dooley" , Geert Uytterhoeven , guoren , Andrew Jones , Paul Walmsley , Palmer Dabbelt , Albert Ou , Samuel Holland , linux-riscv@lists.infradead.org, Christoph Hellwig , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Linux-Renesas , Biju Das , "Lad, Prabhakar" Subject: Re: [PATCH v9 3/6] riscv: mm: dma-noncoherent: nonstandard cache operations support Message-ID: References: <20230614104759.228372-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20230614104759.228372-4-prabhakar.mahadev-lad.rj@bp.renesas.com> <4f69fcfe-debb-4979-9070-1d58ba35032c@app.fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4f69fcfe-debb-4979-9070-1d58ba35032c@app.fastmail.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org On Wed, Jun 14, 2023 at 02:35:44PM +0200, Arnd Bergmann wrote: > I understand that Christoph will still not like this, but I think this > is as good as it gets, making the standard variant the fast path, > and using the function pointers only for the nonstandard cases. Yes. And I really do not want to make the non-standard cases easy. The extension to do cache maintenance have been ratified for a while and under discussion for much longer. Adding random crap because vendors suck is a bad idea, and we should not be adding this crap.