Skip to content

Add upper and lower limits in IPA power budget calculation

Lukasz Luba linux-pm lkml 2 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 2 repliesApplied
  2. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- 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

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4thermal: core: add upper and lower limits to power_actor_set_powerdrivers/thermal/thermal_core.c+1 -10 replies
2/4thermal: power_allocator: respect upper and lower bounds for cooling devicedrivers/thermal/gov_power_allocator.c+6 -20 replies
3/4thermal: core: remove unused functions in power actor sectiondrivers/thermal/thermal_core.c drivers/thermal/thermal_core.h+0 -510 replies
4/4thermal: move power_actor_set_power into IPAdrivers/thermal/gov_power_allocator.c drivers/thermal/thermal_core.c drivers/thermal/thermal_core.h+32 -430 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchLukasz Luba
1/4R-b T-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] Add upper and lower limits in IPA power budget calculation

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/[email protected]/
[2] https://lore.kernel.org/linux-pm/[email protected]/

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(-)
Signature · 1 line
2.17.1