Skip to content

Support to tune governor in run time

Wei Ni linux-pm 3 versions – Applied

Status from this message: applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 8 repliesApplied
  2. v31 of 2 patches 1 replySuperseded
  3. v21 of 2 patches 3 repliesSuperseded

Changes from v1 from the cover letter

1. split avaiable_policies part to the "patch 1/2", and add document for it.
2. add document for the thermal_update_governor.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2thermal: add available policies attributeDocumentation/thermal/sysfs-api.txt drivers/thermal/thermal_core.c+34 -01 reply
2/2thermal: add interface to support tune governor in run-timeDocumentation/thermal/sysfs-api.txt drivers/thermal/thermal_core.c include/linux/thermal.h+36 -76 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/2] Support to tune governor in run time

This serie can support to turn governor for thermal zone in run time.
Adds avaiable_policies attribute, so the user can get available governor policies and change te governor to a new one. Adds thermal_update_governor() function, so the thermal platform driver can use it to update governor.

Changes from v1:
1. split avaiable_policies part to the "patch 1/2", and add document for it.
2. add document for the thermal_update_governor.
Changes from v2:
1. fix the overflow issue in the avaiable_policies_show Changes from v3:
1. remove the .start/.stop callback, because we doesn't have the real case to support it now.

Wei Ni (2):
thermal: add available policies attribute
thermal: add interface to support tune governor in run-time

 Documentation/thermal/sysfs-api.txt |   10 ++++++
 drivers/thermal/thermal_core.c      |   66 +++++++++++++++++++++++++++++++----
 include/linux/thermal.h             |    1 +
 3 files changed, 70 insertions(+), 7 deletions(-)
Signature · 1 line
1.7.9.5