* imx6 suspend/resume issue
@ 2013-12-10 12:21 Bjørn Erik Nilsen
0 siblings, 0 replies; 3+ messages in thread
From: Bjørn Erik Nilsen @ 2013-12-10 12:21 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
I have a nitrogen6x board (imx6q) from boundary devices and I've been
playing with power management on the 3.12 kernel.
There are issues related to suspend/resume. It looks like I can
successfully enter mem mode, however when I trigger one of the wakeup
sources I'm not able to resume successfully.
#echo mem > /sys/power/state
PM: Syncing filesystems ... done.
PM: Preparing system for mem sleep
Freezing user space processes ... (elapsed 0.001 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
PM: Entering mem sleep
PM: suspend of devices complete after 53.008 msecs
PM: suspend devices took 0.060 seconds
PM: late suspend of devices complete after 1.924 msecs
PM: noirq suspend of devices complete after 2.604 msecs
Disabling non-boot CPUs ...
CPU1: shutdown
CPU2: shutdown
CPU3: shutdown
<trigger wake-up source>
Enabling non-boot CPUs ...
CPU1: Booted secondary processor
CPU1 is up
CPU2: Booted secondary processor
CPU2 is up
CPU3: Booted secondary processor
CPU3 is up
And then the system hangs there. I have looked through recent patchwork
and I cannot find any obvious commits missing from my branch.
I'm thinking this must be a known issue and perhaps you can point me in
the right direction for what I should look for.
Best regards,
Bj?rn Erik Nilsen
^ permalink raw reply [flat|nested] 3+ messages in thread
* imx6 suspend/resume issue
[not found] <52a7073b.c72b980a.2ec8.6fffSMTPIN_ADDED_MISSING@mx.google.com>
@ 2013-12-10 12:56 ` Shawn Guo
2013-12-10 14:34 ` Bjørn Erik Nilsen
0 siblings, 1 reply; 3+ messages in thread
From: Shawn Guo @ 2013-12-10 12:56 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Dec 10, 2013 at 01:21:20PM +0100, Bj?rn Erik Nilsen wrote:
> Hi,
>
> I have a nitrogen6x board (imx6q) from boundary devices and I've been
> playing with power management on the 3.12 kernel.
>
> There are issues related to suspend/resume. It looks like I can
> successfully enter mem mode, however when I trigger one of the wakeup
> sources I'm not able to resume successfully.
It might be a nitrogen6x specific problem, as 3.12 kernel works fine on
my board (imx6q-sabresd).
root at arm:~# uname -a
Linux arm 3.12.0 #3 SMP Tue Dec 10 20:45:32 CST 2013 armv7l GNU/Linux
root at arm:~# echo mem > /sys/power/state
PM: Syncing filesystems ... done.
PM: Preparing system for mem sleep
Freezing user space processes ... (elapsed 0.001 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
PM: Entering mem sleep
PM: suspend of devices complete after 40.785 msecs
PM: suspend devices took 0.040 seconds
PM: late suspend of devices complete after 0.351 msecs
PM: noirq suspend of devices complete after 0.521 msecs
Disabling non-boot CPUs ...
CPU1: shutdown
CPU2: shutdown
CPU3: shutdown
Enabling non-boot CPUs ...
CPU1: Booted secondary processor
CPU1 is up
CPU2: Booted secondary processor
CPU2 is up
CPU3: Booted secondary processor
CPU3 is up
PM: noirq resume of devices complete after 0.271 msecs
PM: early resume of devices complete after 0.336 msecs
ata1: SATA link down (SStatus 0 SControl 300)
PM: resume of devices complete after 355.835 msecs
PM: resume devices took 0.360 seconds
PM: Finishing wakeup.
Restarting tasks ... done.
root at arm:~#
Shawn
>
> #echo mem > /sys/power/state
>
> PM: Syncing filesystems ... done.
> PM: Preparing system for mem sleep
> Freezing user space processes ... (elapsed 0.001 seconds) done.
> Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
> PM: Entering mem sleep
> PM: suspend of devices complete after 53.008 msecs
> PM: suspend devices took 0.060 seconds
> PM: late suspend of devices complete after 1.924 msecs
> PM: noirq suspend of devices complete after 2.604 msecs
> Disabling non-boot CPUs ...
> CPU1: shutdown
> CPU2: shutdown
> CPU3: shutdown
>
> <trigger wake-up source>
>
> Enabling non-boot CPUs ...
> CPU1: Booted secondary processor
> CPU1 is up
> CPU2: Booted secondary processor
> CPU2 is up
> CPU3: Booted secondary processor
> CPU3 is up
>
> And then the system hangs there. I have looked through recent patchwork
> and I cannot find any obvious commits missing from my branch.
>
> I'm thinking this must be a known issue and perhaps you can point me in
> the right direction for what I should look for.
^ permalink raw reply [flat|nested] 3+ messages in thread
* imx6 suspend/resume issue
2013-12-10 12:56 ` Shawn Guo
@ 2013-12-10 14:34 ` Bjørn Erik Nilsen
0 siblings, 0 replies; 3+ messages in thread
From: Bjørn Erik Nilsen @ 2013-12-10 14:34 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, 2013-12-10 at 13:56 +0100, Shawn Guo wrote:
> On Tue, Dec 10, 2013 at 01:21:20PM +0100, Bj?rn Erik Nilsen wrote:
> > Hi,
> >
> > I have a nitrogen6x board (imx6q) from boundary devices and I've been
> > playing with power management on the 3.12 kernel.
> >
> > There are issues related to suspend/resume. It looks like I can
> > successfully enter mem mode, however when I trigger one of the wakeup
> > sources I'm not able to resume successfully.
>
> It might be a nitrogen6x specific problem, as 3.12 kernel works fine on
> my board (imx6q-sabresd).
I did more extensive testing around this and it turns out it actually
works like a charm when only the imx chip is powered (other power
domains shut down).
So the core part does indeed work.
>
> root at arm:~# uname -a
> Linux arm 3.12.0 #3 SMP Tue Dec 10 20:45:32 CST 2013 armv7l GNU/Linux
> root at arm:~# echo mem > /sys/power/state
> PM: Syncing filesystems ... done.
> PM: Preparing system for mem sleep
> Freezing user space processes ... (elapsed 0.001 seconds) done.
> Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
> PM: Entering mem sleep
> PM: suspend of devices complete after 40.785 msecs
> PM: suspend devices took 0.040 seconds
> PM: late suspend of devices complete after 0.351 msecs
> PM: noirq suspend of devices complete after 0.521 msecs
> Disabling non-boot CPUs ...
> CPU1: shutdown
> CPU2: shutdown
> CPU3: shutdown
> Enabling non-boot CPUs ...
> CPU1: Booted secondary processor
> CPU1 is up
> CPU2: Booted secondary processor
> CPU2 is up
> CPU3: Booted secondary processor
> CPU3 is up
> PM: noirq resume of devices complete after 0.271 msecs
> PM: early resume of devices complete after 0.336 msecs
> ata1: SATA link down (SStatus 0 SControl 300)
> PM: resume of devices complete after 355.835 msecs
> PM: resume devices took 0.360 seconds
> PM: Finishing wakeup.
> Restarting tasks ... done.
> root at arm:~#
>
> Shawn
>
> >
> > #echo mem > /sys/power/state
> >
> > PM: Syncing filesystems ... done.
> > PM: Preparing system for mem sleep
> > Freezing user space processes ... (elapsed 0.001 seconds) done.
> > Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
> > PM: Entering mem sleep
> > PM: suspend of devices complete after 53.008 msecs
> > PM: suspend devices took 0.060 seconds
> > PM: late suspend of devices complete after 1.924 msecs
> > PM: noirq suspend of devices complete after 2.604 msecs
> > Disabling non-boot CPUs ...
> > CPU1: shutdown
> > CPU2: shutdown
> > CPU3: shutdown
> >
> > <trigger wake-up source>
> >
> > Enabling non-boot CPUs ...
> > CPU1: Booted secondary processor
> > CPU1 is up
> > CPU2: Booted secondary processor
> > CPU2 is up
> > CPU3: Booted secondary processor
> > CPU3 is up
> >
> > And then the system hangs there. I have looked through recent patchwork
> > and I cannot find any obvious commits missing from my branch.
> >
> > I'm thinking this must be a known issue and perhaps you can point me in
> > the right direction for what I should look for.
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-12-10 14:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-10 12:21 imx6 suspend/resume issue Bjørn Erik Nilsen
[not found] <52a7073b.c72b980a.2ec8.6fffSMTPIN_ADDED_MISSING@mx.google.com>
2013-12-10 12:56 ` Shawn Guo
2013-12-10 14:34 ` Bjørn Erik Nilsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).