Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp3103166pxb; Tue, 12 Jan 2021 06:30:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJywhblRmfXXRdCVthmPENr9fYgdqVX6k4FtS98K2E2vJbCWv8m5ZJ0Hl2K4E4hVbbTxjXUe X-Received: by 2002:aa7:cb10:: with SMTP id s16mr3719889edt.304.1610461803627; Tue, 12 Jan 2021 06:30:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610461803; cv=none; d=google.com; s=arc-20160816; b=0+/ZDYhw8PX4qUwVOPki+BKaIYu8wHGWldehhAfkgEB1cdC21XzReRcT84XAzgEIAZ IPCBgFHJWbY4pwHhiGlBUHE+sXyI4N1TnQ8Alw8ktZS6ddSTBQfWOjgc7Aff9A84Khtk sEiNCd95/XDzeeD9gOhMTM5HCVSpRuy5N2W5lGlh14nkYMWuGSBBX/HfQilmqS8saPt1 J6r8g+SKMbnNRuOEPamOH7efmzrqpJqYC8XSdhHibQgVPJIlTArbgNYj8FjDW/2llglJ f1w0CAbae0Np0TqQUryaPYREVL+Fk+5etLNSxlaAZ8v/zHxgzLY3tbiTd/TZzhQDr2Fn JRGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=GyO2qQZQJu6LS3l7SmdW2wKNBdq8EoEmlmc9TICCi3I=; b=bHSTCyfdVlcwJSJYyA1bbLt4KlCn9Zc8Yfy6vA4m1GCZ4wR+lqP61M/q+TyVndCS9/ m30ndVNnFwXUI1WoZ5+VOtr8O3DPLDRwni5psPoGqPEBchuPbCDihcYtlvWFvPAmyx21 9ovKFG9oq8a22tuWro7B+RylAxqQgl7OkmPcHrB2P+1//CAUZMyOJg6fhJqNmEck3yGj dPwy5ffPNnSAMAeJPvXf6dgqRMdWasX/hayETHKjmvEPHAqc44yBHv+DAOITQGExlg5r vv0wTeQWtUYowlvzU8+PwxiKpQDeE6uvXxsRo5j3JD2W4DZAqGTgNTzs+ZZwGW15/CED s0Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ja8kyZGv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id zh18si1191195ejb.624.2021.01.12.06.29.39; Tue, 12 Jan 2021 06:30:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ja8kyZGv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1729256AbhALO1v (ORCPT + 99 others); Tue, 12 Jan 2021 09:27:51 -0500 Received: from mail.kernel.org ([198.145.29.99]:54184 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726546AbhALO1u (ORCPT ); Tue, 12 Jan 2021 09:27:50 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id A3DE52312D; Tue, 12 Jan 2021 14:27:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610461629; bh=/eN3KoLz22U1MG1qJgPw2OYCxxPzd1K/ODjHtsXMphI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ja8kyZGvcx4qgPbScf0gV2J8dQiRInzFqM3ZXY2FTIfDEuBaXeTVv0MKbNPB7aBVG 719SrKgdh/PJv2XMVDrdM71WxkVKFaedgYLGJy2Ny53qXhElQpa2dP2+CFLmn7oMAY 21cvUJSbcu2yDQYM4j5NUPhb8qyIFitglyZ0RCa560gHNnz5lkpmRlgY6WwqmitaWH 1VBLPQOr2jQPP1OwTakdPn1JfmbFUFkN43T0qMJNVLk6lokrpcB7xEka/JQGTngsDM fCQKuS3wBuJg/l97OEh4Bd33hhoSnuBwuiQsJYk1e4PRGn8zCoK/NIQRqW0C6vggqH YNMibbCNOT3IQ== Date: Tue, 12 Jan 2021 14:27:05 +0000 From: Will Deacon To: Vanshidhar Konda Cc: Catalin Marinas , Randy Dunlap , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, patches@amperecomputing.com Subject: Re: [PATCH] arm64: Kconfig: Increase NR_CPUS default to 512 Message-ID: <20210112142705.GB9524@willie-the-truck> References: <20210110053615.3594358-1-vanshikonda@os.amperecomputing.com> <20210111105636.GA7071@willie-the-truck> <20210111175741.ldifmv7uhdekbq5d@con01sys-r111.scc-lab.amperecomputing.com> <20210111182526.GB17941@gaia> <20210112052003.eeg725mmnyv67eop@con01sys-r111.scc-lab.amperecomputing.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210112052003.eeg725mmnyv67eop@con01sys-r111.scc-lab.amperecomputing.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 11, 2021 at 09:20:03PM -0800, Vanshidhar Konda wrote: > On Mon, Jan 11, 2021 at 06:25:27PM +0000, Catalin Marinas wrote: > > On Mon, Jan 11, 2021 at 10:03:18AM -0800, Randy Dunlap wrote: > > > On 1/11/21 9:57 AM, Vanshidhar Konda wrote: > > > > On Mon, Jan 11, 2021 at 10:56:36AM +0000, Will Deacon wrote: > > > >> On Sat, Jan 09, 2021 at 09:36:15PM -0800, vanshikonda@os.amperecomputing.com wrote: > > > >>> From: Vanshidhar Konda > > > >>> > > > >>> Increase the default value of NR_CPUS to 512 from 256. This will > > > >>> enable the defconfig kernel to support platforms that have upto > > > >>> 512 cores. > > > >> > > > >> Do we already support such a platform, and what is it? I'm fine with bumping. > > > >> the number, it's just nice to be able to say specifically _why_ we're dong > > > >> it. > > > > > > > > I'm not aware of any publicly available systems that run into the 256 > > > > core limitation. At Ampere we have internal systems that would benefit > > > > from this change as they support more than 256 cores. > > > > > > But what does that have to do with the default value? > > > Do you expect to run defconfig kernels? > > > I don't ever expect that. > > > > We still aim for the arm64 defconfig to run on all supported SoCs, even > > if not optimally. Distros indeed tweak the config to their needs. > > Would "all supported SoCs" mean only SoCs that are currently available > publicly? Could we include support for SoCs/systems in development but > to be available publicly in the next few years? I don't really see the need to rush that into defconfig, so I'd prefer to make the update when something actually exists otherwise it's really hard to keep track of why we made the decision (especially as unreleased hardware is liable to change). Will