mbox series

[v4,0/3] Use idle_inject framework for intel_powerclamp

Message ID 20230127202048.992504-1-srinivas.pandruvada@linux.intel.com
Headers show
Series Use idle_inject framework for intel_powerclamp | expand

Message

Srinivas Pandruvada Jan. 27, 2023, 8:20 p.m. UTC
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.

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.

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
Reported-by: kernel test robot <lkp@intel.com>


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

 drivers/powercap/idle_inject.c           |  57 +++-
 drivers/thermal/intel/Kconfig            |   2 +
 drivers/thermal/intel/intel_powerclamp.c | 374 ++++++++++-------------
 include/linux/idle_inject.h              |   3 +
 4 files changed, 209 insertions(+), 227 deletions(-)