linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* i.mx53 suspend/resume mainline kernel
@ 2015-06-10 10:26 Alexey Mednyy
  2015-06-11 14:26 ` Alexey Mednyy
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Mednyy @ 2015-06-10 10:26 UTC (permalink / raw)
  To: linux-arm-kernel

Hello all!

Looks like suspend/resume not working right on i.mx53 soc in mainline kernel.
For some reason SOC is not suspending and hangs somewhere before
actual low power mode.

I've put printk's all over imx5 suspend code:

static int mx5_suspend_enter(suspend_state_t state) from pm-imx5.c
and I see printk message right before
cpu_do_idle() function which is macro really calls cpu_v7_do_idle from proc-v7.S

And I don't see that CPU pulls STANDBY pad in any way, pmic don't know
anything about cpu low power mode.
Also clocks remain on.
So, is problem somewhere in those 3 ARM instructions?

dsb @ WFI may enter a low-power mode
wfi
ret lr

Have no idea where to move next...

_________________________________
Best regards, Mednyy Alexey.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* i.mx53 suspend/resume mainline kernel
  2015-06-10 10:26 i.mx53 suspend/resume mainline kernel Alexey Mednyy
@ 2015-06-11 14:26 ` Alexey Mednyy
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey Mednyy @ 2015-06-11 14:26 UTC (permalink / raw)
  To: linux-arm-kernel

Problem solved with this patch. Why it's not merged?

http://lists.infradead.org/pipermail/linux-arm-kernel/2014-March/242052.html

On Jun 10, 2015 13:26, "Alexey Mednyy" <swexru at gmail.com
<mailto:swexru@gmail.com>> wrote:

    Hello all!

    Looks like suspend/resume not working right on i.mx53 soc in
    mainline kernel.
    For some reason SOC is not suspending and hangs somewhere before
    actual low power mode.

    I've put printk's all over imx5 suspend code:

    static int mx5_suspend_enter(suspend_state_t state) from pm-imx5.c
    and I see printk message right before
    cpu_do_idle() function which is macro really calls cpu_v7_do_idle
    from proc-v7.S

    And I don't see that CPU pulls STANDBY pad in any way, pmic don't know
    anything about cpu low power mode.
    Also clocks remain on.
    So, is problem somewhere in those 3 ARM instructions?

    dsb @ WFI may enter a low-power mode
    wfi
    ret lr

    Have no idea where to move next...

    _________________________________
    Best regards, Mednyy Alexey.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-11 14:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-10 10:26 i.mx53 suspend/resume mainline kernel Alexey Mednyy
2015-06-11 14:26 ` Alexey Mednyy

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).