diff options
| author | Sibi Sankar <[email protected]> | 2024-03-12 10:37:23 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2024-03-13 19:57:00 +0000 |
| commit | f37a4d6b4a2c77414e8b9d25dd5ee31537ce9b00 (patch) | |
| tree | d10823a00ac11c76db0ca24eaaf997115980932f /drivers/fpga/tests/fpga-mgr-test.c | |
| parent | Merge tag 'pm-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafae... (diff) | |
| download | kernel-f37a4d6b4a2c77414e8b9d25dd5ee31537ce9b00.tar.gz kernel-f37a4d6b4a2c77414e8b9d25dd5ee31537ce9b00.zip | |
cpufreq: Fix per-policy boost behavior on SoCs using cpufreq_boost_set_sw()
In the existing code, per-policy flags don't have any impact i.e.
if cpufreq_driver boost is enabled and boost is disabled for one or
more of the policies, the cpufreq driver will behave as if boost is
enabled.
Fix this by incorporating per-policy boost flag in the policy->max
computation used in cpufreq_frequency_table_cpuinfo and setting the
default per-policy boost to mirror the cpufreq_driver boost flag.
Fixes: 218a06a79d9a ("cpufreq: Support per-policy performance boost")
Reported-by: Dietmar Eggemann <[email protected]>
Reviewed-by: Viresh Kumar <[email protected]>
Reviewed-by: Dhruva Gole <[email protected]>
Signed-off-by: Sibi Sankar <[email protected]>
Tested-by:Yipeng Zou <[email protected]> <mailto:[email protected]>
Reviewed-by: Yipeng Zou <[email protected]> <mailto:[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions
