All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@ti.com>
To: Joe Woodward <jw@terrafix.co.uk>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	govindraj.raja@ti.com, Felipe Balbi <balbi@ti.com>
Subject: Re: Suspend broken on 3.3?
Date: Mon, 26 Mar 2012 17:34:21 -0700	[thread overview]
Message-ID: <87haxaq3ua.fsf@ti.com> (raw)
In-Reply-To: <WC20120326134115.9815DF@terrafix.co.uk> (Joe Woodward's message of "Mon, 26 Mar 2012 14:41:15 +0100")

+Govindraj,

"Joe Woodward" <jw@terrafix.co.uk> writes:

> Right, I've stepped back a bit and dug out a GUSMTIX Palo43 carrier
> board on which to test the Overo OMAP3530 COM and I've found:
>  - Running a stock 3.3 (with absolutely no changes) does indeed suspend correctly.
>  - Running the 3.3 kernel with my (minor) board modifications
>  (basically defining some buttons) suspends correctly as well.
>
> Then I went back to my original board and the 3.3 still wakes up from
> suspend immediately. So I had a think, and the only real differences
> between my board the the GUMSTIX Palo43 board is that I am using
> multiple UARTs.
>
> Up to this point I've only wanted to wake on the console (ttyO2), and
> not any other UARTs so I've stopped them waking with:
>   echo disabled > /sys/devices/platform/omap/omap_uart.0/power/wakeup
>   echo disabled > /sys/devices/platform/omap/omap_uart.1/power/wakeup
>
> I wanted to check that this still worked, so tried disabling wakeup on
> the console (ttyO2):
>   echo disabled > /sys/devices/platform/omap/omap_uart.2/power/wakeup
>
> And if I do "echo mem > /sys/power/state" I was expecting to stay in
> suspend when I typed on my keyboard... However, the kernel still woke
> from suspend, which leads me to believe that the UART wakeup hasn't
> been disabled?

Just to confirm: did the above work for you before v3.3?

> Could you test if this is also the case your end?

Yes, I get the same behavior, which is indeed broken.

Govindraj, can you look into this?

A quick glance suggests that disabling wakeups via the sysfs file is
only disabling runtime PM, but not actually disabling wakups at the
module-level or at the IO ring.

Kevin

  reply	other threads:[~2012-03-27  0:34 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-22 11:09 Suspend broken on 3.3? Joe Woodward
2012-03-22 17:33 ` Kevin Hilman
2012-03-26 13:41   ` Joe Woodward
2012-03-27  0:34     ` Kevin Hilman [this message]
2012-03-27 13:53       ` Raja, Govindraj
2012-03-27 21:37         ` Kevin Hilman
2012-03-28 10:59           ` Raja, Govindraj
2012-03-28 15:38             ` Joe Woodward
2012-03-28 17:46               ` Kevin Hilman
2012-03-29  8:35                 ` Joe Woodward
2012-03-29  9:14                   ` Shubhrajyoti Datta
2012-03-29  9:46                     ` Joe Woodward
2012-03-29 10:26                   ` Paul Walmsley
2012-03-29 11:27                     ` Joe Woodward
2012-03-29 11:40                       ` Joe Woodward
2012-03-29 14:29                         ` Raja, Govindraj
2012-03-30  7:53                           ` Joe Woodward
2012-03-30  8:46                             ` Raja, Govindraj
2012-03-30  9:26                               ` Joe Woodward
2012-03-30 10:15                                 ` Raja, Govindraj
2012-03-30 11:04                                   ` Joe Woodward
2012-03-30 12:24                                     ` Raja, Govindraj
2012-04-02 10:43                                       ` Raja, Govindraj
2012-04-02 12:37                                         ` Joe Woodward
2012-04-03  6:56                                           ` Govindraj
2012-04-04 14:56                                         ` Paul Walmsley
2012-04-04 16:13                                           ` Raja, Govindraj
2012-04-06  0:29                                             ` Paul Walmsley
2012-04-06 14:21                                               ` Kevin Hilman
2012-04-09 11:27                                                 ` Raja, Govindraj
2012-04-09 14:27                                                   ` Kevin Hilman
2012-04-09 16:01                                                     ` Paul Walmsley
2012-04-09 17:10                                                       ` Kevin Hilman
2012-04-10  9:26                                                         ` Raja, Govindraj
2012-04-10 18:03                                                           ` Kevin Hilman
2012-04-11 13:13                                                             ` Raja, Govindraj
2012-04-11 19:34                                                               ` Paul Walmsley
2012-04-12 11:51                                                                 ` Raja, Govindraj
2012-03-27 14:39       ` Joe Woodward
2012-03-27 21:28         ` Kevin Hilman

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=87haxaq3ua.fsf@ti.com \
    --to=khilman@ti.com \
    --cc=balbi@ti.com \
    --cc=govindraj.raja@ti.com \
    --cc=jw@terrafix.co.uk \
    --cc=linux-omap@vger.kernel.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.