Skip to content

cpufreq: intel_pstate: Handle _PPC updates on global turbo disable/enable

Rafael J. Wysocki linux-pm lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 5 repliesIn review
  2. v23 patches 3 repliesSuperseded
  3. v12 patches 31 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4cpufreq: intel_pstate: Driver-specific handling of _PPC updatesdrivers/acpi/processor_perflib.c drivers/cpufreq/cpufreq.c drivers/cpufreq/intel_pstate.c +1 more+45 -10 replies
2/4cpufreq: Add cpufreq_cpu_acquire() and cpufreq_cpu_release()drivers/cpufreq/cpufreq.c+47 -90 replies
3/4cpufreq: schedutil: Simplify iowait boostingkernel/sched/cpufreq_schedutil.c+5 -72 replies
3/4cpufreq: schedutil: Simplify iowait boostingkernel/sched/cpufreq_schedutil.c+10 -113 replies
4/4cpufreq: intel_pstate: Update max frequency on global turbo changesdrivers/cpufreq/cpufreq.c drivers/cpufreq/intel_pstate.c include/linux/cpufreq.h+43 -180 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchGabriele MazzottaViresh KumarPeter Zijlstra (Intel)
1/4T-b A-b
2/4A-b
3/4A-b A-b
3/4A-b A-b
4/4T-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/4] cpufreq: intel_pstate: Handle _PPC updates on global turbo disable/enable

Hi All,

This is a new version of the following with one patch added:

Quoted 10 lines

This is a follow-up to the RFT patch set posted previously:
https://lore.kernel.org/lkml/[email protected]/

Patch [1/3] causes intel_pstate to update all policies if it gets a _PPC change notification and sees a global turbo disable/enable change.

Patch [2/3] adds cpufreq_cpu_acquire() and cpufreq_cpu_release() to reduce code duplication after the next patch a bit (and Srinivas wanted the rwsem manipulation to not be done directly by the driver).

Quoted 5 lines

Patch [3/3] makes intel_pstate update cpuinfo.max_freq for all policies in those cases.

I've atted Tested-by tags to patches [1/3] and [3/3], because there are only cosmetic differences between them and what has been tested.

The new patch goes (as the new [3/4]) before the old [3/3] (which becomes the new [4/4] obviously) and it modifies the schedutil governor to prevent it from caching values that depend on cpuinfo.max_freq.

The other patches are the same as before.

Thanks,
Rafael