diff options
author | Ashok Raj <ashok.raj@intel.com> | 2006-02-16 17:01:48 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2006-02-16 17:10:50 -0500 |
commit | 8f8b1138fc9f65e3591aac83a4ee394fef34ac1d (patch) | |
tree | 2c4d34391681cb5aa5ed8e5f2def1502a8a4b333 /Documentation | |
parent | 6f6d75825dc49b082906b84537b4df28293c2977 (diff) |
[IA64] Count disabled cpus as potential hot-pluggable CPUs
Minor updates to earlier patch.
- Added to documentation to add ia64 as well.
- Minor clarification on how to use disabled cpus
- used plain max instead of max_t per Andew Morton.
Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/cpu-hotplug.txt | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Documentation/cpu-hotplug.txt b/Documentation/cpu-hotplug.txt index 08c5d04f3086..e05278087ffa 100644 --- a/Documentation/cpu-hotplug.txt +++ b/Documentation/cpu-hotplug.txt | |||
@@ -44,10 +44,20 @@ 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 | 44 | maxcpus=2 will only boot 2. You can choose to bring the |
45 | other cpus later online, read FAQ's for more info. | 45 | other cpus later online, read FAQ's for more info. |
46 | 46 | ||
47 | additional_cpus=n [x86_64 only] use this to limit hotpluggable cpus. | 47 | additional_cpus*=n Use this to limit hotpluggable cpus. This option sets |
48 | This option sets | ||
49 | cpu_possible_map = cpu_present_map + additional_cpus | 48 | cpu_possible_map = cpu_present_map + additional_cpus |
50 | 49 | ||
50 | (*) Option valid only for following architectures | ||
51 | - x86_64, ia64 | ||
52 | |||
53 | ia64 and x86_64 use the number of disabled local apics in ACPI tables MADT | ||
54 | to determine the number of potentially hot-pluggable cpus. The implementation | ||
55 | should only rely on this to count the #of cpus, but *MUST* not rely on the | ||
56 | apicid values in those tables for disabled apics. In the event BIOS doesnt | ||
57 | mark such hot-pluggable cpus as disabled entries, one could use this | ||
58 | parameter "additional_cpus=x" to represent those cpus in the cpu_possible_map. | ||
59 | |||
60 | |||
51 | CPU maps and such | 61 | CPU maps and such |
52 | ----------------- | 62 | ----------------- |
53 | [More on cpumaps and primitive to manipulate, please check | 63 | [More on cpumaps and primitive to manipulate, please check |