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 DFA4AC433EF for ; Mon, 11 Apr 2022 08:22:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343741AbiDKIYx (ORCPT ); Mon, 11 Apr 2022 04:24:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343734AbiDKIYp (ORCPT ); Mon, 11 Apr 2022 04:24:45 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81A0F3E5D4 for ; Mon, 11 Apr 2022 01:22:30 -0700 (PDT) Received: from dggpemm500021.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4KcMGs2wHtzFphR; Mon, 11 Apr 2022 16:20:05 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggpemm500021.china.huawei.com (7.185.36.109) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 11 Apr 2022 16:22:28 +0800 Received: from [10.174.177.243] (10.174.177.243) by dggpemm500001.china.huawei.com (7.185.36.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2375.24; Mon, 11 Apr 2022 16:22:28 +0800 Message-ID: <2cf40b17-6315-bd5d-ba05-33f025c292d2@huawei.com> Date: Mon, 11 Apr 2022 16:22:27 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [PATCH v2 resend 3/3] arm64: mm: Cleanup useless parameters in zone_sizes_init() Content-Language: en-US To: Vijay Balakrishna , , , , CC: References: <20220331074055.125824-1-wangkefeng.wang@huawei.com> <20220331074055.125824-4-wangkefeng.wang@huawei.com> <28b9ca3e-83d8-ea4b-1f27-d23c2d29424f@linux.microsoft.com> From: Kefeng Wang In-Reply-To: <28b9ca3e-83d8-ea4b-1f27-d23c2d29424f@linux.microsoft.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.177.243] X-ClientProxiedBy: dggeme701-chm.china.huawei.com (10.1.199.97) To dggpemm500001.china.huawei.com (7.185.36.107) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022/4/2 1:05, Vijay Balakrishna wrote: > > > On 3/31/2022 12:40 AM, Kefeng Wang wrote: >> Directly use max_pfn for max and no one use min, kill them. >> >> Signed-off-by: Kefeng Wang > > Looks good.  Reference to dma32_phys_limit in zone_sizes_init() > depends on what you do with my comment [1]. > > [1] > https://lore.kernel.org/all/69c1e722-33ea-95cf-de84-aed3022cb042@linux.microsoft.com/ Ok, will drop dma32_phys_limit and directly use max_zone_phys(32). > > Reviewed-by: Vijay Balakrishna > Thanks.