Skip to content

Make IPA use PM_EM

Quentin Perret linux-pm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v9 Latest4 patches 0 repliesNew

Changes in v9 from the cover letter

- Rebased on 5.4-rc5 and fixed conflicts with pm_qos changes

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4arm64: defconfig: Enable CONFIG_ENERGY_MODELarch/arm64/configs/defconfig+1 -00 replies
2/4PM / EM: Declare EM data types unconditionallyinclude/linux/energy_model.h+1 -20 replies
3/4thermal: cpu_cooling: Make the power-related code depend on IPAdrivers/thermal/cpu_cooling.c+81 -850 replies
4/4thermal: cpu_cooling: Migrate to using the EM frameworkdrivers/thermal/Kconfig drivers/thermal/cpu_cooling.c+89 -1600 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchDaniel LezcanoViresh Kumar
1/4A-b A-b
2/4
3/4A-b A-b
4/4A-b A-b

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

Read the v9 thread

Cover letter [PATCH v9 0/4] Make IPA use PM_EM

This removes the IPA-specific energy model code in favor of PM_EM which does the same thing in a generic way. For more details, please read the cover letter of the v7:

https://lore.kernel.org/lkml/[email protected]/

Changes in v9:
- Rebased on 5.4-rc5 and fixed conflicts with pm_qos changes

Changes in v8:
- Fixed checkpatch errors (Rui)

Changes in v7
- Added patch 02/04 to fix the build error reported by the kbuild bot

Changes in v6
- Added Daniel's and Viresh's Acked-by to all patches

Changes in v5:
- Changed patch 02 to guard IPA-specific code in cpu_cooling.c with appropriate ifdefery (Daniel)
- Rebased on 5.2-rc2

Changes in v4:
- Added Viresh's Acked-by to all 3 patches
- Improved commit message of patch 3/3 to explain how it has no functional impact on existing users (Eduardo)

Changes in v3:
- Changed warning message for unordered tables to something more explicit (Viresh)
- Changed WARN() into a pr_err() for consistency

Changes in v2:
- Fixed patch 01/03 to actually enable CONFIG_ENERGY_MODEL
- Added "depends on ENERGY_MODEL" to IPA (Daniel)
- Added check to bail out if the freq table is unsorted (Viresh)

Quentin Perret (4):
arm64: defconfig: Enable CONFIG_ENERGY_MODEL
PM / EM: Declare EM data types unconditionally
thermal: cpu_cooling: Make the power-related code depend on IPA
thermal: cpu_cooling: Migrate to using the EM framework

 arch/arm64/configs/defconfig  |   1 +
 drivers/thermal/Kconfig       |   1 +
 drivers/thermal/cpu_cooling.c | 404 ++++++++++++++--------------------
 include/linux/energy_model.h  |   3 +-
 4 files changed, 167 insertions(+), 242 deletions(-)
Signature · 1 line
2.24.0.rc0.303.g954a862665-goog