Skip to content

Use idle_inject framework for intel_powerclamp

Srinivas Pandruvada linux-pm lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 6 repliesIn review
  2. v43 patches 0 repliesSuperseded
  3. v34 patches 8 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches13 repliesSuperseded
v14 patches2 repliesSuperseded

Changes in v5 from the cover letter

- additionl patch for module paramters to set cpumask and max idle percent
- One fix for update callback
- Rebased on top of patch
"thermal: intel_powerclamp: Fix cur_state for multi package system"

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4powercap: idle_inject: Export symbolsdrivers/powercap/idle_inject.c+7 -01 reply
2/4powercap: idle_inject: Add update callbackdrivers/powercap/idle_inject.c include/linux/idle_inject.h+47 -60 replies
3/4thermal/drivers/intel_powerclamp: Use powercap idle-inject frameworkdrivers/thermal/intel/Kconfig drivers/thermal/intel/intel_powerclamp.c+158 -2230 replies
4/4thermal/drivers/intel_powerclamp: Add additional module paramsDocumentation/driver-api/thermal/intel_powerclamp.rst drivers/thermal/intel/intel_powerclamp.c+173 -184 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchDaniel Lezcano
1/4A-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/4] Use idle_inject framework for intel_powerclamp

Dropped the per core idle injection patch from this series. Hence the subject of this series is changed. Now it is just for using
idle inject framework for intel_powerclamp.
Add additionl patch for module paramters to set cpumask and max idle percent.

The old cover letter:
This series introduces per CPU idle injection. In preparation for this enhance the existing powercap/idle_inject and modify intel_powerclamp to use this. Then add per core idle injection driver.

v5:
- additionl patch for module paramters to set cpumask and max idle percent
- One fix for update callback
- Rebased on top of patch
"thermal: intel_powerclamp: Fix cur_state for multi package system"

v4:
- Dropped the per core idle inject patch

v3
- Change callback from per CPU to per device and use in intel_powerclamp
- Remove unused var in per cpu idle injection module

v2
- Update based on feedback from Rafael on patch 2/4
- Kconfig dependency issue

Srinivas Pandruvada (4):
powercap: idle_inject: Export symbols
powercap: idle_inject: Add update callback thermal/drivers/intel_powerclamp: Use powercap idle-inject framework thermal/drivers/intel_powerclamp: Add additional module params

 .../driver-api/thermal/intel_powerclamp.rst   |  22 +
 drivers/powercap/idle_inject.c                |  57 +-
 drivers/thermal/intel/Kconfig                 |   2 +
 drivers/thermal/intel/intel_powerclamp.c      | 512 ++++++++++--------
 include/linux/idle_inject.h                   |   3 +
 5 files changed, 367 insertions(+), 229 deletions(-)
Signature · 1 line
2.39.1