Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1366170

[PATCH v3 0/4] thermal: hisilicon: enable power allocator for Hi6220

From Leo Yan <leo.yan@linaro.org>
Newsgroups linux.kernel
Subject [PATCH v3 0/4] thermal: hisilicon: enable power allocator for Hi6220
Date 2016-03-29 13:30 +0200
Message-ID <ri00q-5tz-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi6220 has octa-core so it has quite high power consumption when run
benchmark and introduces high temperature for SoC. So need enable
thermal governor to control temperature and also cannot hurt much for
performance after impose cooling operations on CPU.

This patch series is to enable power allocator for Hi6220. Patch 1 is to
change "hysteresis" as optional property for trip points, so when enable
power allocator governor we can ignore this property.

During profiling also found two issues for thermal sensor's driver. The
power allocator just uses only one sensor, so patch 2 is to fix sensor
driver to let it can initialize driver successfully with only enabling
one sensor; patch 3 is to dismiss warning of IRQ imbalance enabling.

After profiling on Hikey, the power model has been simplized with only
dynamic coefficient, and now it's convienence to pass it from CPU node.
So patch 4 and 5 bind sensor and pass power model parameters.

This patch series have been tested on 96boards Hikey.

Changes from v2:
* Discarded patch for changing "hysteresis" as optional property
* Added back "hysteresis" property

Changes from v1:
* According to Javi's review, removed unecessary properties for DT
* Added patch 1 for change "hysteresis" as optional property
* Added patch 3 to fix IRQ imbalance enabling issue


Leo Yan (4):
  thermal: hisilicon: support to use any sensor
  thermal: hisilicon: fix IRQ imbalance enabling
  arm64: dts: register Hi6220's thermal sensor
  arm64: dts: register Hi6220's thermal zone for power allocator

 arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 44 +++++++++++++++++++++++++++++++
 drivers/thermal/hisi_thermal.c            | 40 +++++++++++++++++-----------
 2 files changed, 68 insertions(+), 16 deletions(-)

-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/4] thermal: hisilicon: enable power allocator for Hi6220 Leo Yan <leo.yan@linaro.org> - 2016-03-29 13:30 +0200
  [PATCH v3 4/4] arm64: dts: register Hi6220's thermal zone for power allocator Leo Yan <leo.yan@linaro.org> - 2016-03-29 13:30 +0200
  [PATCH v3 3/4] arm64: dts: register Hi6220's thermal sensor Leo Yan <leo.yan@linaro.org> - 2016-03-29 13:30 +0200
  [PATCH v3 2/4] thermal: hisilicon: fix IRQ imbalance enabling Leo Yan <leo.yan@linaro.org> - 2016-03-29 13:30 +0200
  Re: [PATCH v3 0/4] thermal: hisilicon: enable power allocator for  Hi6220 Eduardo Valentin <edubezval@gmail.com> - 2016-03-29 17:50 +0200
    Re: [PATCH v3 0/4] thermal: hisilicon: enable power allocator for  Hi6220 Leo Yan <leo.yan@linaro.org> - 2016-03-30 05:00 +0200
      Re: [PATCH v3 0/4] thermal: hisilicon: enable power allocator for  Hi6220 Wei Xu <xuwei5@hisilicon.com> - 2016-03-30 17:20 +0200

csiph-web