linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: swexru@gmail.com (Alexey Mednyy)
To: linux-arm-kernel@lists.infradead.org
Subject: i.mx53 suspend/resume mainline kernel
Date: Thu, 11 Jun 2015 17:26:28 +0300	[thread overview]
Message-ID: <55799A94.5070709@gmail.com> (raw)
In-Reply-To: <CAC3zGv_nAOSN6pOJb+4tmObtjoWmMpbo2s1a1cddEXiTkjprsQ@mail.gmail.com>

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.

      reply	other threads:[~2015-06-11 14:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-10 10:26 i.mx53 suspend/resume mainline kernel Alexey Mednyy
2015-06-11 14:26 ` Alexey Mednyy [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=55799A94.5070709@gmail.com \
    --to=swexru@gmail.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 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).