linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Various fixes to weights in the thermal framework
@ 2015-01-22 17:27 Javi Merino
  2015-01-22 17:27 ` [PATCH 1/5] thermal: of: fix cooling device weights in device tree Javi Merino
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Javi Merino @ 2015-01-22 17:27 UTC (permalink / raw)
  To: linux-pm; +Cc: Punit.Agrawal, Kapileshwar.Singh, Javi Merino

Weights can be specified in the device tree, but the code currently
ignores the value.  Patch 1 fixes that by putting the weight in the
thermal_instance.  Patches 2-3 simplifies the code in the fair share
governor by using the weight in the now populated thermal_instance.
Patch 4 exports the weight to sysfs.  Patch 5 drops the requirement of
all weights needing to add up to a hundred.

Existing thermal zones using this governor should still work, as these
series shouldn't make any functional change for them.  However,
thermal zones that previously weren't able to use the fair share
governor (because they were being register through device tree or
because they weren't populating thermal_bind_params) now populate the
weight properly and are able to use the governor.

Javi Merino (4):
  thermal: fair_share: use the weight from the thermal instance
  thermal: fair_share: fix typo
  thermal: export weight to sysfs
  thermal: fair_share: generalize the weight concept

Kapileshwar Singh (1):
  thermal: of: fix cooling device weights in device tree

 Documentation/thermal/sysfs-api.txt                | 27 ++++++++--
 drivers/thermal/db8500_thermal.c                   |  2 +-
 drivers/thermal/fair_share.c                       | 38 ++++++-------
 drivers/thermal/imx_thermal.c                      |  3 +-
 drivers/thermal/of-thermal.c                       |  5 +-
 drivers/thermal/samsung/exynos_thermal_common.c    |  3 +-
 drivers/thermal/thermal_core.c                     | 62 +++++++++++++++++++---
 drivers/thermal/thermal_core.h                     |  3 ++
 drivers/thermal/ti-soc-thermal/ti-thermal-common.c |  3 +-
 include/linux/thermal.h                            | 19 +++++--
 10 files changed, 126 insertions(+), 39 deletions(-)

-- 
1.9.1


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

end of thread, other threads:[~2015-02-01 12:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-22 17:27 [PATCH 0/5] Various fixes to weights in the thermal framework Javi Merino
2015-01-22 17:27 ` [PATCH 1/5] thermal: of: fix cooling device weights in device tree Javi Merino
2015-01-31  0:00   ` Eduardo Valentin
2015-02-01 12:21     ` Javi Merino
2015-01-22 17:27 ` [PATCH 2/5] thermal: fair_share: use the weight from the thermal instance Javi Merino
2015-01-22 17:27 ` [PATCH 3/5] thermal: fair_share: fix typo Javi Merino
2015-01-22 17:27 ` [PATCH 4/5] thermal: export weight to sysfs Javi Merino
2015-01-22 17:27 ` [PATCH 5/5] thermal: fair_share: generalize the weight concept Javi Merino

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).