mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sudeep Holla <sudeep.holla@arm.com>
To: Leo Yan <leo.yan@linaro.org>
Cc: Sudeep Holla <sudeep.holla@arm.com>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	rjw@rjwysocki.net, lorenzo.pieralisi@arm.com,
	"open list:CPUIDLE DRIVERS" <linux-pm@vger.kernel.org>,
	open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ARM: cpuidle: Support asymmetric idle definition
Date: Mon, 22 May 2017 14:59:14 +0100	[thread overview]
Message-ID: <4299ef3e-1cb2-983c-f0c1-13f16724256d@arm.com> (raw)
In-Reply-To: <20170522133452.GC9325@leoy-ThinkPad-T440>



On 22/05/17 14:34, Leo Yan wrote:
> Hi Sudeep,
> 
> On Mon, May 22, 2017 at 02:02:12PM +0100, Sudeep Holla wrote:
> 
> [...]
> 
>>>>>> On 19/05/17 17:45, Daniel Lezcano wrote:
>>>>>>> Some hardware have clusters with different idle states. The current code does
>>>>>>> not support this and fails as it expects all the idle states to be identical.
>>>>>>>
>>>>>>> Because of this, the Mediatek mtk8173 had to create the same idle state for a
>>>>>>> big.Little system and now the Hisilicon 960 is facing the same situation.
>>>>>>>
>>>>>>
>>>>>> While I agree the we don't support them today, it's better to benchmark
>>>>>> and record/compare the gain we get with the support for cluster based
>>>>>> idle states.
>>>>>
>>>>> Sorry, I don't get what you are talking about. What do you want to
>>>>> benchmark ? Cluster idling ?
>>>>>
>>>>
>>>> OK, I was not so clear. I had a brief chat with Lorenzo, we have few
>>>> reason to have this support:
>>>> 1. Different number of states between clusters
>>>> 2. Different latencies(this is the one I was referring above, generally
>>>>    we keep worst case timings here and wanted to see if any platform
>>>>    measured improvements with different latencies in the idle states)
>>>
>>> I don't see the point. Are you putting into question the big little design?
>>>
>>
>> Not exactly. Since they are generally worst case number, I wanted to
>> check if someone saw real benefit with 2 different set of values.
>> Anyways that's not important or blocking, just raised a point, so that
>> we can stick some benchmarking results with this.
> 
> In case you are interesting for Hikey960 idle states, you could see
> the two clustsers have different idle states:
> http://termbin.com/d7ed

Probably this if  off-topic, but I found CPU_NAP_0 really interesting:

1. CPU_NAP_0 has arm,psci-suspend-param as 0x00000000 which generally
   not recommended to avoid conflict with WFI

2. Initially I assumed, CPU_NAP_0 is retention/standby state, but then I
   see "local-timer-stop", which indicates it's power down state which
   means arm,psci-suspend-param is wrong.

-- 
Regards,
Sudeep

  reply	other threads:[~2017-05-22 13:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-19 16:45 Daniel Lezcano
2017-05-22 10:11 ` Sudeep Holla
2017-05-22 10:20   ` Daniel Lezcano
2017-05-22 10:32     ` Sudeep Holla
2017-05-22 12:41       ` Daniel Lezcano
2017-05-22 13:02         ` Sudeep Holla
2017-05-22 13:34           ` Leo Yan
2017-05-22 13:59             ` Sudeep Holla [this message]
2017-05-22 14:48           ` Daniel Lezcano
2017-05-22 15:02             ` Sudeep Holla
2017-05-31 16:40               ` Daniel Lezcano
2017-05-31 17:33                 ` Sudeep Holla
2017-06-01  7:37                   ` Daniel Lezcano

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=4299ef3e-1cb2-983c-f0c1-13f16724256d@arm.com \
    --to=sudeep.holla@arm.com \
    --cc=daniel.lezcano@linaro.org \
    --cc=leo.yan@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=lorenzo.pieralisi@arm.com \
    --cc=rjw@rjwysocki.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®