[PATCH v2 0/4] Let the power allocator thermal governor run on any thermal zone

Javi Merino
2015-08-11T10:21:53Z

Relax the thermal governor requirements of sustainable_power and at
least two trip points so that it can be bound to any thermal zone.
Its behavior won't be optimal, it would be the best it can with the
data provided.

Changes since v1:
- Let the power allocator governor operate if the thermal zone
doesn't have tzp as suggested by Chung-yih Wang

Javi Merino (4):
thermal: power_allocator: relax the requirement of a sustainable_power
in tzp
thermal: power_allocator: relax the requirement of two passive trip
points
thermal: power_allocator: don't require tzp to be present for the
thermal zone
thermal: power_allocator: exit early if there are no cooling devices

Documentation/thermal/power_allocator.txt | 2 +-
drivers/thermal/power_allocator.c | 178 ++++++++++++++++++++++--------
drivers/thermal/thermal_core.c | 28 +++++
include/linux/thermal.h | 6 +
4 files changed, 165 insertions(+), 49 deletions(-)

--
1.9.1