mbox series

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

Message ID 20231206113138.3576492-1-lukasz.luba@arm.com (mailing list archive)
Headers show
Series Add callback for cooling list update to speed-up IPA | expand

Message

Lukasz Luba Dec. 6, 2023, 11:31 a.m. UTC
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(-)