aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorShinji Nomoto <fj5851bi@fujitsu.com>2025-05-22 15:10:59 +0900
committerShuah Khan <skhan@linuxfoundation.org>2025-08-15 10:49:14 -0600
commit357d1fc38aad2cf4ea6626138cbf68299d20170c (patch)
tree7d76d4ea9ad13db92ff392ffb2e99161d9a48b13 /tools/perf/scripts/python
parentcpupower: Fix a bug where the -t option of the set subcommand was not working. (diff)
downloadwireguard-linux-357d1fc38aad2cf4ea6626138cbf68299d20170c.tar.xz
wireguard-linux-357d1fc38aad2cf4ea6626138cbf68299d20170c.zip
cpupower: Allow control of boost feature on non-x86 based systems with boost support.
The cpufreq subsystem has a generic sysfs interface for controlling boost (/sys/devices/system/cpu/cpufreq/boost). The sysfs interface can be used to enable boost control from the cpupower command on non-x86 platforms as well. So, allow boost controlling on non-x86 system if boost sysfs file exists. The set subcommand enables/disables the boost feature using the following syntax: cpupower set --boost 1 cpupower set --boost 0 The --boost option is an alias for --turbo-boost. We provided the neutral option name because the name "turbo boost" is specific to Intel technology. The frequency-info subcommand displays the enabled/disabled state of the boost feature as follows: boost state support: Active: yes (or no) Link: https://lore.kernel.org/r/20250522061122.2149188-3-fj5851bi@fujitsu.com Signed-off-by: Shinji Nomoto <fj5851bi@fujitsu.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions