[PATCH v3 0/4] Per CPU idle injection

From: Srinivas Pandruvada
Date: Mon Jan 16 2023 - 21:07:52 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.

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@xxxxxxxxx>

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_cpu_idle_cooling: Introduce Intel cpu idle
cooling driver

drivers/powercap/idle_inject.c | 57 ++-
drivers/thermal/intel/Kconfig | 12 +
drivers/thermal/intel/Makefile | 1 +
.../thermal/intel/intel_cpu_idle_cooling.c | 259 ++++++++++++++
drivers/thermal/intel/intel_powerclamp.c | 328 +++++++-----------
include/linux/idle_inject.h | 3 +
6 files changed, 443 insertions(+), 217 deletions(-)
create mode 100644 drivers/thermal/intel/intel_cpu_idle_cooling.c

--
2.31.1