diff options
Diffstat (limited to 'Documentation/cpu-hotplug.txt')
-rw-r--r-- | Documentation/cpu-hotplug.txt | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/Documentation/cpu-hotplug.txt b/Documentation/cpu-hotplug.txt index 08c5d04f3086..57a09f99ecb0 100644 --- a/Documentation/cpu-hotplug.txt +++ b/Documentation/cpu-hotplug.txt | |||
@@ -11,6 +11,8 @@ | |||
11 | Joel Schopp <jschopp@austin.ibm.com> | 11 | Joel Schopp <jschopp@austin.ibm.com> |
12 | ia64/x86_64: | 12 | ia64/x86_64: |
13 | Ashok Raj <ashok.raj@intel.com> | 13 | Ashok Raj <ashok.raj@intel.com> |
14 | s390: | ||
15 | Heiko Carstens <heiko.carstens@de.ibm.com> | ||
14 | 16 | ||
15 | Authors: Ashok Raj <ashok.raj@intel.com> | 17 | Authors: Ashok Raj <ashok.raj@intel.com> |
16 | Lots of feedback: Nathan Lynch <nathanl@austin.ibm.com>, | 18 | Lots of feedback: Nathan Lynch <nathanl@austin.ibm.com>, |
@@ -44,9 +46,28 @@ maxcpus=n Restrict boot time cpus to n. Say if you have 4 cpus, using | |||
44 | maxcpus=2 will only boot 2. You can choose to bring the | 46 | maxcpus=2 will only boot 2. You can choose to bring the |
45 | other cpus later online, read FAQ's for more info. | 47 | other cpus later online, read FAQ's for more info. |
46 | 48 | ||
47 | additional_cpus=n [x86_64 only] use this to limit hotpluggable cpus. | 49 | additional_cpus*=n Use this to limit hotpluggable cpus. This option sets |
48 | This option sets | 50 | cpu_possible_map = cpu_present_map + additional_cpus |
49 | cpu_possible_map = cpu_present_map + additional_cpus | 51 | |
52 | (*) Option valid only for following architectures | ||
53 | - x86_64, ia64, s390 | ||
54 | |||
55 | ia64 and x86_64 use the number of disabled local apics in ACPI tables MADT | ||
56 | to determine the number of potentially hot-pluggable cpus. The implementation | ||
57 | should only rely on this to count the #of cpus, but *MUST* not rely on the | ||
58 | apicid values in those tables for disabled apics. In the event BIOS doesnt | ||
59 | mark such hot-pluggable cpus as disabled entries, one could use this | ||
60 | parameter "additional_cpus=x" to represent those cpus in the cpu_possible_map. | ||
61 | |||
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. | ||
65 | |||
66 | possible_cpus=n [s390 only] use this to set hotpluggable cpus. | ||
67 | This option sets possible_cpus bits in | ||
68 | cpu_possible_map. Thus keeping the numbers of bits set | ||
69 | constant even if the machine gets rebooted. | ||
70 | This option overrides additional_cpus. | ||
50 | 71 | ||
51 | CPU maps and such | 72 | CPU maps and such |
52 | ----------------- | 73 | ----------------- |