diff options
| author | Rafael J. Wysocki <[email protected]> | 2025-04-25 11:36:21 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2025-04-28 12:36:41 +0000 |
| commit | b79028039f440e7d2c4df6ab243060c4e3803e84 (patch) | |
| tree | d43c68fe6df26b914ac8033be2ae06b0a54cb44c /rust/helpers/mutex.c | |
| parent | cpufreq: ACPI: Re-sync CPU boost state on system resume (diff) | |
| download | kernel-b79028039f440e7d2c4df6ab243060c4e3803e84.tar.gz kernel-b79028039f440e7d2c4df6ab243060c4e3803e84.zip | |
cpufreq: Fix setting policy limits when frequency tables are used
Commit 7491cdf46b5c ("cpufreq: Avoid using inconsistent policy->min and
policy->max") overlooked the fact that policy->min and policy->max were
accessed directly in cpufreq_frequency_table_target() and in the
functions called by it. Consequently, the changes made by that commit
led to problems with setting policy limits.
Address this by passing the target frequency limits to __resolve_freq()
and cpufreq_frequency_table_target() and propagating them to the
functions called by the latter.
Fixes: 7491cdf46b5c ("cpufreq: Avoid using inconsistent policy->min and policy->max")
Cc: 5.16+ <[email protected]> # 5.16+
Closes: https://lore.kernel.org/linux-pm/[email protected]/
Reported-by: Stephan Gerhold <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Tested-by: Stephan Gerhold <[email protected]>
Reviewed-by: Lifeng Zheng <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions
