Skip to content

Commit 6303dbf

Browse files
heicarstLinus Torvalds
authored andcommitted
[PATCH] cpu hotplug documentation fix
Looks like there was a merge conflict when patches 8f8b113 and 255acee were applied which wasn't properly resolved. Fix this and add some additional description. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Ashok Raj <ashok.raj@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 2e2b426 commit 6303dbf

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎Documentation/cpu-hotplug.txt‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,22 @@ maxcpus=n Restrict boot time cpus to n. Say if you have 4 cpus, using
4646
maxcpus=2 will only boot 2. You can choose to bring the
4747
other cpus later online, read FAQ's for more info.
4848

49-
additional_cpus=n [x86_64, s390 only] use this to limit hotpluggable cpus.
50-
This option sets
49+
additional_cpus*=n Use this to limit hotpluggable cpus. This option sets
5150
cpu_possible_map = cpu_present_map + additional_cpus
5251

52+
(*) Option valid only for following architectures
53+
- x86_64, ia64, s390
54+
5355
ia64 and x86_64 use the number of disabled local apics in ACPI tables MADT
5456
to determine the number of potentially hot-pluggable cpus. The implementation
5557
should only rely on this to count the #of cpus, but *MUST* not rely on the
5658
apicid values in those tables for disabled apics. In the event BIOS doesnt
5759
mark such hot-pluggable cpus as disabled entries, one could use this
5860
parameter "additional_cpus=x" to represent those cpus in the cpu_possible_map.
5961

62+
s390 uses the number of cpus it detects at IPL time to also the number of bits
63+
in cpu_possible_map. If it is desired to add additional cpus at a later time
64+
the number should be specified using this option or the possible_cpus option.
6065

6166
possible_cpus=n [s390 only] use this to set hotpluggable cpus.
6267
This option sets possible_cpus bits in

0 commit comments

Comments
 (0)