mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Kristoffer Ericson <kristoffer.ericson@gmail.com>
Cc: linux-main <linux-kernel@vger.kernel.org>,
	Alan Stern <stern@rowland.harvard.edu>
Subject: Re: Suspend order
Date: Wed, 5 Dec 2007 01:26:12 +0100	[thread overview]
Message-ID: <200712050126.13123.rjw@sisk.pl> (raw)
In-Reply-To: <20071204213132.d806a24f.Kristoffer.ericson@gmail.com>

Hi,

On Tuesday, 4 of December 2007, Kristoffer Ericson wrote:
> Hey rafael,
> 
> For obvious reasons it would be great to have serial output to be the last to enter suspend, thus giving every last drop of debugging
> before actually turning the machine "off".
> 
> I'm not aware of any specific order currently, from what I've seen currently  every driver is asked to go into suspend at the same time. This of course providing driver x isn't dependant on driver y. You following?
> 
> So, without digging to much into this, is there any specific order?

Yes, there is.

Devices are suspended in the order reverse with respect to the one in which
they have been registered (ie. the last registered device is suspended first).

Still, if you want the serial console to work over the suspend, try booting the
kernel with the no_console_suspend command line switch (that's applicable to
the current mainline, there was a configuration option for that previously).

Greetings,
Rafael

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

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-04 20:31 Kristoffer Ericson
2007-12-05  0:26 ` Rafael J. Wysocki [this message]

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=200712050126.13123.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=kristoffer.ericson@gmail.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®