Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1466775rdb; Sat, 3 Feb 2024 07:22:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZWBKCTzQfnZPxrEYKHlC4DAohKyWLW7viaioyT4fOOsbpxJyN9DpFb+0uu/5L46JANrZk X-Received: by 2002:a05:6a20:289d:b0:19b:81be:34e4 with SMTP id q29-20020a056a20289d00b0019b81be34e4mr7155895pzf.50.1706973762718; Sat, 03 Feb 2024 07:22:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706973762; cv=pass; d=google.com; s=arc-20160816; b=naj9CJpkeQKMvMEujj7P/XrelQAWHCfftFshRFvIto8oq8DZZGWtTVvN3nYzhrYf8/ 3motvvQMrjw3hrids9Robu/kpHuT5NUR+q3dbbVoSGGHU6Y9uUxq0SH6Mdn3OnhvYc52 7mJ5A3Xp7PXOLU8PJSTik5x6JUho/Fk+Owxdy8Du7ZNuxvXZjQ2ArUg41yHzfs/g9AlE 96AgRRbOLyj7ECyM4fJClT5Ygq7L2DwUd4tKHQ5uyCa71oaivo+BJ0Bmz4tbJZ5lYa11 5S7YaUun+aI3S7bhcIf2mj9Q9UUg/OzAsFFWqRebHUnQhrf38JVsIyZnMj/oKNrUmwQB mReg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=j9K/vax56e3sCnb71UIU5Gz4B8feV2qAX5/Vur9/dM8=; fh=VtrX+DlddTb68am6O4CoSjy2+SdDAZrbjnMwZ/o1vLs=; b=s0Vrhhhv0SaXLmsv4QRRJc4WdYgysGVz/c4yp1gDknE4M6bK8lioiAZgQuLTcCe8fA HVBA4C11kekJpiq+sCN1uYAG371fsyoRHtzyO4klWuf5vSGrBluaV5rWEuLngbLMGAvi yCarqSk8frmlMzmWWVsY6l3WPIfu3sEVRa+BGNQNd7t6PQT0Oo5w/CFZ6RiEX04KmT7B Hsgsr/mTJGH0Mnog1UJxmonnFasTGAyW2nFEZAf1tQx0Dy3OtHKsJ0QKCVaQNf1E4XhD UuhRuV/H5tI06+lg3tUVADk3C29pfSpjx3FnqOI7UfgNoAeemsG1EqtjvyYcrYRSUgHk /ieQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=QGqG24Wv; arc=pass (i=1 spf=pass spfdomain=igalia.com dkim=pass dkdomain=igalia.com); spf=pass (google.com: domain of linux-kernel+bounces-51146-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51146-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCUa4ckOgs1U9I7VJb2Zfco+38HEmeaHVJOFgbZcPSWXlwva0PQC8KZCM0b4XiaJRxZpP5s7z2eJQBOfmGXoDFbUqCYHpxn1fEEoKsS5gA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q194-20020a632acb000000b005be03f0da68si3367997pgq.13.2024.02.03.07.22.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 07:22:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51146-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=QGqG24Wv; arc=pass (i=1 spf=pass spfdomain=igalia.com dkim=pass dkdomain=igalia.com); spf=pass (google.com: domain of linux-kernel+bounces-51146-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51146-linux.lists.archive=gmail.com@vger.kernel.org" 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 24CBC285089 for ; Sat, 3 Feb 2024 15:22:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6A6E85F541; Sat, 3 Feb 2024 15:22:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=igalia.com header.i=@igalia.com header.b="QGqG24Wv" Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) (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 2376655E70; Sat, 3 Feb 2024 15:22:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.97.179.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706973749; cv=none; b=E5Qgh8NzYDx979b5S4WbxirX9atL2W2ibnu4iU4AYveYoUDBs1cg1kJTLg3sB1dHXOLgOmAFkmqMlc/Cc/2os4joimuidTIaC61217iAIoXJr0v5rZt+V3FjqNLhHS1G5CfBHyBo67r62SGAFHzLHcK2r4kF16Fyua1wuHSF7AE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706973749; c=relaxed/simple; bh=c+Jc4BAS+IryDupflpvWK9nQ/pkuVv+Flzsyr7rEEDw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=t19uylTRv/yNx35kajZ4VaP7jhRNOVQbzG5dBI29XyWPT0bcuW00k2cF9yw2TWxwRuP38OIB7J8QAEGXJWqG3NemqLKUNn6xYhyhNsrWXAm9ay8/1Ls56gXNzEoEgq3LrxAYKgAq39+K9FhBvBK9fjX/wLkuv/m6J9YYFlVBQvs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=igalia.com; spf=pass smtp.mailfrom=igalia.com; dkim=pass (2048-bit key) header.d=igalia.com header.i=@igalia.com header.b=QGqG24Wv; arc=none smtp.client-ip=213.97.179.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=igalia.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=igalia.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=j9K/vax56e3sCnb71UIU5Gz4B8feV2qAX5/Vur9/dM8=; b=QGqG24WvpulgcmjYWeP8Fzj7U/ IDQyV210c3AwnZgQSuytBZ8xpVsTGWSJ7OKnfCWF6MzQD65aautSRsr4vcTcPBP1lnF1s9HZ2yg5W veng2shFrLwq4KM5wmQ4c5HY1YQV3z4cEmzp5IGQv9rxhOHMjaXeKHUaAnUh84TLin29RxETU+W3Q V7jDq/T41zpRwMhWr/6RiucZo5uZXV3x9Lw29Wx63CkLQifvwWH9Df5cct3cZ19CrUxRKBpAnDsAj QnmnmrAMxGPnQ+pz8gO65O5q22jYQ9bGzBvISh11tdCpVn+PrKwTuoBlnmDx3goLsIWj8HWmu5bXt ztzRv2CQ==; Received: from [187.90.178.235] (helo=localhost) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1rWHqP-00DJoe-Vg; Sat, 03 Feb 2024 16:22:14 +0100 From: "Guilherme G. Piccoli" To: linux-doc@vger.kernel.org, corbet@lwn.net Cc: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, rdunlap@infradead.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, hca@linux.ibm.com, gor@linux.ibm.com, agordeev@linux.ibm.com, borntraeger@linux.ibm.com, svens@linux.ibm.com, kernel@gpiccoli.net, kernel-dev@igalia.com, "Guilherme G. Piccoli" , Changwoo Min Subject: [PATCH] docs: Document possible_cpus parameter Date: Sat, 3 Feb 2024 12:21:13 -0300 Message-ID: <20240203152208.1461293-1-gpiccoli@igalia.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The number of possible CPUs is set be kernel in early boot time through some discovery mechanisms, like ACPI in x86. We have a parameter both in x86 and S390 to override that - there are some cases of BIOSes exposing more possible CPUs than the available ones, so this parameter is a good testing mechanism, but for some reason wasn't mentioned so far in the kernel parameters guide - let's fix that. Cc: Changwoo Min Signed-off-by: Guilherme G. Piccoli --- Documentation/admin-guide/kernel-parameters.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 31b3a25680d0..e553740190ea 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -4644,6 +4644,11 @@ may be specified. Format: ,.... + possible_cpus= [SMP,S390,X86] + Format: + Set the number of possible CPUs, overriding the + regular discovery mechanisms (such as ACPI/FW, etc). + powersave=off [PPC] This option disables power saving features. It specifically disables cpuidle and sets the platform machine description specific power_save -- 2.43.0