diff options
author | 2022-07-04 13:27:36 +0200 | |
---|---|---|
committer | 2022-07-13 16:53:00 +0530 | |
commit | cdcf8eb3e7d0557405414459c6ead0385a5c6cc7 (patch) | |
tree | 8cca3d947375452260b0b1d380948366a86d8020 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpufreq: qcom-cpufreq-hw: use HZ_PER_KHZ macro in units.h (diff) | |
download | linux-dev-cdcf8eb3e7d0557405414459c6ead0385a5c6cc7.tar.xz linux-dev-cdcf8eb3e7d0557405414459c6ead0385a5c6cc7.zip |
cpufreq: qcom-hw: Reset cancel_throttle when policy is re-enabled
If LMH (Limits Management Hardware) is available, when a policy is
disabled by unplugging the last online CPU of policy->cpus,
qcom_cpufreq_hw_cpu_offline() sets cancel_throttle=true.
cancel_throttle is not reset when the policy is re-enabled with any
of the CPU in policy->cpus being plugged in. So reset it.
This patch also adds an early exit check.
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions