Skip to content

RFC Add platform specific callbacks for cpu cooling

[email protected] linux-pm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2thermal/drivers/cpufreq_cooling: Add platform callback functionsdrivers/thermal/cpufreq_cooling.c include/linux/cpu_cooling.h+83 -00 replies
2/2thermal/drivers/sprd_cpu_cooling: Add platform mitigation thermal driverdrivers/thermal/Kconfig drivers/thermal/Makefile drivers/thermal/sprd_cpu_cooling.c+349 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH v1 0/2] Add platform specific callbacks for cpu cooling

From: Jeson Gao <[email protected]>

Reducing frequency to too low will affect the system performance, and sometimes the temperature could not cool down to an ideal value as well even if the frequency was reduced to the lowest.

This patch provides users a callback to set its own frequency limit to prevent cpu frequence from being reduced too low. And also give an interface to allow users to register specific cooling operations, such as unplug cores or cpu isolation.

Any comments are very appreciated.

jeson.gao (2):
thermal/drivers/cpufreq_cooling: Add platform callback functions thermal/drivers/sprd_cpu_cooling: Add platform mitigation thermal
driver

 drivers/thermal/Kconfig            |   8 +
 drivers/thermal/Makefile           |   1 +
 drivers/thermal/cpufreq_cooling.c  |  53 +++++
 drivers/thermal/sprd_cpu_cooling.c | 340 +++++++++++++++++++++++++++++
 include/linux/cpu_cooling.h        |  30 +++
 5 files changed, 432 insertions(+)
 create mode 100644 drivers/thermal/sprd_cpu_cooling.c
Signature · 1 line
2.20.1