public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: "Arve Hjønnevåg" <arve@android.com>,
	"Alan Stern" <stern@rowland.harvard.edu>
Cc: Linux-pm mailing list <linux-pm@lists.linux-foundation.org>
Subject: Re: Wakeup-events implementation
Date: Tue, 17 Aug 2010 11:37:22 -0700 (PDT)	[thread overview]
Message-ID: <324856.49167.qm@web180313.mail.gq1.yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1008171109030.1656-100000@iolanthe.rowland.org>



--- On Tue, 8/17/10, Alan Stern <stern@rowland.harvard.edu> wrote:

I wasn't
> aware that memory cards could generate wakeup events.

Almost all MMC/SD hardware can generate reliable
insert/remove events, in my experience.  So MMC/SD
drivers I've modified tend to treat them as wake
events ... userspace can respond without polling
constantly "did it change yet, huh, did it???"

Unfortunately Pierre spent a lot of time hard-wiring
UNSAFE_RESUME assumptions into the MMC core, so lots
of that stuff is currently (and needlessly) broken.

And of more experimental interest, something I don't
recall being discussed here:  I/O completions as
wake events.  Start an I/O, enter low power state,
and wake when it completes.  Easily done on lots of
embedded hardware..

  reply	other threads:[~2010-08-17 18:37 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AANLkTimgJUAW9TU37XE4BqYWf3yCWvg-vgk3E0YLqcm9@mail.gmail.com>
2010-08-13 15:59 ` Wakeup-events implementation Alan Stern
2010-08-14  4:59   ` Arve Hjønnevåg
2010-08-16 19:22     ` Alan Stern
2010-08-17  0:30       ` Arve Hjønnevåg
2010-08-17 15:53         ` Alan Stern
2010-08-17 18:37           ` David Brownell [this message]
2010-08-17 19:19             ` Alan Stern
2010-08-17 19:21           ` Rafael J. Wysocki
2010-08-18  0:40             ` Arve Hjønnevåg
2010-08-18 10:32               ` Mark Brown
2010-08-18 15:20               ` Alan Stern
2010-08-18 19:17                 ` Rafael J. Wysocki
2010-08-19  0:18                   ` Arve Hjønnevåg
2010-08-19 21:09                     ` Alan Stern
2010-08-19 23:12                       ` Arve Hjønnevåg
2010-08-20 15:04                         ` Alan Stern
2010-09-07 23:51                           ` [RFC][PATCH] PM / Wakeup: Introduce wakeup source objects and event statistics (was: Re: Wakeup-events implementation) Rafael J. Wysocki
2010-08-18  7:04           ` Wakeup-events implementation Florian Mickler

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=324856.49167.qm@web180313.mail.gq1.yahoo.com \
    --to=david-b@pacbell.net \
    --cc=arve@android.com \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=stern@rowland.harvard.edu \
    /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