summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorThomas Renninger <trenn@suse.de>2013-11-16 14:39:22 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-11-25 23:10:50 +0100
commitf4a5d17efec95ee74113df62943494a2197c8bae (patch)
tree22e54089dc171a08c02155b3281cfaae6c3726fe /README
parent5094d271715a5bd0f7f4adb38d825ce6903eb6eb (diff)
downloadop-kernel-dev-f4a5d17efec95ee74113df62943494a2197c8bae.zip
op-kernel-dev-f4a5d17efec95ee74113df62943494a2197c8bae.tar.gz
tools: cpupower: fix wrong err msg not supported vs not available
idlestates in sysfs are counted from 0. This fixes a wrong error message. Current behavior on a machine with 4 sleep states is: cpupower idle-set -e 4 Idlestate 4 enabled on CPU 0 -----Wrong--------------------- cpupower idle-set -e 5 Idlestate enabling not supported by kernel -----Must and now will be ----- cpupower idle-set -e 5 Idlestate 6 not available on CPU 0 ------------------------------- cpupower idle-set -e 6 Idlestate 6 not available on CPU 0 Signed-off-by: Thomas Renninger <trenn@suse.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud