All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Ott <sebott@linux.vnet.ibm.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: linux-pm@lists.linux-foundation.org
Subject: Re: RFC: additional event for pm_notifier
Date: Wed, 31 Mar 2010 13:39:51 +0200 (CEST)	[thread overview]
Message-ID: <alpine.LFD.2.00.1003311333270.2244@localhost> (raw)
In-Reply-To: <201003262231.27156.rjw@sisk.pl>



On Fri, 26 Mar 2010, Rafael J. Wysocki wrote:

> On Friday 26 March 2010, Sebastian Ott wrote:
> >
> > hi,
> > 
> > i've got that working, but after some more thinking
> > i really didn't like that approach - in short, if we do that,
> > hibernation on s390 will allways be bound to the plattform mode
> > (with certain devices we will crash in our restore callbacks
> > if we haven't previously enabled the hw-feature, which those
> > devices use)
> > 
> > and to the your-gun-your-foot argument - if someone tests
> > hibernation on s390 using the reboot mode he sure cannot
> > expect the potential panic, depending on the involved devices
> 
> Well, on x86 using ACPI the reboot and shutdown modes only work by fortunate
> conincidence, so to speak (if at all).
> 
> That said, your argument is reasonable.
> 
> > do you absolutely oppose against the idea of a new notifier event?
> 
> Yes, I do.  To the extent that I'd rather change the entire design so that the
> "hibernation modes" would be platform-dependent.

ok. i implemented a hook in arch/s390

thanks
sebastian

  reply	other threads:[~2010-03-31 11:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-17 18:56 RFC: additional event for pm_notifier Sebastian Ott
2010-03-17 21:34 ` Rafael J. Wysocki
2010-03-18  9:13   ` Sebastian Ott
2010-03-18 11:37   ` Sebastian Ott
2010-03-18 20:19     ` Rafael J. Wysocki
2010-03-18 20:58       ` Rafael J. Wysocki
2010-03-19  8:40         ` Sebastian Ott
2010-03-26 19:25       ` Sebastian Ott
2010-03-26 21:31         ` Rafael J. Wysocki
2010-03-31 11:39           ` Sebastian Ott [this message]
2010-03-31 20:33             ` 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=alpine.LFD.2.00.1003311333270.2244@localhost \
    --to=sebott@linux.vnet.ibm.com \
    --cc=linux-pm@lists.linux-foundation.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.