All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: linuxppc-dev list <linuxppc-dev@ozlabs.org>,
	Johannes Berg <johannes@sipsolutions.net>,
	linux-pm <linux-pm@lists.osdl.org>, ralf <ralf@linux-mips.org>
Subject: Re: apm_emulation regression
Date: Fri, 14 Dec 2007 11:05:12 +1100	[thread overview]
Message-ID: <1197590712.15741.197.camel@pasglop> (raw)
In-Reply-To: <1197590675.15741.195.camel@pasglop>


On Fri, 2007-12-14 at 11:04 +1100, Benjamin Herrenschmidt wrote:
> On Fri, 2007-12-14 at 01:10 +0100, Rafael J. Wysocki wrote:
> > 
> > Hmm.
> > 
> > I'm not that familiar with the APM emulation code, but the description
> > of the
> > problem above suggests that the APM emulation can install a suspend
> > notifier for this purpose.
> 
> It can use the new notifier that happens before freezing yes. Johannes,
> I think that's pretty much what my old powermac implementation did
> (using my private notifier scheme I had there), might be worth reviving
> that bit and sticking it into the generic apm_emu ...

Note that you may want to improve on it with a timeout in case userspace
doesn't ack...

Ben.

  reply	other threads:[~2007-12-14  0:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-12  2:45 apm_emulation regression Benjamin Herrenschmidt
2007-12-12 18:03 ` Johannes Berg
2007-12-12 18:03   ` Johannes Berg
2007-12-13 11:40   ` Johannes Berg
2007-12-13 11:40     ` Johannes Berg
2007-12-13 20:31     ` Benjamin Herrenschmidt
2007-12-14  0:10   ` Rafael J. Wysocki
2007-12-14  0:04     ` Benjamin Herrenschmidt
2007-12-14  0:05       ` Benjamin Herrenschmidt [this message]
2007-12-14 12:18         ` Johannes Berg
2007-12-14 12:18           ` Johannes Berg
2007-12-15  0:20           ` Rafael J. Wysocki

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=1197590712.15741.197.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=johannes@sipsolutions.net \
    --cc=linux-pm@lists.osdl.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=ralf@linux-mips.org \
    --cc=rjw@sisk.pl \
    /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.