diff options
| author | Viresh Kumar <viresh.kumar@linaro.org> | 2026-03-20 14:54:06 +0530 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-03-23 13:32:57 +0100 |
| commit | 8f13c0c6cb75cc4421d5a60fc060e9e6fd9d1097 (patch) | |
| tree | fd346361118b6fbfaac32bb7d82cac62d6eac1aa /tools/perf/scripts/python/stackcollapse.py | |
| parent | c369299895a591d96745d6492d4888259b004a9e (diff) | |
cpufreq: Don't skip cpufreq_frequency_table_cpuinfo()
The commit 6db0f533d320 ("cpufreq: preserve freq_table_sorted
across suspend/hibernate") unintentionally made a change where
cpufreq_frequency_table_cpuinfo() isn't getting called anymore
for old policies getting re-initialized.
This leads to potentially invalid values of policy->max and
policy->cpuinfo_max_freq.
Fix the issue by reverting the original commit and adding the condition
for just the sorting function.
Fixes: 6db0f533d320 ("cpufreq: preserve freq_table_sorted across suspend/hibernate")
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: 6.19+ <stable@vger.kernel.org> # 6.19+
Link: https://patch.msgid.link/65ba5c45749267c82e8a87af3dc788b37a0b3f48.1773998611.git.viresh.kumar@linaro.org
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
