[PATCH 0/5] Add callback for cooling list update to speed-up IPA

From: Lukasz Luba
Date: Wed Dec 06 2023 - 06:30:56 EST


Hi all,

The patch set a new callback for thermal governors and implementation for
Intelligent Power Allocator.

The goal is to move the memory allocations and heavy computations
(multiplications) out of throttle() callback hot path.

In addition there are some small clean-ups for IPA code.

Regards,
Lukasz

Lukasz Luba (5):
thermal: core: Add callback for governors with cooling instances
change
thermal: gov_power_allocator: Refactor check_power_actors()
thermal: gov_power_allocator: Move memory allocation out of throttle()
thermal: gov_power_allocator: Simplify checks for valid power actor
thermal: gov_power_allocator: Refactor checks in divvy_up_power()

drivers/thermal/gov_power_allocator.c | 202 +++++++++++++++++---------
drivers/thermal/thermal_core.c | 14 ++
include/linux/thermal.h | 4 +
3 files changed, 154 insertions(+), 66 deletions(-)

--
2.25.1