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]
Date:   Mon, 4 Dec 2017 18:00:33 -0800
From:   Eduardo Valentin <edubezval@...il.com>
To:     Daniel Lezcano <daniel.lezcano@...aro.org>
Cc:     Leo Yan <leo.yan@...aro.org>, rui.zhang@...el.com,
        jean.wangtao@...aro.org, Keerthy <j-keerthy@...com>,
        "open list:THERMAL" <linux-pm@...r.kernel.org>,
        open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH V2] thermal/drivers/hisi: Switch to interrupt mode

Hello,

On Thu, Sep 28, 2017 at 09:32:20AM +0200, Daniel Lezcano wrote:
> On Thu, Sep 28, 2017 at 02:57:52PM +0800, Leo Yan wrote:
> > Hi Daniel,
> > 
> > On Thu, Sep 28, 2017 at 07:13:44AM +0200, Daniel Lezcano wrote:
> > > At this moment, we have both the interrupt setup and the polling enabled. The
> > > interrupt does nothing more than forcing an update while the temperature is
> > > polled every second.
> > > 
> > > We can do much better than that, threshold is set to 65C in the DT and the
> > > passive cooling device enters in the dance when 75C is reached. We need to
> > > sample the temperature at 65C in order to let the IPA gather enough values for
> > > the PID computation. If the SoC is running at a temperature below 65C, we will
> > > be constantly polling for nothing.
> > > 
> > > This patch disables the sensor when the temperature is below 65C and enables it
> > > when passing the threshold. It results the thermal sensor driver will have no
> > > activity most of the time.
> > > 
> > > Cc: Keerthy <j-keerthy@...com>
> > > Cc: Leo Yang <leo.yan@...aro.org>
> > 
> > s/Yang/Yan :) Have tested this patch on Hikey at my side:
> 
> Oops sorry :)
> 
> > Reviewed-by: Leo Yan <leo.yan@...aro.org>
> > Tested-by: Leo Yan <leo.yan@...aro.org>
> 

Is this still needed after the latest rework done?

> 
> Great! Thanks for testing.
> 
>   -- Daniel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ