linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Improve IPA mechanisms in low temperature state
@ 2021-03-31 16:33 Lukasz Luba
  2021-03-31 16:33 ` [PATCH 1/2] thermal: power_allocator: maintain the device statistics from going stale Lukasz Luba
  2021-03-31 16:33 ` [PATCH 2/2] thermal: power_allocator: update once cooling devices when temp is low Lukasz Luba
  0 siblings, 2 replies; 12+ messages in thread
From: Lukasz Luba @ 2021-03-31 16:33 UTC (permalink / raw)
  To: linux-kernel, daniel.lezcano; +Cc: linux-pm, amitk, rui.zhang, lukasz.luba

Hi all,

This patch set aims to address the issues present in IPA when the
temperature is below the first trip point and cooling devices are not
throttled.
The first patch adds a basic check of cooling devices power to keep the
internal statistics fresh. This allows to avoid issue when the statistics
cover very long period, because they were not maintained.
The second patch addressed an issue described in bugzilla [1], which is:
unnecessary updating cooling devices when their state has not changed
because they are not throttled. This update triggers sending an event,
which should be avoided. Thus, patch 2/2 adds a tracking mechanism if
the update was triggered and makes sure it will be done only once when
the temperature continue to stay below first trip point.

Regards,
Lukasz Luba

[1] https://bugzilla.kernel.org/show_bug.cgi?id=212501

Lukasz Luba (2):
  thermal: power_allocator: maintain the device statistics from going
    stale
  thermal: power_allocator: update once cooling devices when temp is low

 drivers/thermal/gov_power_allocator.c | 33 +++++++++++++++++++++++++--
 1 file changed, 31 insertions(+), 2 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-04-06 19:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-31 16:33 [PATCH 0/2] Improve IPA mechanisms in low temperature state Lukasz Luba
2021-03-31 16:33 ` [PATCH 1/2] thermal: power_allocator: maintain the device statistics from going stale Lukasz Luba
2021-04-02 15:54   ` Daniel Lezcano
2021-04-06  8:44     ` Lukasz Luba
2021-04-06 10:16       ` Daniel Lezcano
2021-04-06 10:39         ` Lukasz Luba
2021-04-06 11:24           ` Daniel Lezcano
2021-04-06 12:25             ` Lukasz Luba
2021-04-06 14:32               ` Daniel Lezcano
2021-04-06 18:38                 ` Lukasz Luba
2021-04-06 19:45                   ` Daniel Lezcano
2021-03-31 16:33 ` [PATCH 2/2] thermal: power_allocator: update once cooling devices when temp is low Lukasz Luba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).