From: Przemyslaw Marczak <p.marczak@samsung.com>
To: Javier Martinez Canillas <javier@osg.samsung.com>,
Krzysztof Kozlowski <k.kozlowski@samsung.com>,
Anand Moon <linux.amoon@gmail.com>
Cc: 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>
Subject: Re: CPUIdle for Exynos5422 Odroid-XU3/XU4 boards.
Date: Mon, 24 Aug 2015 09:06:47 +0200 [thread overview]
Message-ID: <55DAC287.9000000@samsung.com> (raw)
In-Reply-To: <55D6D185.5070909@osg.samsung.com>
Hi all,
On 08/21/2015 09:21 AM, Javier Martinez Canillas wrote:
> [Adding Przemyslaw Marczak who was working on porting Odroid BL1/BL2/SPL]
This work is currently on hold, but the mainline spl support will not
solve early-boot issues caused by cpu running in a non-secure state.
But I think, that still some hacking is possible, and will continue a
research on it later, when I finish some more important tasks.
Best regards,
--
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak@samsung.com
>
> Hello,
>
> On 08/21/2015 05:59 AM, Krzysztof Kozlowski wrote:
>> On 21.08.2015 12:41, Anand Moon wrote:
>>> Hi Krzysztof,
>>>
>>> On 21 August 2015 at 06:25, Krzysztof Kozlowski <k.kozlowski@samsung.com> wrote:
>>>> On 21.08.2015 03:15, Anand Moon wrote:
>>>>> Hi Daniel,
>>>>>
>>>>> On 20 August 2015 at 21:40, Daniel Lezcano <daniel.lezcano@free.fr> wrote:
>>>>>> On 08/20/2015 12:54 PM, Anand Moon wrote:
>>>>>>>
>>>>>>> Hello Krzysztof/Kukjim,
>>>>>>>
>>>>>>> CPUIdle seen to be not working for Exynos5422 Odroid boards.
>>>>>>>
>>>>>>> Is their any way this feature will be implemented in the future.
>>>>>>
>>>>>>
>>>>>> Yeah a good willing to fix the bl1. More than one year asking for that !
>>>>>> nooo way !!
>>>>>>
>>>>>> Your answer is at the end of
>>>>>> http://lists.infradead.org/pipermail/linux-arm-kernel/2015-June/350632.html
>>>>>>
>>>>>>
>>>>>
>>>>> Thanks for the explanation.
>>>>>
>>>>> I was just referring following the source code.
>>>>>
>>>>> https://github.com/hardkernel/linux/blob/odroidxu3-3.10.y/arch/arm/mach-exynos/cpuidle-exynos5422.c
>>>>>
>>>>> It seem that cpufreq and cpuidle go hand in hand.
>>>>
>>>> Bartlomiej was working on cpufreq for Exynos542x:
>>>> http://lkml.iu.edu/hypermail/linux/kernel/1504.2/03139.html
>>>>
>>>> It would be nice to have also cpuidle and suspend features working on
>>>> Exynos542x family but this depends on firmware. Some time ago I
>>>> struggled with suspend on Arndale Octa (Exynos5420) and I failed. I
>>>> think the firmware is the issue here.
>
> There were a lot of Suspend-to-RAM bug fixes lately mostly related to
> critical clocks being gated. It would be nice to give a try on recent
> kernels and see if is still not working.
>
>>>>
>>>> Actually I am not sure what is your question Anand. You are asking if
>>>> someone plans to do this?
>>>
>>> Yes I am asking are their plans to implement cpufreq and cpuidle simultaneously.
>>
>> There are no obstacles for implementing them simultaneously so the
>> question is rather who plans to do the cpuidle driver for Exynos542x? I
>
> If the firmware is in a good shape (unfortunately as mentioned by Daniel,
> the one in the Odroids are not) then the generic ARM big.LITTLE CPUidle
> driver (CONFIG_ARM_BIG_LITTLE_CPUIDLE) should work.
>
> It is at least working for me on the Exynos5800 based Peach Pi Chromebook:
>
> $ cat /sys/devices/system/cpu/cpuidle/current_driver
> big_idle
>
> $ cat /sys/devices/system/cpu/cpu0/cpuidle/state*/name
> WFI
> C1
>
> $ cat /sys/devices/system/cpu/cpu0/cpuidle/state*/usage
> 7745
> 10578
>
>> don't... at least in nearby future. If I had some spare time then
>> probably I would try to make suspend working.
>>
>
> Suspend-to-RAM is at least working on the Exynos5420 and Exynos5800
> Chromebooks.
>
> As you mentioned it may depend on the firmware so that does not hold
> true for all the Exynos5420/5422/5800 boards but it would be good to
> know what is the causing S2R to fail.
>
>> Best regards,
>> Krzysztof
>>
>
> Best regards,
>
prev parent reply other threads:[~2015-08-24 7:06 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
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 [this message]
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=55DAC287.9000000@samsung.com \
--to=p.marczak@samsung.com \
--cc=b.zolnierkie@samsung.com \
--cc=daniel.lezcano@free.fr \
--cc=javier@osg.samsung.com \
--cc=k.kozlowski@samsung.com \
--cc=kgene@kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux.amoon@gmail.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