lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 15 Apr 2020 11:09:57 +0800
From:   zhang.lyra@...il.com
To:     linux-pm@...r.kernel.org
Cc:     Amit Daniel Kachhap <amit.kachhap@...il.com>,
        Daniel Lezcano <daniel.lezcano@...aro.org>,
        Viresh Kumar <viresh.kumar@...aro.org>,
        Javi Merino <javi.merino@...nel.org>,
        Zhang Rui <rui.zhang@...el.com>,
        Amit Kucheria <amit.kucheria@...durent.com>,
        linux-kernel@...r.kernel.org, Orson Zhai <orsonzhai@...il.com>,
        Baolin Wang <baolin.wang7@...il.com>,
        Chunyan Zhang <zhang.lyra@...il.com>,
        Chunyan Zhang <chunyan.zhang@...soc.com>
Subject: [RFC PATCH v1 0/2] Add platform specific callbacks for cpu cooling

From: Jeson Gao <jeson.gao@...soc.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ