Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp747490rwb; Thu, 12 Jan 2023 11:46:22 -0800 (PST) X-Google-Smtp-Source: AMrXdXsBhuFT3OpQZHaM6dnO+SleGJFwYLhAxPsHesgfEeP5C4929qShiNaf1H2fwX8SqHIw2UyM X-Received: by 2002:a05:6402:1f07:b0:493:966d:e986 with SMTP id b7-20020a0564021f0700b00493966de986mr23754073edb.13.1673552782361; Thu, 12 Jan 2023 11:46:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673552782; cv=none; d=google.com; s=arc-20160816; b=LwBGom+8tbMA9fHyb9s2/xpaK5DKsZfIP91WmwjZ7ksn0Gj19z38t9VgyL2np466fN VM+xiskYr8RnCzn3DknLgBaJI2wKujdhx4ATwEQ18AiKVW1GoiR44Rcg2FKtBoQboROC jjq9ezE8FdiY5vSZYv9R9N2KAuBot8K5JM5rAy5/VaevBisVqKgnApSaYPHV1hKv6VGf TaSJ4EWFqsjZR7wuFNnTUl+NBjjvdqnhBe2PfQi6kmfAwXptea8pxarT0sYOPvho7tuT PQWKh3cJ+eOxw1I937efmLqcaDyd1fnSMWm2fKfAqQYUhXQD5JSOW49c2HUgZEF7Y0XW sKKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=3sdqyUpeINa2WDx9M7eoQYgL/tR9za0cbgtgKQRv3rA=; b=Eq/Lb3ALB2r+RMYRv1hMfxi4KNTlRkF2Bn4sFHoEMUngHx4syWzcoQXJr/6iOEx1RM JXyN4DAuQh3cbUXRc/pcM02935hHnm9fvwshiOIn9aqUN5y56PTLoNSkBm2fRHvky43m kVWJS03B16XDQo5ufABCJXO4qu84q7UC6xIOZsDvQ4mkAGZz9IQYjp9l5uGzB3AvgfIJ kDM+kyEz2EopGVNbh+OqgX4uFgnawElS3tDj9IdT+iFKIXnr6DAAXrqov5Uh/IBObIdZ LN9gbwId+tvZh3qojU3Ftf/O7WQTjsvg0DKcLq5ZqmgICMPgNjs6mmRyETVAIRVCwvWL eK4g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y11-20020aa7cccb000000b00482360be0d0si5785728edt.539.2023.01.12.11.46.10; Thu, 12 Jan 2023 11:46:22 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240237AbjALSTJ (ORCPT + 50 others); Thu, 12 Jan 2023 13:19:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240459AbjALSSJ (ORCPT ); Thu, 12 Jan 2023 13:18:09 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94D27BA2 for ; Thu, 12 Jan 2023 09:49:15 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2343A620DE for ; Thu, 12 Jan 2023 17:49:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7475FC433D2; Thu, 12 Jan 2023 17:49:13 +0000 (UTC) From: Catalin Marinas To: Will Deacon , Kefeng Wang Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: make ARCH_FORCE_MAX_ORDER selectable Date: Thu, 12 Jan 2023 17:49:11 +0000 Message-Id: <167354574775.3644043.16920899642629074830.b4-ty@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230104130000.69806-1-wangkefeng.wang@huawei.com> References: <20230104130000.69806-1-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS 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 Wed, 04 Jan 2023 21:00:00 +0800, Kefeng Wang wrote: > The other architectures with ARCH_FORCE_MAX_ORDER are selectable, > but not for ARM64, this is to make it selectable on ARM64, which > is useful for user that need to allocate more than 4MB of physically > contiguous memory with 4K pagesize, also more bigger on 16K pagesize > too, the max value of MAX_ORDER is calculated bellow, > > see include/linux/mmzone.h, > > [...] Applied to arm64 (for-next/misc), thanks! [1/1] arm64: make ARCH_FORCE_MAX_ORDER selectable https://git.kernel.org/arm64/c/5a4c2a314083 -- Catalin