Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp381857rdb; Tue, 16 Jan 2024 03:25:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IEQy7DgU2ifb6o9fYns/65eC1xIGLKkrPxhKxrqsi11v5D/N96fnA5lcgfDXAnIA7aM36QK X-Received: by 2002:a05:6808:1909:b0:3bd:472a:e2de with SMTP id bf9-20020a056808190900b003bd472ae2demr8412900oib.27.1705404300970; Tue, 16 Jan 2024 03:25:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705404300; cv=none; d=google.com; s=arc-20160816; b=Q/iYwx/Tqu8ha66Zofpcm2U2kgzlo8dd4hHwY3jAlKUFQ9EbNqgMpBJ+QGAO1mmasF c2QhN/GzQwlTJ3xv99pm0SprxoEr+MLNYzBSzoJGqzIFnY1tMhN2EFznECrGfFmdHSLx ZORNupAs0SseqIOncIAHz4y69Nb+DcaAcdM6/yErL9k74F5kPvjoF4ugP4o/Uwk3UpVh DAjrdGSk8YPFafPkcWWj5TSnzxItZnQbR5OHp4/c0MPEFq4t51KVhmdRQqC5nxkwtLf5 Yse6hnFxfa52s6EUgl4AfDvTZAC18MW9yWgPtlOfKYakbMkEJykxy1XYv3O6OV8XlR0s 1AIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=HDuqmhpkWHxT2M2pI/xOk7Pu42NAZCIU40/WZmESav8=; fh=fcC2O51ZwpMwdtD90TZUfVm2H6+vrVFJHg8gdRmT82I=; b=RmTbxeBqQDLNLnUAtr1E9iLyQV7ZZG5czuAx6DaN9HsW2MvvRLePpj1YmB8/hYWIZo WkmK+DtfGSrhyrkICec7XDEcllnb9LXkR/m2sDU6sT9bKGUZmry0PDhQdhoOEFPC7p/b M7O88vZLQ9TBY2X9eTzDZ6RQw6gnNw/ZVEFHbvHh+pc8KElTDcRITeUDfVJzWw2eRXTz cxngPe6XjW0SC+QE4NFLoPNPuzvgZC5f5KOQvDsdOYcYvPP0zHO6t6BXlU0A+nwSKf7J rKDleqYrsuCpyi54CXrU+xz2fOVKr8h7Q+IWwAY0i8HTC9BIA5Q7pOerCdVTZ0QWkVvh jWpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b="0U/z0Je+"; spf=pass (google.com: domain of linux-kernel+bounces-27310-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27310-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id j190-20020a6380c7000000b005ceef907344si10487721pgd.807.2024.01.16.03.25.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 03:25:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27310-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b="0U/z0Je+"; spf=pass (google.com: domain of linux-kernel+bounces-27310-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27310-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0CB9AB23073 for ; Tue, 16 Jan 2024 11:24:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 385BC1B807; Tue, 16 Jan 2024 11:24:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="0U/z0Je+" Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 739971B7F9 for ; Tue, 16 Jan 2024 11:24:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240115235911.80586-1-eric.mackay@oracle.com> Sender: Russell King (Oracle) 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!