mbox series

[RFC,0/3] Reuse cpuidle cooling for non DT/ARM

Message ID 20210824051731.2495462-1-srinivas.pandruvada@linux.intel.com
Headers show
Series Reuse cpuidle cooling for non DT/ARM | expand

Message

srinivas pandruvada Aug. 24, 2021, 5:17 a.m. UTC
This patchset reused existing cpuidle cooling implementation and
develops a new driver which can be used in non DT/ARM platforms.

This has added advantage for per cpu idle injection instead of
a global one using Intel powerclamp driver.

Srinivas Pandruvada (3):
  thermal/drivers/cpuidle_cooling: Reorganize cpuidle cooling driver
  powercap: idle_inject: Export symbols
  thermal/drivers/cpuidle_cooling: cpuidle cooling driver for non DT/ARM

 drivers/powercap/idle_inject.c            |   4 +
 drivers/thermal/Kconfig                   |  18 ++-
 drivers/thermal/Makefile                  |   3 +
 drivers/thermal/cpuidle_cooling.c         | 141 +-------------------
 drivers/thermal/cpuidle_cooling_core.c    | 148 +++++++++++++++++++++
 drivers/thermal/cpuidle_cooling_core.h    |  24 ++++
 drivers/thermal/cpuidle_cooling_generic.c | 155 ++++++++++++++++++++++
 7 files changed, 353 insertions(+), 140 deletions(-)
 create mode 100644 drivers/thermal/cpuidle_cooling_core.c
 create mode 100644 drivers/thermal/cpuidle_cooling_core.h
 create mode 100644 drivers/thermal/cpuidle_cooling_generic.c