On Mon, Aug 24, 2009 at 04:01:02PM +0800, Shaohua Li wrote: > On Mon, 2009-08-24 at 10:48 +0800, Matthew Garrett wrote: > > 1) Notification is sent to a device. Since we know the device that > > generated the event, we don't need .wakeup_event. > > > > 2) Notification is sent to a bus. This will only happen if the device > > supports PME, so we don't need .wakeup_event. > This depends on where you put the ACPI GPE code. If you put it to ACPI directory, then > we need a .wakeup_event at least in bus level. > ACPI is a generic framework, it can send wakeup event to any bus. It's > definitely better to put the wakeup GPE handling into ACPI directory. I don't agree - the wakeup GPE will generate a standard notify, and the notification handler has to be at the device or bus layer to handle device-specific requests. -- Matthew Garrett | mjg59@xxxxxxxxxxxxx _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm