Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] thermal: power allocator: add new divvy-up algorithm
@ 2017-05-09 14:13 Lukasz Luba
  2017-05-09 14:13 ` [PATCH v2 1/2] thermal: IPA: " Lukasz Luba
  2017-05-09 14:13 ` [PATCH v2 2/2] trace: power allocator: add trace for divvyup algorithm Lukasz Luba
  0 siblings, 2 replies; 4+ messages in thread
From: Lukasz Luba @ 2017-05-09 14:13 UTC (permalink / raw)
  To: linux-pm; +Cc: lukasz.luba, javi.merino, rui.zhang, edubezval

Hi,

This patch set introduces a new algorithm in IPA.
It distributes the power in different way.
In first phase the spare power is splited between the same
type of deveices. In the next phase the rest of the power
is split among all other devices.
More detailed description can be found in first patch.
Second patch adds trace to the algorithm.

Patch set is based on v4.11.

This is a v2, v1 failed on 0-day build test
due to division issue.

Changes:
v2
- change division to div_u64()

Regards,
Lukasz Luba

Lukasz Luba (2):
  thermal: IPA: add new divvy-up algorithm
  trace: power allocator: add trace for divvyup algorithm

 drivers/thermal/power_allocator.c              | 179 +++++++++++++++++++++----
 include/trace/events/thermal_power_allocator.h |  40 ++++++
 2 files changed, 195 insertions(+), 24 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2017-05-09 14:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-09 14:13 [PATCH v2 0/2] thermal: power allocator: add new divvy-up algorithm Lukasz Luba
2017-05-09 14:13 ` [PATCH v2 1/2] thermal: IPA: " Lukasz Luba
2017-05-09 14:13 ` [PATCH v2 2/2] trace: power allocator: add trace for divvyup algorithm Lukasz Luba
2017-05-09 14:46   ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox