Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp745664pxx; Mon, 26 Oct 2020 21:59:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzY2DgydV2EQYsLYBZgFOx8+5839MnI8RDDuN7o5cnYuobC9rluN+/KOzIQFAQDNKPKbVRu X-Received: by 2002:a05:6402:143:: with SMTP id s3mr365607edu.267.1603774748511; Mon, 26 Oct 2020 21:59:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603774748; cv=none; d=google.com; s=arc-20160816; b=g2tpgN5zZdCbdpbVr3Ma13pzEor0UPbnGQ4a+R2B8WGhMooPzfxO9TTk/INwfitW6D Ls6NeZTIhRYukruy+eAOreWXr7ZVFUTrbJ445wlfeTpLQYfx7Oc/QF83Zs22lSWz/a2L 8iT6bJOsjrdb9b1auQ4FISKFgVbyMegPg8g7y4q5+IL8dka+PWC5Xyov4ILqy/zUlfmw t0KZJJgsOjXb81X0Kefq2+6h5/xYnj2xchgLfQv1yIn+VU5NsZ/jv9CgRWxbgNQZZM5A 0icBRBpGtg5V6RUywQhT3LZbSGtZfMS/A6Bc2IcpBnyWoKqryr+tGxhXElz1vRdm2qAd PCnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=ts7OvCQ8neOrMW3H2L+mcvBibMfSxHH1JqOYqWTehYI=; b=dUlLqZra18x+mZT+f08xKQ5f75yBKSShWkXTC/oXmhfBFwWzaglaPstXBykSzS4Y01 gAunJGlaTKqr9MyF0cjwdbd30GbWb87NR49yL7sT8tFRyvmAOWxbR2sbtjSK0vzuzmbF hgp3GGDKLaoMW030WIuv42lCI1/CqN1IHRPfQUhOYk3E0Uc78Zf89tAUHK7gXKwUvrAZ yZBVafNDmeyFQMVT9G1IG7zL7szgAJ59oqdffc6xuLovjiANfjuVyCMnSVV5TXyM0IW+ n80JfXSQnzN4ETmGfrtPkqxK09hLTmi+7/d9yaG4xsR3lx+OlzpeF5cRik7S7YSGNcpN qvXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Iwae16Mn; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g12si205203ejx.495.2020.10.26.21.58.46; Mon, 26 Oct 2020 21:59:08 -0700 (PDT) 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=@linutronix.de header.s=2020 header.b=Iwae16Mn; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1792635AbgJZTNp (ORCPT + 99 others); Mon, 26 Oct 2020 15:13:45 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:41840 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404516AbgJZTE1 (ORCPT ); Mon, 26 Oct 2020 15:04:27 -0400 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1603739065; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ts7OvCQ8neOrMW3H2L+mcvBibMfSxHH1JqOYqWTehYI=; b=Iwae16MnPoQQ3di3i54xsNOXPTmY4XB5Us6Q5Mcp5mPbMb+1S9sSU/O0ATGNYnP6Q4U+nk VsFQZbL2zGqCTbQDiNWroT7UwYcM8TQ7R3kAm3+x71jfSUmtjF8bbp6IUfwFc1cxpc17lZ RSrtT725UR0Hm9RVqd9Al0egcvMyZzAfkTRjEfsG2skxCbAFy1C0+hyTbMwRmQM4OtfNwt qCEsw0lFJjW2hp3xkp08nNOzv9tBreqbBzy9QA0adMF0BRpo/zpZshY/31ulS8AbnRqZID +LYxzab5w9eSxfPsdO0telgj8o3Ry3VIAduZ/4N9Y/YjR/cwm22um56qBplY7A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1603739065; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ts7OvCQ8neOrMW3H2L+mcvBibMfSxHH1JqOYqWTehYI=; b=0LqayT//imv88st5vOI0NJeAdqjtOjrMMYBenyRge7FnH3VcEBE6Y7XBmBg5bxzKbp4sOb yhoLkREniCc8gyBQ== To: psodagud@codeaurora.org Cc: Elliot Berman , Peter Zijlstra , "Paul E. McKenney" , Jonathan Corbet , Trilok Soni , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH] smp: Add bootcpus parameter to boot subset of CPUs In-Reply-To: References: <1603404243-5536-1-git-send-email-eberman@codeaurora.org> <87v9f04n8r.fsf@nanos.tec.linutronix.de> Date: Mon, 26 Oct 2020 20:04:25 +0100 Message-ID: <8736204xmu.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 26 2020 at 10:08, psodagud wrote: > Based on my understanding with maxcpus option provides, maximum no of > CPUs are brough up during the device boot up. There is a different case, > in which we want to restrict which CPUs to be brough up. Again: What for? Why? > On a system with 8 cpus, if we set maxcpus as 3, cpu0, cpu1, and cpu2 > are brough up during the bootup. For example, if we want to bring > core0, core3 and core4 current maxcpu(as 3) setting would not help us. > On some platform we want the flexibility on which CPUs to bring up > during the device bootup. bootcpus command line is helping to bring > specific CPUs and these patches are working downstream. A lot of patches work downstream by some definition of work. But that does not make an argument to bring them upstream. Thanks, tglx