Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp353432rwd; Fri, 19 May 2023 22:08:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4WJSpdua3tNIFfTVyWG0A0IPjT8BjyOS4SENzI8ditAXZHWqjqjXTvGwYjAnaNTILqSL7N X-Received: by 2002:a17:90a:1d7:b0:24e:37c6:9681 with SMTP id 23-20020a17090a01d700b0024e37c69681mr4548160pjd.38.1684559293873; Fri, 19 May 2023 22:08:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684559293; cv=none; d=google.com; s=arc-20160816; b=0JZMKTaZ7rDZWYvfJrLcqLfo2lt+oCqg6nHDxlOlNbBLsAAMKAQA8EkOFWo95P3nYj q3fcBQtAVvo7MHqcPlrtA055dnsd/o3BjYYjg7/f6/7c+NIpYBtcd8mHfOJqgjDKO56k b9kt1IXvUYohnF4aUGfHDx8qObGQvi79019rieTK3OpnQ7OhTU9oxE6dHBAqx3y+4g5L BKbVdRxgHUqtK4qGCfLl4s7pzGK4YjBU3z017Et0fnMaNZZwg/fgggQifIZOZMjzNX2B ByHiTYRFHElJ2CQ21ZNqaBC69bRA48AEKpCpt5nxhbboxVcXA3Pt8cSB0ZSsjinNd9KL FTdg== 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=kyno7uaGol+0Au+jeyK6ifVXccyu7nII+Bbwm/hovJU=; b=cXRLgxzbyNVA240V8oAlZq1tmQuRmARvL1IDosMlrN17W2yE8/DJH3zZl7rUjpsxAG g5J2TYdGsQaqLBKiCLAs7ZtH1qN6PHVmBuv/0Qg/2ysPFfb6eO8CD0lVIOWg8bP1S6Vt SVQODZU/c108s3Q+PL0noIv/MiOVVw0EpMBkGMmwI0yKxKv0HZXvZDhkPxnYU+JCWFMG nagpsbKzh+ZI9MEKnO/rGI9fTwJHRVid6P6PzmdHMEgqohG9HMAw4AejbF9iS8JpKYWD iwLI6IQGoTPH45ozSYtI/KICilqEt3nQZ30jG17beXqY2TAkyEnKjwMEtGI+MQtOVB/V DpHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=s7UP4Sx7; 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 y4-20020a17090aca8400b002535adfa0desi2927832pjt.17.2023.05.19.22.07.58; Fri, 19 May 2023 22:08:13 -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=s7UP4Sx7; 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 S229898AbjETFEo (ORCPT + 99 others); Sat, 20 May 2023 01:04:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbjETFEm (ORCPT ); Sat, 20 May 2023 01:04:42 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3BC5F1; Fri, 19 May 2023 22:04:40 -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=kyno7uaGol+0Au+jeyK6ifVXccyu7nII+Bbwm/hovJU=; b=s7UP4Sx7JFz6PF8XhGe3p/f0aQ 2HHxn/9xS3MpXXSgWN2Aw8vUybKc87OsnzpwHYyHpCwiFaKdvrs1h8u8c0yJJ0hxloX9XVBrDfbZ9 L7y6hSznUFJK8I7ZAx4x3tmnrDwrx9ElsRHn5Cya5odTKRqHa6nRBvQnpbMkbN3VV01mh5LZN2P0W pONzrYAHEDCUtLpUxD9d9fJMiRJOZtXAcLcPEzoPaxnX7iHb9uj25vOoxaX9I0tzjUPBeLEO8Nvh8 ORXsXdIsyjvCkOZkvKcpcS95zsw7CvW2pKYujFxNKsFZK0OssXoFItZouzDjTYMbnGVFPKnT01ynT HqtudESw==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1q0Elh-000jwN-0t; Sat, 20 May 2023 05:04:37 +0000 Date: Fri, 19 May 2023 22:04:37 -0700 From: Christoph Hellwig To: Baoquan He Cc: Christoph Hellwig , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, arnd@arndb.de, christophe.leroy@csgroup.eu, agordeev@linux.ibm.com, wangkefeng.wang@huawei.com, schnelle@linux.ibm.com, David.Laight@aculab.com, shorne@gmail.com, willy@infradead.org, deller@gmx.de Subject: Re: [PATCH v5 RESEND 14/17] mm/ioremap: Consider IOREMAP space in generic ioremap Message-ID: References: <20230515090848.833045-1-bhe@redhat.com> <20230515090848.833045-15-bhe@redhat.com> 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Sat, May 20, 2023 at 11:31:04AM +0800, Baoquan He wrote: > > > Together with a little comment that ioremap often, but not always > > > uses the generic vmalloc area. > > > > .. and with that we can also simply is_ioremap_addr by moving it > > to ioremap.c and making it always operate on the IOREMAP constants. > > Great idea too, will do. Put this into a separate patch? Yes.