diff options
author | Abhishek Goel <huntbag@linux.vnet.ibm.com> | 2019-10-17 00:56:39 -0500 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2019-11-04 13:11:57 -0700 |
commit | d80a4ac20800035c46a3868ad9e11ebda0049c7d (patch) | |
tree | 9989e5fbe0cfd680e054c9075e0c230dcf62de57 /kernel/sys.c | |
parent | 7e5705c635ecfccde559ebbbe1eaf05b5cc60529 (diff) | |
download | talos-op-linux-d80a4ac20800035c46a3868ad9e11ebda0049c7d.tar.gz talos-op-linux-d80a4ac20800035c46a3868ad9e11ebda0049c7d.zip |
cpupower : Handle set and info subcommands correctly
Cpupower tool has set and info options which are being used only by
x86 machines. This patch removes support for these two subcommands
from cpupower utility for POWER. Thus, these two subcommands will now be
available only for intel.
This removes the ambiguous error message while using set option in case
of using non-intel systems.
Without this patch on a POWER system:
root@ubuntu:~# cpupower info
System does not support Intel's performance bias setting
root@ubuntu:~# cpupower set -b 10
Error setting perf-bias value on CPU
With this patch on a POWER box:
root@ubuntu:~# cpupower info
Subcommand not supported on POWER
Same result for set subcommand.
This patch does not affect results on a intel box.
Signed-off-by: Abhishek Goel <huntbag@linux.vnet.ibm.com>
Acked-by: Thomas Renninger <trenn@suse.de>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions