Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6937230rwr; Tue, 2 May 2023 07:27:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7KDM6eJnV9/b9r6ytQT+yjhTybOOTjNRpjiFcYxUzkr0j8l3mKHjjYGBZS7KDoRhPoT0NN X-Received: by 2002:a05:6a20:a590:b0:f6:d4d:49 with SMTP id bc16-20020a056a20a59000b000f60d4d0049mr18072576pzb.27.1683037665147; Tue, 02 May 2023 07:27:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683037665; cv=none; d=google.com; s=arc-20160816; b=Ah8VgYRA7DQm8aunSrKZh60RAv9Yf2w0bgP9VDepOeXDDIQun9s2noInKyj7nmkzH0 sfabuGl/FSqtoERLRoIKBP+lxK+ty01jaTk71f/pQytnlmMMNaR8f48zhaRE6sOR0Yhy qlhO9CirSY8gMhVJZvQ1ANcLD9iV8Wqohdavk9sXsTveqwW9/j8yrk+795TLhmFIEjmT yzeuXr+LfpRsvFzkedXtvwkfUpXu0lufCpAF4RxNNlZuwJpYNcmXsriBgKGiJ0H6Vmri syNnDerXmnXM7gMc7DXHnDKUxiSZUqNeXdgHcTeGl77RWUCp5eZn/no4HIfcbaVHB/Ka z/qA== 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 :user-agent:references:in-reply-to:subject:cc:to:from:message-id :date:dkim-signature; bh=s6Kr0sckim/KOQuPKEmzHqDRCJQ8B69SXRiQyD/pE0U=; b=BnVfoOADJ4pLxMB5fXpJqN1Kohm9mUH38h0gY+1nBXzLHOpvoSakwGeEG9xKZaKjCK i0P8qo4RYGzmU1zJAuYWQsbn+1Y3N5wuIZmCQTNTnSSOf7sRfdA/i4ALbk1G2hJ5WjQs Y+RLOTToZtySs3dIX2INncyfdz3R6BpeaW64kJAjHdKZWPZyvJv+HdMHBxiKgLZ6Ucht PV45WxlS6Yhq622B3i5TkCS29/nqv3XEd3WGhwcpKPopYce8pxutS3NbpkUkmZLxjPms +mn5xl75YmLCGJPnD7KPa8/eb5zKKk+TPp44EzBOsfbvY9Wc1RN2ovhDMBbh3pZJX5Kr BPuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G48dLF53; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x18-20020aa79572000000b005dd4ab3a2c3si30947972pfq.182.2023.05.02.07.27.07; Tue, 02 May 2023 07:27:45 -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=@kernel.org header.s=k20201202 header.b=G48dLF53; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234374AbjEBOVY (ORCPT + 99 others); Tue, 2 May 2023 10:21:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233849AbjEBOVW (ORCPT ); Tue, 2 May 2023 10:21:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 178F395 for ; Tue, 2 May 2023 07:21:21 -0700 (PDT) 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 A6A986241A for ; Tue, 2 May 2023 14:21:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0661CC433EF; Tue, 2 May 2023 14:21:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683037280; bh=asliVNBY/st5F3nTupJNy+o9LWLCvC1CAL3wn6OSEf8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=G48dLF53wNhKD4VSzQeUVDntT+bpVgE0ddCvZzRLsfLnZabL0FZcPNTrfe03o2XPn absPYIgQpsXRRj/5XwY+eWh8uU7wb0mNCCGn/PefsS7Vd1rSI4XQSyESo07hHJWwi+ +F1A5OsmeUN+xZHnf9ptQDdFYkSI7i6QwuFgZwabCRQ34ZDoGFG9blCVb6Z5wH37Nh 0s1pBR+GIHL2s6XlhG/f4pu2c7HeqySpvHN0vJKodxvbPpWNV7iQDixnBxnalIzJ++ NtZh8ADCyI2DUBXVe5etrnVU/19hXY504QcV6FfU6rg8dmu/2D9qmwfYrh5+wimoNd ejpkDR50KDSfw== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1ptqsX-00CVEM-JR; Tue, 02 May 2023 15:21:17 +0100 Date: Tue, 02 May 2023 15:21:17 +0100 Message-ID: <86pm7ihl0i.wl-maz@kernel.org> From: Marc Zyngier To: Justin Forbes , Catalin Marinas Cc: Mike Rapoport , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, jmforbes@linuxtx.org, Andrew Morton Subject: Re: [PATCH] Revert arm64: drop ranges in definition of ARCH_FORCE_MAX_ORDER In-Reply-To: References: <20230428153646.823736-1-jforbes@fedoraproject.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: jforbes@fedoraproject.org, catalin.marinas@arm.com, rppt@kernel.org, will@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, jmforbes@linuxtx.org, akpm@linux-foundation.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,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, 02 May 2023 15:07:41 +0100, Catalin Marinas wrote: >=20 > On Mon, May 01, 2023 at 04:24:38PM -0500, Justin Forbes wrote: > > On Sat, Apr 29, 2023 at 11:02=E2=80=AFPM Mike Rapoport wrote: > > > Why the default MAX_ORDER was not acceptable on arm64 server machines= but > > > it is fine on, say, x86 and s390? > > > I'm not asking how you made it possible in Fedora and RHEL, I'm askin= g why > > > did you switch from the default order at all. > >=20 > > Because the MAX_ORDER on aarch64 with 4K pages is more tuned to the > > needs of the average edge client, not so much those of a server class > > machine. And I get it, I would say well over 90% of the Fedora users > > running aarch64 are indeed running on a rPi or similar with a small > > memory footprint, and workloads which match that. But we do support > > and run a 4K page size aarch64 kernel on proper server class hardware, > > running typical server workloads, and RHEL has a lot more users in the > > server class than edge clients. RHEL could probably default to 64K > > pages, and most users would be happy with that. Fedora certainly could > > not.=20 >=20 > I was talking to Marc Zyngier earlier and he reckons the need for a > higher MAX_ORDER is the GIC driver ITS allocation for Thunder-X. I'm > happy to make ARCH_MAX_ORDER higher in defconfig (12, 13?) if > CONFIG_ARCH_THUNDER. Mobile vendors won't enable this platform. In any case, I'd like to know exactly *what* requires it. The only platform I know would benefit from this is the old TX1, but this machine is more a boat anchor than a real server. M. --=20 Without deviation from the norm, progress is not possible.