Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2980357rwa; Mon, 22 Aug 2022 18:21:48 -0700 (PDT) X-Google-Smtp-Source: AA6agR4pj8wOn63peZmmKOaNIu5cCU54jwkAtJx4xV+LpTCUKvEKMnyk9KAZdWUxufoDy34m7VWm X-Received: by 2002:a17:907:96a2:b0:73d:9f0b:d9a0 with SMTP id hd34-20020a17090796a200b0073d9f0bd9a0mr303902ejc.113.1661217707847; Mon, 22 Aug 2022 18:21:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661217707; cv=none; d=google.com; s=arc-20160816; b=KYBjSBYAcl3hsMhu6jASSBF6Kz264YeCDIhctySNWkEVaNyQXw26yR6MBDzBe0RJUL LgN1HYvSAfPQXza54vWIpogdgM3AJURrKxrU5vGCwZUJQPv32ZQmKkA6V2LhKiY/3NSn jwlgDDQCJfom9J3SMQysyDgj41D+SX1wdccj97LXYQsDkDZUvA252Xll9uteNcodyDqb bjWKnzLkLxCN6/3HqElvye8MbKR52nwUDFNTEwqgvmudBDfZl0hc6XF+8wmtWHUvwVIA P0c3u1Ziu+csmln+X9XmZM8kPAhrZlmAmt/dw1dd++tDu9SDylcE7wAKSbLTiMKNYvel g6wA== 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=yfh06TyG5c34D7x1kaHxF6+hr4mEnE7ZvWBsUHmo9JM=; b=RR4S2zIv2tt9vnnBuHM32mvqIhJC7aCR5vzd+mRXoUBybowG2wrUAguX68ZC71IZD+ V045XieeYa8mCExCQmdMrD8jfisbrvQ50GmRacBH+hpR7AbwXvjK5Uh3Iws99KwALDmn iachDMg/q2tyOJaxDss07clThoIM9UB6OfW36kmOXFW9uoWC+Mm7wCtjDOgMItbXNGQc M7K+bKzzFuHU9ZduxPr7o3mzWusALu0vEDLyLLDmGCzMBHtYJ6l5uC1IOIyaPnIBBV1X TosIuIMckapJDmaYrk3JbovVXCgmRuUwuHbSQqbhtFYHWqhkZGWWcgQCQJ4uanqT7uGz 9lyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=En5V0Lvo; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id di15-20020a170906730f00b0073d626b0048si7774632ejc.317.2022.08.22.18.21.22; Mon, 22 Aug 2022 18:21:47 -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=@redhat.com header.s=mimecast20190719 header.b=En5V0Lvo; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235448AbiHWBNZ (ORCPT + 99 others); Mon, 22 Aug 2022 21:13:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231491AbiHWBNY (ORCPT ); Mon, 22 Aug 2022 21:13:24 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47C46631C for ; Mon, 22 Aug 2022 18:13:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1661217201; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yfh06TyG5c34D7x1kaHxF6+hr4mEnE7ZvWBsUHmo9JM=; b=En5V0LvoWKag493UQcTTYPxn6jKGXQv+R246OITink9xk6zGq6Y/87+3T5no7+HYbzIksY 8vzXfrMvKbBtaQEMET5MP71k61UeTqQLsex9B635vP6igr2KIzXnGMu0Zs7ph0ECX1FztX vj+tG8OSmojSlEvkfUJ885kAffFOsws= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-202-q_SzlhyIMgiW9KpYE3iyUA-1; Mon, 22 Aug 2022 21:13:17 -0400 X-MC-Unique: q_SzlhyIMgiW9KpYE3iyUA-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 47F38811E75; Tue, 23 Aug 2022 01:13:17 +0000 (UTC) Received: from localhost (ovpn-12-31.pek2.redhat.com [10.72.12.31]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 978112026D4C; Tue, 23 Aug 2022 01:13:16 +0000 (UTC) Date: Tue, 23 Aug 2022 09:13:13 +0800 From: Baoquan He To: Christoph Hellwig Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, agordeev@linux.ibm.com, wangkefeng.wang@huawei.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 02/11] mm: ioremap: fixup the physical address and page prot Message-ID: References: <20220820003125.353570-1-bhe@redhat.com> <20220820003125.353570-3-bhe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 08/20/22 at 11:54pm, Christoph Hellwig wrote: > > -void __iomem *arch_ioremap(phys_addr_t phys_addr, size_t size, unsigned long prot); > > +void __iomem * > > +arch_ioremap(phys_addr_t *paddr, size_t size, unsigned long *prot_val); > > It seems a bit odd to do this in two steps vs just doing the entire > change in the first patch. Any good reason for that? I will merge patch 1~2 or 1~3 into patch 1. Earlier, I wrote the reason as below paragraph in cover letter of v1 post. Now it seems not so hard to tell and understand. ==== For patch 1~3, I don't merge them because I made them in different rounds of changing. And splitting them makes me easily describe the intention and make review easier. I can merge them after v1 reviewing if anyone thinks they should be merged. ====