Re: Solving suspend-level confusion

From: Benjamin Herrenschmidt
Date: Tue Aug 03 2004 - 21:55:05 EST



> I've also done partial-tree support for suspend2 by making a new list
> (along side the active, off and off_irq lists) and simply moving devices
> I want to keep on (plus their parents) to this list prior to calling
> device_suspend. Works well for keeping alive the ide devices being used
> write the image.

How so ? By not calling suspend for it at all ? That's broken, the
driver wants suspend to match the resume it will get when the image
is reloaded, that's the only way the driver can guarantee a sane state
saved in the suspend image.

Ben.


-
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/