linux/Documentation/cpu-freq
Andreas Herrmann da7d3abe1c Revert "cpufreq: pcc-cpufreq: update default value of cpuinfo_transition_latency"
This reverts commit 790d849bf8.

Using a v4.7-rc7 kernel on a HP ProLiant triggered following messages

 pcc-cpufreq: (v1.10.00) driver loaded with frequency limits: 1200 MHz, 2800 MHz
 cpufreq: ondemand governor failed, too long transition latency of HW, fallback to performance governor

The last line was shown for each CPU in the system.
Testing v4.5 (where commit 790d849b was integrated) triggered
similar messages. Same behaviour on a 2nd HP Proliant system.

So commit 790d849bf (cpufreq: pcc-cpufreq: update default value of
cpuinfo_transition_latency) causes the system to use performance
governor which, I guess, was not the intention of the patch.

Enabling debug output in pcc-cpufreq provides following verbose output:

 pcc-cpufreq: (v1.10.00) driver loaded with frequency limits: 1200 MHz, 2800 MHz
 pcc_get_offset: for CPU 0: pcc_cpu_data input_offset: 0x44, pcc_cpu_data output_offset: 0x48
 init: policy->max is 2800000, policy->min is 1200000
 get: get_freq for CPU 0
 get: SUCCESS: (virtual) output_offset for cpu 0 is 0xffffc9000d7c0048, contains a value of: 0xff06. Speed is: 168000 MHz
 cpufreq: ondemand governor failed, too long transition latency of HW, fallback to performance governor
 target: CPU 0 should go to target freq: 2800000 (virtual) input_offset is 0xffffc9000d7c0044
 target: was SUCCESSFUL for cpu 0

I am asking to revert 790d849bf to re-enable usage of ondemand
governor with pcc-cpufreq.

Fixes: 790d849bf (cpufreq: pcc-cpufreq: update default value of cpuinfo_transition_latency)
CC: <stable@vger.kernel.org> # 4.5+
Signed-off-by: Andreas Herrmann <aherrmann@suse.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2016-07-22 23:51:06 +02:00
..
amd-powernow.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
boost.txt Documentation: cpufreq / boost: Update BOOST documentation 2014-01-17 02:00:45 +01:00
core.txt cpufreq: Unexport cpufreq_frequency_table_cpuinfo() 2016-06-02 23:24:41 +02:00
cpu-drivers.txt cpufreq: Return index from cpufreq_frequency_table_target() 2016-06-09 00:58:06 +02:00
cpufreq-nforce2.txt Fix typos in /Documentation : Misc 2006-11-30 05:21:10 +01:00
cpufreq-stats.txt misc doc and kconfig typos 2007-05-09 08:58:15 +02:00
governors.txt Documentation, intel_pstate: Improve legacy mode internal governors description 2015-06-05 07:48:57 +09:00
index.txt cpufreq: Make linux-pm@vger.kernel.org official mailing list 2014-05-01 01:15:32 +02:00
intel-pstate.txt Documentation: cpufreq: intel_pstate: fix typo 2016-02-18 20:31:53 +01:00
pcc-cpufreq.txt Revert "cpufreq: pcc-cpufreq: update default value of cpuinfo_transition_latency" 2016-07-22 23:51:06 +02:00
user-guide.txt Documentation: cpufreq: delete duplicate description of sysfs interface 'scaling_driver' 2015-05-05 23:23:25 +02:00