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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8BFECC4706C for ; Tue, 16 Jan 2024 11:25:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4PTCD/OYTmRU74njNC3k9LI7nei5lpedbVala2NQsZM=; b=c1A81BTem6FBhi QAH+BmtJJitNK+2jNWk59bxodH9ls8/Mbyv5cTKHw5L8l9OhptRUY/bkHFVA7l3Y3bi6P1zKR4H1D bBuYAYBKvSWAgJGlTnsiswnEgZmoBFwZT3ybQofdQwn+v7iVXHUB4rKcAlGYx3/JsgZwNsmZBmxaq Je3EFKYH0qZkeHQI8g4+GkAXIj3RuWWr30CuagGDdE/CdFR4RrQ2QGoEjGuqtFAyb1qiCvvVqxA2o Kt4PzIaWCaMBhazJQTRRFtIfC3N+1Zm6htnDs7Cjm34EB2p/DLJXavdBML1hrj3NMjxFE1vnqpplB x/3jKzr43NTiRyYBKPBA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rPhYj-00Bup0-1t; Tue, 16 Jan 2024 11:24:45 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rPhYf-00Bugz-1J for linux-arm-kernel@lists.infradead.org; Tue, 16 Jan 2024 11:24:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=HDuqmhpkWHxT2M2pI/xOk7Pu42NAZCIU40/WZmESav8=; b=0U/z0Je+MXosykY6zSoUo4s8jD JK/PdzgW1Zzy6OZi8KGwD8Y2QQuTlTSyPpkkzuQ2ltD5fNvgVrkXqNDR9yhj8AE18qtzc5lXACY9/ 2FvIKU8u8IfjTAxNfTG58wXOZ2Px9a/7gPbUr9nr+m1FUFObWmrkcFKTSyOIguhMPEprbmn7BmPfO 6LrAeA/eO9Kfrgfefj8NHbWdfSYoRFva2XoLGL9xOzbkn9TUdut8jQhBdRtE+7QBZZ+yyWEaQkgJ4 fdaly8yM8fITkf9ee2ukTzN2js+Samar/NV4KySHQf+OVXBk54A12hKvtKtNZP2FpySY7sVBK7qrW uvepZy+w==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:52656) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rPhYM-0003Og-2w; Tue, 16 Jan 2024 11:24:23 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1rPhYI-0003pb-Hq; Tue, 16 Jan 2024 11:24:18 +0000 Date: Tue, 16 Jan 2024 11:24:18 +0000 From: "Russell King (Oracle)" To: Eric Mackay Cc: cl@linux.com, Jonathan.Cameron@huawei.com, Matteo.Carlini@arm.com, Valentin.Schneider@arm.com, akpm@linux-foundation.org, anshuman.khandual@arm.com, catalin.marinas@arm.com, dave.kleikamp@oracle.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, robin.murphy@arm.com, vanshikonda@os.amperecomputing.com, yang@os.amperecomputing.com Subject: Re: [PATCH] ARM64: Dynamically allocate cpumasks and increase supported CPUs to 512 Message-ID: References: <794a1211-630b-3ee5-55a3-c06f10df1490@linux.com> <20240115235911.80586-1-eric.mackay@oracle.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240115235911.80586-1-eric.mackay@oracle.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240116_032441_751903_0820AFF4 X-CRM114-Status: GOOD ( 10.94 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jan 15, 2024 at 03:59:11PM -0800, Eric Mackay wrote: > Whitespace issues aside, I have applied the patch on top of kernel 6.1.55 and tested on both a dual-socket Ampere Altra machine with < 256 CPUs, and a dual-socket AmpereOne machine with > 256 CPUs. Works as expected, with all CPUs visible and functional. > > > config NR_CPUS > > int "Maximum number of CPUs (2-4096)" > > range 2 4096 > > - default "256" > > + default 512 > > Nit: the new default value should be in quotation marks, if we want to be pedantic I can't find anything that requires the quotes - and as "range" doesn't for consistency it seems that default shouldn't either. There's nothing in the documentation that indicates quotes should be used, and looking at the code, it's just treated as a string. The only thing that quotes seem to do is to ensure that whitespace will be included. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel