[PATCH v2 0/4] Per CPU idle injection

From: Srinivas Pandruvada
Date: Tue Nov 29 2022 - 18:34:40 EST


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.

v2
- Update based on feedback from Rafael on patch 2/4
- Kconfig dependency issue
Reported-by: kernel test robot <lkp@xxxxxxxxx>

Srinivas Pandruvada (4):
powercap: idle_inject: Export symbols
powercap: idle_inject: Add prepare/complete callbacks
thermal/drivers/intel_powerclamp: Use powercap idle-inject framework
thermal/drivers/intel_cpu_idle_cooling: Introduce Intel cpu idle
cooling driver

drivers/powercap/idle_inject.c | 69 ++++-
drivers/thermal/intel/Kconfig | 12 +
drivers/thermal/intel/Makefile | 1 +
.../thermal/intel/intel_cpu_idle_cooling.c | 261 ++++++++++++++++
drivers/thermal/intel/intel_powerclamp.c | 292 ++++++++----------
include/linux/idle_inject.h | 4 +
6 files changed, 467 insertions(+), 172 deletions(-)
create mode 100644 drivers/thermal/intel/intel_cpu_idle_cooling.c

--
2.31.1