From: gregory.clement@free-electrons.com (Gregory CLEMENT)
To: linux-arm-kernel@lists.infradead.org
Subject: CPUIdle Armada 370
Date: Wed, 06 Aug 2014 18:10:17 +0200 [thread overview]
Message-ID: <53E25369.60809@free-electrons.com> (raw)
In-Reply-To: <1407340917231.68970@vitec.com>
On 06/08/2014 18:01, Nicolas Derouineau wrote:
> Ok,
> So here is the log of the error(using the previous config file)>
>
> NAND read: device 0 offset 0x240000, size 0x600000
> 6291456 bytes read: OK
> ## Booting kernel from Legacy Image at 02000000 ...
> Image Name: Linux-3.16.0-next-20140805-dirty
> Created: 2014-08-06 15:56:06 UTC
> Image Type: ARM Linux Kernel Image (uncompressed)
> Data Size: 2939920 Bytes = 2.8 MiB
> Load Address: 00080000
> Entry Point: 00080000
> Verifying Checksum ... OK
> ## Flattened Device Tree blob at 01000000
> Booting using the fdt blob at 0x01000000
> Loading Kernel Image ... OK
> OK
> Loading Device Tree to 00ffa000, end 00fff8a6 ... OK
>
> Starting kernel ...
>
> [ 0.000000] Booting Linux on physical CPU 0x0
> [ 0.000000] Linux version 3.16.0-next-20140805-dirty (nde at nde-OptiPlex-980) (gcc version 4.6.4 (Linaro GCC branch-4.6.4. Marvell GCC release 201308-2123.0cc69bb4 64K MAXPAGESIZE ALIGN) ) #13 Wed Aug 6 14
> [ 0.000000] CPU: ARMv7 Processor [561f5811] revision 1 (ARMv7), cr=10c5387d
> [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
> [ 0.000000] Machine model: Vitec VMR-1404 (Marvell Armada 370 based)
So this your own board with your own dts I guess. Would it possible to share it to see
if a mistake could have slip there?
[...]
> [ 0.073922] mvebu-soc-id: MVEBU SoC ID=0x6707, Rev=0x1
Interesting you use a different variant the 88F6707 whereas we only test
this driver on the 88F6710. Maybe there is something there.
Thanks,
Gregory
> ________________________________________
> De : Gregory CLEMENT <gregory.clement@free-electrons.com>
> Envoy? : mercredi 6 ao?t 2014 17:43
> ? : Nicolas Derouineau; linux-arm-kernel at lists.infradead.org
> Cc : Thomas Petazzoni; Simon Boulay
> Objet : Re: CPUIdle Armada 370
>
> Hi Nicolas,
>
> [..]
>
>>> On 06/08/2014 16:01, Nicolas Derouineau wrote:
>>>> Hello,
>>>> I am currently trying to use the CPUIdle driver provided by linux-next (or by the patch here https://github.com/MISL-EBU-System-SW/mainline-public/commits/3.16/cpuidle-v3).
>>>
>>> I have just tested using next-20140806 and mvebu_v7_defconfig.
>>> And it worked well on a mirabox using the Armada 370 SoC.
>>>
>>>>
>>>> Everything runs fine as long as I don't select the CPU driver for the ARMADA Family. When I do, at boottime, the program is entering the __cpu_suspend save function and then get lost in it and that turns into a kernel panic. I have already made a post about this on the ARM Community Forum (http://community.arm.com/thread/6326).
>>>>
>>>> The "faulty" configuration file is attached to this email.
>>>
>>> Now I will try with this configuration
>>
>> Using your configuration file I didn't reproduce your issue.
>> And according to the stat given by linux the kernel spent a lot
>> of time in idle:
>>
>> cat /sys/devices/system/cpu/cpu0/cpuidle/state1/time
>> 338822284
>>
>>
>> Could you try again with next-20140806?
>
> Also could you send your full boot log until the crash
> it may help us.
>
> Thanks,
>
> Gregory
>
> --
> Gregory Clement, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
>
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2014-08-06 16:10 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-06 14:01 CPUIdle Armada 370 Nicolas Derouineau
2014-08-06 14:34 ` Andrew Lunn
2014-08-06 15:14 ` Gregory CLEMENT
2014-08-06 15:28 ` Gregory CLEMENT
2014-08-06 15:43 ` Gregory CLEMENT
2014-08-06 16:01 ` Nicolas Derouineau
2014-08-06 16:10 ` Gregory CLEMENT [this message]
2014-08-06 16:16 ` Nicolas Derouineau
2014-08-07 8:28 ` Nicolas Derouineau
2014-08-07 9:30 ` Gregory CLEMENT
2014-08-07 13:21 ` Andrew Lunn
2014-08-07 14:44 ` Simon Boulay
2014-08-29 12:33 ` Nicolas Derouineau
2014-08-29 12:39 ` Gregory CLEMENT
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=53E25369.60809@free-electrons.com \
--to=gregory.clement@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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.