Skip to content

Commit 6112da1

Browse files
committed
Merge branches 'turbostat' and 'x86_energy_perf_policy' into power-utilities
2 parents b488997 + f1c35c7 commit 6112da1

2 files changed

Lines changed: 308 additions & 117 deletions

File tree

tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.8

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ x86_energy_perf_policy \- Manage Energy vs. Performance Policy
1515
.br
1616
.RB "other: (\-\-force | \-\-hwp-enable | \-\-turbo-enable) value)"
1717
.br
18+
.RB "soc-slider: --soc-slider-balance # | --soc-slider-offset # | --platform-profile <name>"
19+
.br
1820
.RB "value: # | default | performance | balance-performance | balance-power | power"
1921
.SH DESCRIPTION
2022
\fBx86_energy_perf_policy\fP
@@ -154,6 +156,26 @@ level on this processor, specified in multiples of 100 MHz.
154156
in the sliding window that HWP uses to maintain average frequency.
155157
This parameter is meaningful only when the "desired" field above is non-zero.
156158
Default is 0, allowing the HW to choose.
159+
.SH SOC SLIDER OPTIONS
160+
.PP
161+
Note that the Platform Profile Name must be "SoC Slider", and the
162+
Platform Profile must be "balanced" for the --soc-slider-balance
163+
and --soc-slider-offset options to take effect.
164+
.PP
165+
\fB--soc-slider-balance #\fP write numeric value to the SoC Slider.
166+
Values range from 0 to 6.
167+
Lower values result in higher performance,
168+
and higher values improve energy efficiency.
169+
Actual values are model specific.
170+
.PP
171+
\fB--soc-slider-offset #\fP write the numeric value to the Soc Slider Offset.
172+
The slider offset is the maximum value that software allows the SoC to
173+
autonomously add to the SoC Slider to improve energy efficiency.
174+
The value 0 prohibits the SoC from autonomously changing the slider.
175+
.PP
176+
\fB--platform-profile <name>"\fP set the platform profile to <name>.
177+
Available choices are in platform-profile-0/choices. The Soc Slider
178+
driver currently supports "low-power", "balanced", and "performance".
157179
.SH OTHER OPTIONS
158180
.PP
159181
\fB-f, --force\fP writes the specified values without bounds checking.
@@ -208,6 +230,10 @@ runs only as root.
208230
EPB: /sys/devices/system/cpu/cpu*/power/energy_perf_bias
209231
EPP: /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference
210232
MSR: /dev/cpu/*/msr
233+
Platform Profile Name: /sys/class/platform-profile/platform-profile-0/name
234+
Platform Profile: /sys/class/platform-profile/platform-profile-0/profile
235+
SOC Slider Balanced: /sys/module/processor_thermal_soc_slider/parameters/slider_balance
236+
SOC Slider Balanced Offset: /sys/module/processor_thermal_soc_slider/parameters/slider_offset
211237
.fi
212238
.SH "SEE ALSO"
213239
.nf

0 commit comments

Comments
 (0)