]> git.wh0rd.org Git - patches.git/blob - linux-cpufreq-kconfig-updates.patch
more random patches. who knows.
[patches.git] / linux-cpufreq-kconfig-updates.patch
1 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2
3 diff --git a/arch/x86_64/kernel/cpufreq/Kconfig b/arch/x86_64/kernel/cpufreq/Kconfig
4 index 40acb67..c0749d2 100644
5 --- a/arch/x86_64/kernel/cpufreq/Kconfig
6 +++ b/arch/x86_64/kernel/cpufreq/Kconfig
7 @@ -16,6 +16,9 @@ config X86_POWERNOW_K8
8         help
9           This adds the CPUFreq driver for mobile AMD Opteron/Athlon64 processors.
10  
11 +         To compile this driver as a module, choose M here: the
12 +         module will be called powernow-k8.
13 +
14           For details, take a look at <file:Documentation/cpu-freq/>. 
15  
16           If in doubt, say N.
17 @@ -38,6 +41,9 @@ config X86_SPEEDSTEP_CENTRINO
18           mobile CPUs.  This means Intel Pentium M (Centrino) CPUs
19           or 64bit enabled Intel Xeons.
20  
21 +         To compile this driver as a module, choose M here: the
22 +         module will be called speedstep-centrino.
23 +
24           For details, take a look at <file:Documentation/cpu-freq/>.
25  
26           If in doubt, say N.
27 @@ -55,6 +61,9 @@ config X86_ACPI_CPUFREQ
28           Processor Performance States.
29           This driver also supports Intel Enhanced Speedstep.
30  
31 +         To compile this driver as a module, choose M here: the
32 +         module will be called acpi-cpufreq.
33 +
34           For details, take a look at <file:Documentation/cpu-freq/>.
35  
36           If in doubt, say N.
37 @@ -62,7 +71,7 @@ config X86_ACPI_CPUFREQ
38  comment "shared options"
39  
40  config X86_ACPI_CPUFREQ_PROC_INTF
41 -        bool "/proc/acpi/processor/../performance interface (deprecated)"
42 +       bool "/proc/acpi/processor/../performance interface (deprecated)"
43         depends on PROC_FS
44         depends on X86_ACPI_CPUFREQ || X86_SPEEDSTEP_CENTRINO_ACPI || X86_POWERNOW_K8_ACPI
45         help
46 @@ -86,16 +95,18 @@ config X86_P4_CLOCKMOD
47           slowdowns and noticeable latencies.  Normally Speedstep should be used
48           instead.
49  
50 +         To compile this driver as a module, choose M here: the
51 +         module will be called p4-clockmod.
52 +
53           For details, take a look at <file:Documentation/cpu-freq/>.
54  
55           Unless you are absolutely sure say N.
56  
57  
58  config X86_SPEEDSTEP_LIB
59 -        tristate
60 -        default X86_P4_CLOCKMOD
61 +       tristate
62 +       default X86_P4_CLOCKMOD
63  
64  endif
65  
66  endmenu
67 -
68 diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
69 index d155e81..993fa7b 100644
70 --- a/drivers/cpufreq/Kconfig
71 +++ b/drivers/cpufreq/Kconfig
72 @@ -9,6 +9,9 @@ config CPU_FREQ
73           clock speed, you need to either enable a dynamic cpufreq governor
74           (see below) after boot, or use a userspace tool.
75  
76 +         To compile this driver as a module, choose M here: the
77 +         module will be called cpufreq.
78 +
79           For details, take a look at <file:Documentation/cpu-freq>.
80  
81           If in doubt, say N.
82 @@ -16,7 +19,7 @@ config CPU_FREQ
83  if CPU_FREQ
84  
85  config CPU_FREQ_TABLE
86 -       tristate
87 +       tristate
88  
89  config CPU_FREQ_DEBUG
90         bool "Enable CPUfreq debugging"
91 @@ -32,19 +35,26 @@ config CPU_FREQ_DEBUG
92                4 to activate CPUfreq governor debugging
93  
94  config CPU_FREQ_STAT
95 -       tristate "CPU frequency translation statistics"
96 -       select CPU_FREQ_TABLE
97 -       default y
98 -       help
99 -         This driver exports CPU frequency statistics information through sysfs
100 -         file system
101 +       tristate "CPU frequency translation statistics"
102 +       select CPU_FREQ_TABLE
103 +       default y
104 +       help
105 +         This driver exports CPU frequency statistics information through sysfs
106 +         file system.
107 +
108 +         To compile this driver as a module, choose M here: the
109 +         module will be called cpufreq_stats.
110 +
111 +         If in doubt, say N.
112  
113  config CPU_FREQ_STAT_DETAILS
114 -       bool "CPU frequency translation statistics details"
115 -       depends on CPU_FREQ_STAT
116 -       help
117 -         This will show detail CPU frequency translation table in sysfs file
118 -         system
119 +       bool "CPU frequency translation statistics details"
120 +       depends on CPU_FREQ_STAT
121 +       help
122 +         This will show detail CPU frequency translation table in sysfs file
123 +         system.
124 +
125 +         If in doubt, say N.
126  
127  # Note that it is not currently possible to set the other governors (such as ondemand)
128  # as the default, since if they fail to initialise, cpufreq will be
129 @@ -78,29 +88,38 @@ config CPU_FREQ_DEFAULT_GOV_USERSPACE
130  endchoice
131  
132  config CPU_FREQ_GOV_PERFORMANCE
133 -       tristate "'performance' governor"
134 -       help
135 +       tristate "'performance' governor"
136 +       help
137           This cpufreq governor sets the frequency statically to the
138           highest available CPU frequency.
139  
140 +         To compile this driver as a module, choose M here: the
141 +         module will be called cpufreq_performance.
142 +
143           If in doubt, say Y.
144  
145  config CPU_FREQ_GOV_POWERSAVE
146 -       tristate "'powersave' governor"
147 -       help
148 +       tristate "'powersave' governor"
149 +       help
150           This cpufreq governor sets the frequency statically to the
151           lowest available CPU frequency.
152  
153 +         To compile this driver as a module, choose M here: the
154 +         module will be called cpufreq_powersave.
155 +
156           If in doubt, say Y.
157  
158  config CPU_FREQ_GOV_USERSPACE
159 -       tristate "'userspace' governor for userspace frequency scaling"
160 -       help
161 +       tristate "'userspace' governor for userspace frequency scaling"
162 +       help
163           Enable this cpufreq governor when you either want to set the
164           CPU frequency manually or when an userspace program shall
165           be able to set the CPU dynamically, like on LART 
166           <http://www.lartmaker.nl/>.
167  
168 +         To compile this driver as a module, choose M here: the
169 +         module will be called cpufreq_userspace.
170 +
171           For details, take a look at <file:Documentation/cpu-freq/>.
172  
173           If in doubt, say Y.
174 @@ -116,6 +135,9 @@ config CPU_FREQ_GOV_ONDEMAND
175           do fast frequency switching (i.e, very low latency frequency
176           transitions). 
177  
178 +         To compile this driver as a module, choose M here: the
179 +         module will be called cpufreq_ondemand.
180 +
181           For details, take a look at linux/Documentation/cpu-freq.
182  
183           If in doubt, say N.
184 @@ -136,6 +158,9 @@ config CPU_FREQ_GOV_CONSERVATIVE
185           step-by-step latency issues between the minimum and maximum frequency
186           transitions in the CPU) you will probably want to use this governor.
187  
188 +         To compile this driver as a module, choose M here: the
189 +         module will be called cpufreq_conservative.
190 +
191           For details, take a look at linux/Documentation/cpu-freq.
192  
193           If in doubt, say N.