[PATCH v2 0/4] Add upper and lower limits in IPA power budget calculation
From: Lukasz Luba
Date: Thu Oct 15 2020 - 07:29:57 EST
Hi all,
This patch set makes thermal governor Intelligent Power Allocation (IPA)
aware of cooling device limits for upper and lower bounds and respects them
in the internal power budget calculation.
This v2 contains for completeness a patch posted by Michael. The patches
are re-based on top of current thermal/linux-next branch.
Changes:
v2:
- added check for cdev_is_power_actor(), before using cdev->ops->state2power()
pointed out by Daniel
- added Michael's patch for consistency
- re-based on top of current thermal/linux-next
v1:
can be found here [2]
Regards,
Lukasz
[1] https://lore.kernel.org/linux-pm/20201007024332.30322-1-michael.kao@xxxxxxxxxxxx/
[2] https://lore.kernel.org/linux-pm/20201007122256.28080-1-lukasz.luba@xxxxxxx/
Lukasz Luba (3):
thermal: power_allocator: respect upper and lower bounds for cooling
device
thermal: core: remove unused functions in power actor section
thermal: move power_actor_set_power into IPA
Michael Kao (1):
thermal: core: add upper and lower limits to power_actor_set_power
drivers/thermal/gov_power_allocator.c | 40 +++++++++++-
drivers/thermal/thermal_core.c | 88 ---------------------------
drivers/thermal/thermal_core.h | 6 --
3 files changed, 38 insertions(+), 96 deletions(-)
--
2.17.1