diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2025-04-24 21:50:17 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-04-25 18:28:22 +0200 |
commit | 0e8d8560fe022ae871806a8c1b1b3b756c02abc1 (patch) | |
tree | 2d9a7d932c3c0edee1fdc06b407798f226cec0b4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 27241c8b63bd4afe0cc1848eefc358aacd2fafb9 (diff) |
cpufreq: Preserve policy's boost state after resume
If the global boost flag was enabled and policy boost flag was disabled
before a suspend resume cycle, cpufreq_online() will enable the policy
boost flag on resume.
While it is important for the policy boost flag to mirror the global
boost flag when a policy is first created, it should be avoided when the
policy is reinitialized (for example after a suspend resume cycle).
Though, if the global boost flag is disabled at this point of time, we
want to make sure policy boost flag is disabled too.
Reviewed-by: Lifeng Zheng <zhenglifeng1@huawei.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://patch.msgid.link/de5c72a0af101049204305c73cd30eb3a3e7b4a0.1745511526.git.viresh.kumar@linaro.org
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions