Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 590780

Summary: sys-power/cpupower-4.7.0 does not switch governors
Product: Gentoo Linux Reporter: NHO <jy6x2b32pie9>
Component: Current packagesAssignee: Mike Gilbert <floppym>
Status: RESOLVED FIXED    
Severity: normal CC: alexander, bkohler, josef64, vityokster
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugzilla.kernel.org/show_bug.cgi?id=135391
Whiteboard:
Package list:
Runtime testing required: ---

Description NHO 2016-08-08 14:21:44 UTC
with command
>cpupower --cpu 0,1,2,3 frequency-set -g powersave
I expect output:
  Setting cpu: 0
  Setting cpu: 1
  Setting cpu: 2
  Setting cpu: 3

And correct governor reported from cpupower frequency-info.
Kernel gentoo-sources 4.7.0, intel_pstates governor.
cpupower 4.5.0 works correctly.

See also kernel bug https://bugzilla.kernel.org/show_bug.cgi?id=135391
Comment 1 Ben Kohler gentoo-dev 2016-08-08 14:36:12 UTC
I see the same behavior here.  I'd guess that it affects the other scaling drivers as well, but at the moment I'm only able to test on 3 different ivy bridge i3/i5 cpus.
Comment 2 Ben Kohler gentoo-dev 2016-08-08 17:15:08 UTC
I have tested this on an older machine, cpu "Intel(R) Pentium(R) M processor 1.20GHz" with acpi-cpufreq scaling driver, same thing there, FYI
Comment 3 Mike Gilbert gentoo-dev 2016-08-08 23:13:57 UTC
commit 893b2a6c38fa7c6de33318bb66eb9700e2f55c46
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Mon Aug 8 19:12:51 2016 -0400

    profiles: mask sys-power/cpupower-4.7.0

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 4 NHO 2017-01-09 14:11:50 UTC
Fixed upstream in 4.9.0
Fix confirmed.