Skip to content

cpufreq: schedutil: Fix 4.12 regressions

Viresh Kumar linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3cpufreq: schedutil: Restore cached_raw_freq behaviorkernel/sched/cpufreq_schedutil.c+11 -30 replies
2/3cpufreq: schedutil: Fix selection algorithm while reducing frequencykernel/sched/cpufreq_schedutil.c+28 -54 replies
3/3cpufreq: intel_pstate: Provide resolve_freq() to fix regressiondrivers/cpufreq/intel_pstate.c+14 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] cpufreq: schedutil: Fix 4.12 regressions

Hi Rafael,

I have identified some regressions with the schedutil governor which happen due to one of your patches that got merged in 4.12-rc1.

This series fixes all the drivers which provide a ->target_index() callback but doesn't fix the drivers which provide ->target() callback.

Such platforms need to implement the ->resolve_freq() callback in order to get this fixed and I only had hardware for testing intel_pstate, which I fixed in this series.

I am wondering if there is another way to fix this issue (than what I tried) or if we should revert the offending commit (39b64aa1c007) and look for other solutions.

Anyway, this series has the necessary patches to fix it.

Viresh Kumar (3):
cpufreq: schedutil: Restore cached_raw_freq behavior
cpufreq: schedutil: Fix selection algorithm while reducing frequency
cpufreq: intel_pstate: Provide resolve_freq() to fix regression

 drivers/cpufreq/intel_pstate.c   | 14 +++++++++++++
 kernel/sched/cpufreq_schedutil.c | 45 +++++++++++++++++++++++++++++++++-------
 2 files changed, 52 insertions(+), 7 deletions(-)
Signature · 1 line
2.13.0.70.g6367777092d9