From: Tony Lindgren <tony@atomide.com>
To: Marc Murphy <marcmltd@marcm.co.uk>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: Issues with GPIO and wake from sleep
Date: Thu, 13 Feb 2014 14:40:49 -0800 [thread overview]
Message-ID: <20140213224048.GA28216@atomide.com> (raw)
In-Reply-To: <F690310232FDDF4AB457E8B3EF90DDE09A5BA71D@MARCM-SBS2011.marcmltd.local>
* Marc Murphy <marcmltd@marcm.co.uk> [140205 15:20]:
> I have now stepped through most of the system as it goes into the sleep state. It will transition into omap34xx_cpu_suspend and eventually work itself into an endless loop.
>
> I have then taken a step back to see the config of the system and all kernel options seem to be correct with power management.
>
> I then looked at the boot line, I am running tftp which should be a problem for the suspend to ram, and there is an option of nohlt :
> setenv bootargs console=${console},115200n8 ${mem_size} mpurate=${mpurate} ${video_mode} ${extra_options} root=${nfsroot} rootfstype=nfs ip=dhcp nohlt rw
>
> I was informed I needed to do this quite some time ago when I was having issue with the system booting. Upon reading the kernel-paramters doc I see that the description is what I am experiencing;
> nohlt [BUGS=ARM,SH] Tells the kernel that the sleep(SH) or
> wfi(ARM) instruction doesn't work correctly and not to
> use it. This is also useful when using JTAG debugger.
>
> OK so WFI doesn't work correctly, I have no WFI operating. If I remove the nohlt from the boot line the system freezes;
> [ 2.833587] voltdm_scale: No voltage scale API registered for vdd_core
> [ 2.840454] PM: no software I/O chain control; some wakeups may be lost
> [ 2.856536] davinci_emac davinci_emac.0: using random MAC addr: 86:2d:4d:a4:87:3e
It seems that this is a 3517 based issue, maybe the davinci_emac driver
won't work properly with runtime PM?
Tony
prev parent reply other threads:[~2014-02-13 22:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-17 12:24 Issues with GPIO and wake from sleep Marc Murphy
2014-01-17 17:39 ` Tony Lindgren
2014-01-23 9:45 ` Marc Murphy
2014-02-04 22:47 ` Marc Murphy
2014-02-05 23:17 ` Marc Murphy
2014-02-13 22:40 ` Tony Lindgren [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=20140213224048.GA28216@atomide.com \
--to=tony@atomide.com \
--cc=linux-omap@vger.kernel.org \
--cc=marcmltd@marcm.co.uk \
/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.