public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Falempe Jocelyn <jocelyn.falempe@motorola.com>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: linux-acpi@vger.kernel.org, linux-omap@vger.kernel.org
Subject: Re: New feature proposal "quickwakeup"
Date: Fri, 06 Nov 2009 18:42:21 +0100	[thread overview]
Message-ID: <1257529341.2528.21.camel@xhp836-11> (raw)
In-Reply-To: <20091106170321.GA24312@srcf.ucam.org>

On Fri, 2009-11-06 at 17:03 +0000, Matthew Garrett wrote:
> Hmm. This is an interesting approach. Just to understand the usecase 
> better, though - my understanding is that Nokia's approach on Omap-based 
> devices has been to treat "suspend" as a runtime state, without actually 
> performing a systemwide transition. What are the constraints that make 
> shifting into a different hardware state more efficient for you?
> 
In fact we are doing "retention" in idle and with the suspend path. It's
specific to Android, with the global suspend and wakelock framework.
When all wakelocks are released (ie screen is black, no running app),
the phone goes to suspend, which freeze userspace and also suspend the
device driver. This way you can choose the wakeup sources, and stay in
suspend during a long time (a few hours). Without this, you have to
track down all user space app that wakeup the phone, and it is hard to
sleep more than a few second.
The drawback is that when you want to wakeup, it takes a lot of time to
unfreeze the userspace, and resume all the device driver. This is what
this feature address (for low-level wakeup only).
But as this patch is not Android specific, I think other platforms may
use it too.

Best regards,

Jocelyn

  reply	other threads:[~2009-11-06 17:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-06 16:00 New feature proposal "quickwakeup" Falempe Jocelyn
2009-11-06 17:03 ` Matthew Garrett
2009-11-06 17:42   ` Falempe Jocelyn [this message]
2009-11-06 18:09     ` Matthew Garrett
2009-11-09 14:20       ` Falempe Jocelyn

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=1257529341.2528.21.camel@xhp836-11 \
    --to=jocelyn.falempe@motorola.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=mjg59@srcf.ucam.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