diff options
author | 2024-03-25 18:05:06 +0100 | |
---|---|---|
committer | 2024-04-02 12:57:17 +0200 | |
commit | f32587dcbe5f40e160d8de262add6abab79356a7 (patch) | |
tree | 424e2622de75b9bb89c704c095fdf1899843f0c2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpufreq: intel_pstate: Read global.no_turbo under READ_ONCE() (diff) | |
download | wireguard-linux-f32587dcbe5f40e160d8de262add6abab79356a7.tar.xz wireguard-linux-f32587dcbe5f40e160d8de262add6abab79356a7.zip |
cpufreq: intel_pstate: Replace three global.turbo_disabled checks
Replace the global.turbo_disabled in __intel_pstate_update_max_freq() with
a global.no_turbo one to make store_no_turbo() actually update the maximum
CPU frequency on the trubo preference changes, which needs to be consistent
with arch_set_max_freq_ratio() called from there.
For more consistency, replace the global.turbo_disabled checks in
__intel_pstate_cpu_init() and intel_cpufreq_adjust_perf() with
global.no_turbo checks either.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions