linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Suspend order
@ 2007-12-04 20:31 Kristoffer Ericson
  2007-12-05  0:26 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Kristoffer Ericson @ 2007-12-04 20:31 UTC (permalink / raw)
  To: rjw; +Cc: linux-main

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?

Best wishes
Kristoffer

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Suspend order
  2007-12-04 20:31 Suspend order Kristoffer Ericson
@ 2007-12-05  0:26 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2007-12-05  0:26 UTC (permalink / raw)
  To: Kristoffer Ericson; +Cc: linux-main, Alan Stern

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-05  0:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-04 20:31 Suspend order Kristoffer Ericson
2007-12-05  0:26 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).