From: Javier Martinez Canillas <javier@osg.samsung.com>
To: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Anand Moon <linux.amoon@gmail.com>,
Daniel Lezcano <daniel.lezcano@free.fr>,
Kukjin Kim <kgene@kernel.org>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
"linux-samsung-soc@vger.kernel.org"
<linux-samsung-soc@vger.kernel.org>,
Przemyslaw Marczak <p.marczak@samsung.com>,
Kevin Hilman <khilman@linaro.org>
Subject: Re: CPUIdle for Exynos5422 Odroid-XU3/XU4 boards.
Date: Tue, 25 Aug 2015 11:43:38 +0200 [thread overview]
Message-ID: <55DC38CA.9090202@osg.samsung.com> (raw)
In-Reply-To: <CAJKOXPeFVwmRzP3YPSaJ_PtNf3L3pzXSXVqHwyYfWDYwhTmsBQ@mail.gmail.com>
[adding Kevin Hilman as cc who was also interested in CPUidle for Exynos]
Hello Krzysztof,
On 08/23/2015 03:26 AM, Krzysztof Kozlowski wrote:
[snip]
> 2015-08-21 16:21 GMT+09:00 Javier Martinez Canillas <javier@osg.samsung.com>:
>
> The big.LITTLE cpuidle driver is not a typical Exynos cpuidle driver.
> It only executes CPU suspend on a cluster which essentially is a power
> down operation.
>
You are correct, looking at the the big.LITTLE CPUidle driver I see that
it only has two C-states: C0 (normal WFI) and C1 (single CPU power-down)
which as you said, places the CPU into power-down mode by using the MCPM
infrastructure so it's basically a CPU suspend AFAIU.
So what you are saying is that there are deeper C-states supported by the
Exynos 542x SoC family but these are not handled by the b.L CPUidle driver.
> When we talk about cpuidle on Exynos, we have in mind one of sleep
> modes: AFTR or LPA (sometimes instead of LPA there is LPD or W-AFTR).
> Actually this is more like a system idle mode, not CPU idle. The power
> savings are much bigger than disabling only one cluster.
>
Interesting, I was not aware of AFTR and LPA but I looked in the manual now.
Thanks a lot for the information.
I see that the Exynos CPUidle driver (drivers/cpuidle/cpuidle-exynos.c) also
has only two C-states (WFI and C1) but C1 makes the system to enter in AFTR
(system-level power gating).
This is similar to what the downstream ChromiumOS 3.8 kernel CPUidle driver
does IIUC [0].
> So the question is still valid - whether someone wants or plans to
> implement cpuidle for Exynos 542x family. Odroid XU3 is not a priority
> here because energy consumption is not an issue there. This is not a
> mobile device.
>
That's true but it will be interesting for the 5420 and 5800 based
Chromebooks since optimizing power consumption would be useful there.
I thought that big.LITTLE platforms were encouraged to use the generic b.L
CPUidle driver just like DT platforms should use the generic CPUFreq DT
driver but I guess I misunderstood.
So the b.L CPUidle driver is only to have minimum CPUidle support but a SoC
specific driver is needed to fine tune and get most out of the platform?
Or should the b.L CPUidle driver be extended to add per platform C-states?
> Best regards,
> Krzysztof
>
[0]: https://chromium.googlesource.com/chromiumos/third_party/kernel/+/chromeos-3.8/arch/arm/mach-exynos/cpuidle.c
Best regards,
--
Javier Martinez Canillas
Open Source Group
Samsung Research America
next prev parent reply other threads:[~2015-08-25 9:43 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-20 10:54 CPUIdle for Exynos5422 Odroid-XU3/XU4 boards Anand Moon
2015-08-20 16:10 ` Daniel Lezcano
2015-08-20 18:15 ` Anand Moon
2015-08-20 18:50 ` Daniel Lezcano
2015-08-21 0:55 ` Krzysztof Kozlowski
2015-08-21 3:41 ` Anand Moon
2015-08-21 3:59 ` Krzysztof Kozlowski
2015-08-21 7:21 ` Javier Martinez Canillas
2015-08-23 1:26 ` Krzysztof Kozlowski
2015-08-25 9:43 ` Javier Martinez Canillas [this message]
2015-08-25 14:35 ` Bartlomiej Zolnierkiewicz
2015-08-25 16:09 ` Lorenzo Pieralisi
2015-08-27 16:58 ` Bartlomiej Zolnierkiewicz
2015-08-28 8:35 ` Javier Martinez Canillas
2015-08-28 12:42 ` Krzysztof Kozlowski
2015-08-28 12:50 ` Bartlomiej Zolnierkiewicz
2015-10-12 19:06 ` Amit Kucheria
2015-08-24 7:06 ` Przemyslaw Marczak
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=55DC38CA.9090202@osg.samsung.com \
--to=javier@osg.samsung.com \
--cc=b.zolnierkie@samsung.com \
--cc=daniel.lezcano@free.fr \
--cc=k.kozlowski@samsung.com \
--cc=kgene@kernel.org \
--cc=khilman@linaro.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux.amoon@gmail.com \
--cc=p.marczak@samsung.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox