On Tue, 9 Sep 2008, Rafael J. Wysocki wrote: > Still, I'm not sure if we need the method at the device core level at all. > > The suspend/resume callbacks are needed at the device core level, because the > _core_ initiates the operation (suspend, resume etc.), but in this case the > operation will be initiated in a core-independent way (for example, by an > interrupt handler in case of the PCI Express native PME). Not only the wakeup (resume) operation, but also the original suspend operation. > Surely, we'll need such a callback on the PCI core level that may have to > invoke the device driver to handle wake-up after identifying the device that > caused the event to happen. Absolutely. This could involve calling the normal PCI resume method or it could involve a new method. Presumably it will mirror whatever means we choose for implementing runtime suspend (e.g., a pair of new methods). Alan Stern _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm