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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150512032428.GH4810@localhost.localdomain>
Date:	Mon, 11 May 2015 20:24:30 -0700
From:	Eduardo Valentin <edubezval@...il.com>
To:	Rui Zhang <rui.zhang@...el.com>, hongtao.jia@...escale.com,
	kong.kongxinwei@...ilicon.com, nrajan@...eaurora.org
Cc:	Linux PM <linux-pm@...r.kernel.org>,
	LKML <linux-kernel@...r.kernel.org>,
	Linux ACPI <linux-acpi@...r.kernel.org>
Subject: Re: [PATCH 0/2] thermal: add support to slope and offset

Hi,

On Mon, May 11, 2015 at 08:04:15PM -0700, Eduardo Valentin wrote:
> Hello all,
> 
> This is a patch series to add support to slope and offset constants
> of a linear extrapolation model. This type of model is very common
> across different platforms, and many drivers are attempting
> to have its support.
> 
> The basic idea is to have this mapping in the thermal core,
> as part of thermal_zone_params. In this series, I also add
> a simple support to read them from DT, i.e.:
>                 /* hotspot = 1 * adc + 6000 */
> 		coefficients =          <1      6000>;
> 
> I am copying some of the driver writers that attempted to 
> use this feature, but by adding their own property. Please,
> check if this change is enough to properly map your slope
> and offset requirement. Remember, they will be added in your
> thermal zone DT node, instead of in your sensor DT node.
> 

Forgot to copy Narendran, codeaurora developer

> BR,
> 
> Eduardo Valentin (2):
>   thermal: support slope and offset coefficients
>   thermal: of-thermal: add support for reading coefficients property
> 
>  Documentation/thermal/sysfs-api.txt | 16 ++++++++++++++++
>  drivers/thermal/of-thermal.c        | 26 ++++++++++++++++++++++++--
>  drivers/thermal/thermal_core.c      |  4 ++++
>  include/linux/thermal.h             | 11 +++++++++++
>  4 files changed, 55 insertions(+), 2 deletions(-)
> 
> -- 
> 2.3.4
> 

Download attachment "signature.asc" of type "application/pgp-signature" (491 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ