Commit fcb3a1a
committed
cpufreq: intel_pstate: Take CPUFREQ_GOV_STRICT_TARGET into account
Make intel_pstate take the new CPUFREQ_GOV_STRICT_TARGET governor
flag into account when it operates in the passive mode with HWP
enabled, so as to fix the "powersave" governor behavior in that
case (currently, HWP is allowed to scale the performance all the
way up to the policy max limit when the "powersave" governor is
used, but it should be constrained to the policy min limit then).
Fixes: f6ebbcf ("cpufreq: intel_pstate: Implement passive mode with HWP enabled")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: 5.9+ <stable@vger.kernel.org> # 5.9+: 9a2a9eb cpufreq: Introduce governor flags
Cc: 5.9+ <stable@vger.kernel.org> # 5.9+: 218f668 cpufreq: Introduce CPUFREQ_GOV_STRICT_TARGET
Cc: 5.9+ <stable@vger.kernel.org> # 5.9+: ea9364b cpufreq: Add strict_target to struct cpufreq_policy1 parent ea9364b commit fcb3a1a
1 file changed
Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2527 | 2527 | | |
2528 | 2528 | | |
2529 | 2529 | | |
2530 | | - | |
| 2530 | + | |
2531 | 2531 | | |
2532 | 2532 | | |
2533 | 2533 | | |
| |||
2539 | 2539 | | |
2540 | 2540 | | |
2541 | 2541 | | |
2542 | | - | |
| 2542 | + | |
2543 | 2543 | | |
2544 | 2544 | | |
2545 | 2545 | | |
| |||
2562 | 2562 | | |
2563 | 2563 | | |
2564 | 2564 | | |
2565 | | - | |
2566 | | - | |
| 2565 | + | |
| 2566 | + | |
2567 | 2567 | | |
| 2568 | + | |
2568 | 2569 | | |
2569 | 2570 | | |
2570 | 2571 | | |
2571 | 2572 | | |
2572 | | - | |
| 2573 | + | |
| 2574 | + | |
2573 | 2575 | | |
2574 | 2576 | | |
2575 | 2577 | | |
| |||
2609 | 2611 | | |
2610 | 2612 | | |
2611 | 2613 | | |
2612 | | - | |
| 2614 | + | |
2613 | 2615 | | |
2614 | 2616 | | |
2615 | 2617 | | |
| |||
2628 | 2630 | | |
2629 | 2631 | | |
2630 | 2632 | | |
2631 | | - | |
| 2633 | + | |
2632 | 2634 | | |
2633 | 2635 | | |
2634 | 2636 | | |
| |||
0 commit comments