linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs: Document possible_cpus parameter
@ 2024-02-03 15:21 Guilherme G. Piccoli
  2024-02-03 17:19 ` Randy Dunlap
  2024-02-05 17:21 ` Jonathan Corbet
  0 siblings, 2 replies; 3+ messages in thread
From: Guilherme G. Piccoli @ 2024-02-03 15:21 UTC (permalink / raw)
  To: linux-doc, corbet
  Cc: linux-kernel, linux-s390, rdunlap, tglx, mingo, bp, dave.hansen,
	x86, hpa, hca, gor, agordeev, borntraeger, svens, kernel,
	kernel-dev, Guilherme G. Piccoli, Changwoo Min

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 <changwoo@igalia.com>
Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
---
 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: <port>,<port>....
 
+	possible_cpus=  [SMP,S390,X86]
+			Format: <unsigned int>
+			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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-02-05 17:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-03 15:21 [PATCH] docs: Document possible_cpus parameter Guilherme G. Piccoli
2024-02-03 17:19 ` Randy Dunlap
2024-02-05 17:21 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).