diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-01-31 02:03:53 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-02-01 23:01:16 (GMT) |
commit | 951fc5f45836988c7df1d05c7f4658f331e7a920 (patch) | |
tree | 196083ffadd033233faf66e0883c4662409ad569 /Documentation/cpu-freq/cpu-drivers.txt | |
parent | 5553f9e26f6f49a93ba732fd222eac6973a4cf35 (diff) | |
download | linux-951fc5f45836988c7df1d05c7f4658f331e7a920.tar.xz |
cpufreq: Update Documentation for cpus and related_cpus
Documentation related to cpus and related_cpus is confusing and not very clear.
Over that CPUFreq core has seen much changes recently. Lets update documentation
and comments for cpus and related_cpus.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/cpu-freq/cpu-drivers.txt')
-rw-r--r-- | Documentation/cpu-freq/cpu-drivers.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/cpu-freq/cpu-drivers.txt b/Documentation/cpu-freq/cpu-drivers.txt index c436096..72f70b1 100644 --- a/Documentation/cpu-freq/cpu-drivers.txt +++ b/Documentation/cpu-freq/cpu-drivers.txt @@ -111,6 +111,12 @@ policy->governor must contain the "default policy" for For setting some of these values, the frequency table helpers might be helpful. See the section 2 for more information on them. +SMP systems normally have same clock source for a group of cpus. For these the +.init() would be called only once for the first online cpu. Here the .init() +routine must initialize policy->cpus with mask of all possible cpus (Online + +Offline) that share the clock. Then the core would copy this mask onto +policy->related_cpus and will reset policy->cpus to carry only online cpus. + 1.3 verify ------------ |