Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp597969rwd; Thu, 1 Jun 2023 04:28:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7h8/ArQoRpejKJo/qIkg3rJYt4oxKIDwehGyEcuEFAwtAbKqH/ZPViTqLuvNjhNBAgPzD1 X-Received: by 2002:a17:902:e80e:b0:1af:d00c:7f04 with SMTP id u14-20020a170902e80e00b001afd00c7f04mr9389622plg.12.1685618931809; Thu, 01 Jun 2023 04:28:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685618931; cv=none; d=google.com; s=arc-20160816; b=b4JBq2WXuMNjShc3WrViT3E+eFVyvpAWoS5SZODVwruA1EZm6vLUa96Q2XBew14ybT nhLQngqrhyeB4yo/33apbNw/hZKqNLvSU+IVwAiEgX/BJKlgnLyTIeglQGwLND6CpY4i CypSXWcZwHy0Nsc9BE+1eR67qO2rXlv7/WGFtxaelZ0aNYwlVQKgTCuE0C3ryx5ck5Sj m7fBs78X4fopQCzcMFyzjYXXZsL7cXQ/KjK/mGdWi7cnqTg6XbrEUborUoJ1CdlaHwT7 WKkEV90+Nr+EmlE/vui1XGOtBpTFDh8DbsvcWYtI0u7YW4EZFhV0eVoiOhUiGBQNGoZO Zdow== 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=OIufl889eq/2NVmm5s2z1YKzTZVQ8MLyGENaRWiosds=; b=JEsOzfJ94tNkKdp4ObBhvuSozOiVN0h5OlYl5JVUbwkOfFSBQcnSkIHS5hqGJ6z0lM 0pP/tfyYD0I8RjxPI+x4gCb59RbMhiCclMttDZ1VcKUhd2bWyjQywOqSIrIIdwYEEuPy Ga+5n1J7HpBiHu+M2hcYGcCc5Ih34XuLty0r2SQhnMXffRzqp7Upvvh8pma0I17iQPHf bmMYwvNfdDhQi4BbmO8HwV1BXZkObLre++3YBk0wkAOFgJVBpP7luZubDnffba1dJpEn 2QuCcnqm/mqEVL+Vemd0s4/GCbPIHeMhO+Bk+tvxD8f/utaoRUhKLpfQqSCfhKFWyJSV dylQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Swos2CA7; 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 x21-20020a1709027c1500b001a92f0f46fbsi2487822pll.436.2023.06.01.04.28.01; Thu, 01 Jun 2023 04:28:51 -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=Swos2CA7; 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 S232288AbjFALOJ (ORCPT + 99 others); Thu, 1 Jun 2023 07:14:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231803AbjFALOH (ORCPT ); Thu, 1 Jun 2023 07:14:07 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A17E107; Thu, 1 Jun 2023 04:14:06 -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=OIufl889eq/2NVmm5s2z1YKzTZVQ8MLyGENaRWiosds=; b=Swos2CA7Pk1ZTVxGnpFfCgc4p6 9J5bjqQ1wbsmIrN23klLIamI5kOVtkz0v/ReGmbv+510j6AgDIB8yK/p8FjwDlzswgr/XOKI7lhEY 6LYslG6hOt/6G48KhzoUbSx63bQAkh0NUlQcSEZT4sOxHkRSnapxdD3N/juZ16QxoqT2lXjTO1uRT lKI3EUP/wr2LPlt2d5kQ+kEYxONUhFzFeZ7RCgQ/8fPdhxGRCOqPMY9CgfgBsW6yHVKDECAy7glNH hif/U88rETGzRKT0UxYq76GA1GdS9jzOmFjkJybDhL6vRxO1n94OuepZOVkqnM8F7u5TZBYirToNq I0nEa9Jg==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1q4gFp-003Cnd-0D; Thu, 01 Jun 2023 11:14:05 +0000 Date: Thu, 1 Jun 2023 04:14:05 -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, Vineet Gupta , linux-snps-arc@lists.infradead.org Subject: Re: [PATCH v5 RESEND 07/17] arc: mm: Convert to GENERIC_IOREMAP Message-ID: References: <20230515090848.833045-1-bhe@redhat.com> <20230515090848.833045-8-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 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 Tue, May 30, 2023 at 05:25:01PM +0800, Baoquan He wrote: > On 05/16/23 at 11:31pm, Christoph Hellwig wrote: > > > +#define ioremap ioremap > > > +#define ioremap_prot ioremap_prot > > > +#define iounmap iounmap > > > > Nit: I think it's cleaner to have these #defines right next to the > > function declaration. > > For this one, I didn't add function declaration of ioremap_prot and > iounmap in arch/arc/include/asm/io.h and the same to other arch's > asm/io.h. Because asm-generic/io.h already has those function > declaration, then ARCH's asm/io.h includeasm-generic/io.h. I tried > adding function declarations for ioremap_prot() and iounmap(), building > passed too. Do you think we need add extra function declarations in > ARCH's asm/io.h file? No, sorry.