On Sat, 24 Jun 2006, Benjamin Herrenschmidt wrote: > > Also note that it might be useful to implement something I've been > carrying around as a patch for debugging suspend on the mac, is what I > call "fake suspend". I did it as a kernel argument that turns the real > suspend into a fake suspend, but we should be smarter. I think it would be even more important to just have driver writers test a device-per-device "suspend, trash the PCI state, resume" sequence, so that individual driver writers can test _their_ particular driver (and never mind the tree nature - most of the drivers are "leaf nodes"). But yeah, doing a full-tree version of the same is probably also useful. I did that (as a total hack) for some of the mac mini testing, by just commenting out the "->enter" stage, which obviously also avoids a lot of other things). Linus