Re: Calling suspend() in halt/restart/shutdown -> not a good idea

From: Pavel Machek
Date: Tue Aug 02 2005 - 05:12:28 EST


Hi!

> Why are we calling driver suspend routines in these ? This is _not_ a
> good idea ! On various machines, the mecanisms for shutting down are
> quite different from suspend/resume, and current drivers have too many
> bugs to make that safe. I keep getting all sort of reports of machines

Well, powerdown at the end of suspend-to-disk should be *very* similar
to normal powerdown => if device_suspend() breaks something, it is a
bug in driver anyway.

Now, we may have a lot of such bugs, and the change went in too early,
but in the long run...
--
teflon -- maybe it is a trademark, but it should not be.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/