Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp516290rwb; Wed, 28 Sep 2022 05:58:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6QFdBDK0Mi0Ktz/dTml3MGEEXKxn0XPfUC7E++Qa3Nny2AbVsqO9lnls9Evw+T8e+XW6ws X-Received: by 2002:a17:907:c1c:b0:782:9d80:8bbf with SMTP id ga28-20020a1709070c1c00b007829d808bbfmr23054278ejc.203.1664369897000; Wed, 28 Sep 2022 05:58:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664369896; cv=none; d=google.com; s=arc-20160816; b=FSc4bilj91TNe+yM4pBKUK0LJB/o0zVgsoZ9xJnAtQUGRuBBWB190hbUC8I+M4eqAN Wcjn35/aZ/Fh5nQe/UUgOsyI8avIuAlHPOBVTqi98nm/QHeJRtzG4pXnpcC7/eBqa1Wu h8qGBoWJFX14pPBgDI6f/d+8Sks5/F5Va02zvdSwwzi5Tw4KDxdkyl30nWQP8P4oIhNb BudvRmOZuuachKMUpbk12U5XAlyTy3zaG0UUQwBW/VorG2F+m2uOhqGJuhhGS/QThKOb qfkbESkeke6344y8zvPQlvV0TKdKgxcW8vAjDlPs1WUrvzdX+nI1l7N7li4lbKNLhAMe qixA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qDfNcxR4PZwQzGc3aGCJZCt8MxsrwYbwS0ZGRLtOrLU=; b=LyVkmMluA+dzh2HURo5za9zz0GMs7WRLhQigeZreY36/F+FidXU4abnoQ+RagBBz3C T33lSzgfDPxaRsTBWN1BXnC+8Vtd4+chnDJnr9SWcb3cVyQZGIKX0g3pZyeoLjM39zAz swrDVpdLIR+DrsGJK9S9IWwABVVOkh/ftdwkG0TT6woB+/A7vjRFi9MAXo6J2Sclfxmi GiRx6EX5pnO5TuQsNDORTC5AGcHLCQ/F+AiJ5qpsLd9lz8IMqpY9ooim0JLByt3ejpOG Y3xJg76TApUta3zVxQanCR+2TMURMfDN5Pgex7uASrfforGRxr1oho/QFDOy31fbv6O/ aBdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=t0ITpa0F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sg20-20020a170907a41400b00782d7448ce5si5496681ejc.734.2022.09.28.05.57.50; Wed, 28 Sep 2022 05:58:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=t0ITpa0F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232166AbiI1MOm (ORCPT + 99 others); Wed, 28 Sep 2022 08:14:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230064AbiI1MOk (ORCPT ); Wed, 28 Sep 2022 08:14:40 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07663645C for ; Wed, 28 Sep 2022 05:14:36 -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=qDfNcxR4PZwQzGc3aGCJZCt8MxsrwYbwS0ZGRLtOrLU=; b=t0ITpa0F56NZNCExQUSx1JsoCr W9qxPGQAhUqbLTEwOgX2LohY52mTpgFosRja72bTYXEAwniSsyJWNn3H1DObXdu46TTR3tZIgaNxR 9XYiaScnwArIMH2HIY2gcrzo4up99aF4IRHtVRypG28ACCOMpYFWj9PpW3ZAtOEkx/V/q/NCKI0fh pv+yiS1v+gAszOzUUNAi+6g/SDS4vSCjW1i0zwf/rA74fC+9yizO0ctjHt3k5VBARF/gTu7qJNdn3 qg2Qfz/U5CtkT8GntZERl5Y5vT8RhZ2kQUEdD+NRJ5Lw3/u/TkSOUoF04D0zbzuLzJsn7VyxxoLEo CLkV/t9w==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1odVxO-00GAkC-MR; Wed, 28 Sep 2022 12:14:30 +0000 Date: Wed, 28 Sep 2022 05:14:30 -0700 From: Christoph Hellwig To: Palmer Dabbelt Cc: apatel@ventanamicro.com, Paul Walmsley , atishp@atishpatra.org, heiko@sntech.de, anup@brainfault.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, mchitale@ventanamicro.com Subject: Re: [PATCH v2 1/4] RISC-V: Fix ioremap_cache() and ioremap_wc() for systems with Svpbmt Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 22, 2022 at 09:35:56AM -0700, Palmer Dabbelt wrote: > Sorry I missed this, I thought it was just part of the rest of this patch > set. That said, I'm not actually sure this is a critical fix: sure it's a > performance problem, and if some driver is expecting ioremap_cache() to go > fast then possibly a pretty big one, but the only Svpmbt hardware that More importantly nothing should be using ioremap_cache at all. It is an API that has long been deprecated in favor of memremap.