All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mason <slash.tmp@free.fr>
To: Javi Merino <javi.merino@arm.com>
Cc: Linux PM <linux-pm@vger.kernel.org>,
	cpufreq <cpufreq@vger.kernel.org>,
	Zhang Rui <rui.zhang@intel.com>,
	Eduardo Valentin <edubezval@gmail.com>,
	Amit Daniel <amit.daniel@samsung.com>,
	Lukasz Majewski <l.majewski@samsung.com>,
	Andrew Lunn <andrew@lunn.ch>
Subject: Re: Using a temperature sensor with 1-bit output for CPU throttling
Date: Tue, 21 Jul 2015 13:49:24 +0200	[thread overview]
Message-ID: <55AE31C4.9030100@free.fr> (raw)
In-Reply-To: <55AE0C7F.40506@free.fr>

On 21/07/2015 11:10, Mason wrote:

> I don't understand this behavior from the governor:
> 
> [   27.557494] thermal thermal_zone0: last_temperature=0, current_temperature=51000
> [   27.583626] thermal thermal_zone0: Trip0[type=1,temp=70000]:trend=1,throttle=0
> [   27.590961] thermal cooling_device0: cur_state=0
> [   27.595672] thermal cooling_device0: old_target=-1, target=-1
> [   27.601473] thermal cooling_device0: zone0->target=4294967295
> [   27.607263] thermal cooling_device0: set to state 0
> 
> [   40.643340] thermal thermal_zone0: last_temperature=51000, current_temperature=46000
> [   40.669930] thermal thermal_zone0: Trip0[type=1,temp=70000]:trend=2,throttle=0
> [   40.677217] thermal cooling_device0: cur_state=0
> [   40.681873] thermal cooling_device0: old_target=-1, target=4
> [   40.687579] thermal cooling_device0: zone0->target=4
> [   40.692669] thermal cooling_device0: set to state 4
> 
> The first temperature read = 51°C (below the 70°C trip point).
> Next read = 46°C (still below the trip point) and even though
> the governor claims throttle=0, it sets the cooling state to 4
> (so minimal frequency if I understand correctly).

Never mind. This is due to a bug that was fixed almost a year ago.
(commit 26bb0e9a1a938ec98ee07aa76533f1a711fba706)

I've requested the fix be back-ported to linux-3.14.y
http://thread.gmane.org/gmane.linux.kernel.stable/143070

Regards.


  reply	other threads:[~2015-07-21 11:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-28 11:27 Using a temperature sensor with 1-bit output for CPU throttling Mason
2015-04-29 13:47 ` Mason
2015-04-29 16:36   ` Javi Merino
2015-07-21  9:10     ` Mason
2015-07-21 11:49       ` Mason [this message]
2015-07-23  9:19       ` Mason
2015-07-23 12:51         ` Mason
2015-05-13  8:02   ` Mason
2015-05-14  9:25     ` Punit Agrawal
2015-05-14  9:46       ` Mason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55AE31C4.9030100@free.fr \
    --to=slash.tmp@free.fr \
    --cc=amit.daniel@samsung.com \
    --cc=andrew@lunn.ch \
    --cc=cpufreq@vger.kernel.org \
    --cc=edubezval@gmail.com \
    --cc=javi.merino@arm.com \
    --cc=l.majewski@samsung.com \
    --cc=linux-pm@vger.kernel.org \
    --cc=rui.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.