mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC PATCH v1 0/2] Add platform specific callbacks for cpu cooling
@ 2020-04-15  3:09 zhang.lyra
  2020-04-15  3:09 ` [RFC PATCH v1 1/2] thermal/drivers/cpufreq_cooling: Add platform callback functions zhang.lyra
  2020-04-15  3:09 ` [RFC PATCH v1 2/2] thermal/drivers/sprd_cpu_cooling: Add platform mitigation thermal driver zhang.lyra
  0 siblings, 2 replies; 3+ messages in thread
From: zhang.lyra @ 2020-04-15  3:09 UTC (permalink / raw)
  To: linux-pm
  Cc: Amit Daniel Kachhap, Daniel Lezcano, Viresh Kumar, Javi Merino,
	Zhang Rui, Amit Kucheria, linux-kernel, Orson Zhai, Baolin Wang,
	Chunyan Zhang, Chunyan Zhang

From: Jeson Gao <jeson.gao@unisoc.com>

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

-- 
2.20.1


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

end of thread, other threads:[~2020-04-15  3:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-15  3:09 [RFC PATCH v1 0/2] Add platform specific callbacks for cpu cooling zhang.lyra
2020-04-15  3:09 ` [RFC PATCH v1 1/2] thermal/drivers/cpufreq_cooling: Add platform callback functions zhang.lyra
2020-04-15  3:09 ` [RFC PATCH v1 2/2] thermal/drivers/sprd_cpu_cooling: Add platform mitigation thermal driver zhang.lyra

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

all inboxes | Powered by JetHome®