On Saturday 31 January 2009, Alan Stern wrote: > On Fri, 30 Jan 2009, Rafael J. Wysocki wrote: > > > Suspend to RAM is reported to break on some machines as a result of > > attempting to put one of driverless PCI devices into a low power > > state. Avoid that by not attepmting to power manage driverless > > devices during suspend. > > Just out of curiosity, what would happen if one of these troublesome > devices _did_ have a driver? Would suspend still be broken? That depends on what the driver would do to the device in its suspend callback. > Would you then blame the driver instead of the PCI core? Probably both. I'd try to find the root cause and presumably blacklist the device this way or another. > Or would the driver be smart enough to avoid putting the device in a > low-power state? I think that putting devices into low power states should better be done by the core. In this particular case, we can add some quirks to the core so that it can handle those devices correctly. I don't think adding such quirks to drivers would be a good idea. > But doesn't that defeat the purpose of suspending in the first place? If the entire system goes into a sleep state, the platform will probably remove power from the device anyway, so it doesn't really matter too much. It is going to matter for run-time power saving, though. Thanks, Rafael _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm