diff options
author | Jacob Shin <jacob.shin@amd.com> | 2013-04-04 12:19:04 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-04-10 07:19:26 -0400 |
commit | 9c5320c8ea8b8423edca2c40cd559f1ce9496dab (patch) | |
tree | 96f9191b8e72b65e7484d7c4129383a9aadf1c27 /drivers/cpufreq/Kconfig.x86 | |
parent | fb30809efa3edeb692a6b29125a07c9eceb322dc (diff) |
cpufreq: AMD "frequency sensitivity feedback" powersave bias for ondemand governor
Future AMD processors, starting with Family 16h, can provide software
with feedback on how the workload may respond to frequency change --
memory-bound workloads will not benefit from higher frequency, where
as compute-bound workloads will. This patch enables this "frequency
sensitivity feedback" to aid the ondemand governor to make better
frequency change decisions by hooking into the powersave bias.
Signed-off-by: Jacob Shin <jacob.shin@amd.com>
Acked-by: Thomas Renninger <trenn@suse.de>
Acked-by: Borislav Petkov <bp@suse.de>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/Kconfig.x86')
-rw-r--r-- | drivers/cpufreq/Kconfig.x86 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/cpufreq/Kconfig.x86 b/drivers/cpufreq/Kconfig.x86 index d7dc0ed6adb0..2b8a8c374548 100644 --- a/drivers/cpufreq/Kconfig.x86 +++ b/drivers/cpufreq/Kconfig.x86 | |||
@@ -129,6 +129,23 @@ config X86_POWERNOW_K8 | |||
129 | 129 | ||
130 | For details, take a look at <file:Documentation/cpu-freq/>. | 130 | For details, take a look at <file:Documentation/cpu-freq/>. |
131 | 131 | ||
132 | config X86_AMD_FREQ_SENSITIVITY | ||
133 | tristate "AMD frequency sensitivity feedback powersave bias" | ||
134 | depends on CPU_FREQ_GOV_ONDEMAND && X86_ACPI_CPUFREQ && CPU_SUP_AMD | ||
135 | help | ||
136 | This adds AMD-specific powersave bias function to the ondemand | ||
137 | governor, which allows it to make more power-conscious frequency | ||
138 | change decisions based on feedback from hardware (availble on AMD | ||
139 | Family 16h and above). | ||
140 | |||
141 | Hardware feedback tells software how "sensitive" to frequency changes | ||
142 | the CPUs' workloads are. CPU-bound workloads will be more sensitive | ||
143 | -- they will perform better as frequency increases. Memory/IO-bound | ||
144 | workloads will be less sensitive -- they will not necessarily perform | ||
145 | better as frequency increases. | ||
146 | |||
147 | If in doubt, say N. | ||
148 | |||
132 | config X86_GX_SUSPMOD | 149 | config X86_GX_SUSPMOD |
133 | tristate "Cyrix MediaGX/NatSemi Geode Suspend Modulation" | 150 | tristate "Cyrix MediaGX/NatSemi Geode Suspend Modulation" |
134 | depends on X86_32 && PCI | 151 | depends on X86_32 && PCI |