Bug 914623

Summary: cpupower set -m doesn't work
Product: Red Hat Enterprise Linux 6 Reporter: Jaroslav Škarvada <jskarvad>
Component: cpupowerutilsAssignee: Neil Horman <nhorman>
Status: CLOSED ERRATA QA Contact: Jeff Bastian <jbastian>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4CC: lnovich, pbenas
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-21 04:39:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jaroslav Škarvada 2013-02-22 10:38:02 UTC
Description of problem:
cpupower set -m doesn't work. From the source code it seems this feature is not implemented, but the error message is misleading and can be wrongly interpreted as the feature is not supported by your platform.

Version-Release number of selected component (if applicable):
cpupowerutils-1.1-1.el6

How reproducible:
Always

Steps to Reproduce:
1. echo 0 > /sys/devices/system/cpu/sched_mc_power_savings; cat /sys/devices/system/cpu/sched_mc_power_savings
2. cpupower set -m 0
  
Actual results:
0
Error setting sched-mc not supported

Expected results:
0
sched-mc set

Additional info:
I think it would be enough to change the message to something like:
Error setting sched-mc not implemented

or remove the feature entirely (upstream kernel drops the sched_mc_power_savings).

Comment 12 errata-xmlrpc 2013-11-21 04:39:48 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1533.html