http://bugzilla.kernel.org/show_bug.cgi?id=6892
------- Comment #14 from [EMAIL PROTECTED] 2007-10-23 19:49 ------- Interesting example. Now I want to see it for normal PCI, which is all I have locally, and coexisting with ACPI. :) Re: PM should have a generic policy ... that's what the current wakeup bits do; those policies are per-device, and based on what they can do in a given system. Drivers are responsive to that policy. PCI drivers can use pci_enable_wake() in conjunction with device-specific capabilities such as which WOL mechanisms work, and system-specific ones such as what's wired up at what suspend levels on a given board. Non-PCI drivers, like platform drivers on many SOC chips, would do the relevant stuff for their environment. Re: PME# notify policy: that's PCI-specific. It's what I referred to above as a wakeup() or pme() driver entry. Obviously a PCI driver wouldn't receive such notifications if it hasn't called issued a valid pci_enable_wake() call and and put the device in a low power state (since otherwise the PME# wouldn't be issued by that device). I don't see much of a need for a runtime PM framework here. PCI would need some PCI-specific support, but that's nothing generic. There are SOC platforms which already have this sort of mechanism; it's driven by IRQs not magic driver entry points, which demonstrates that Linux doesn't need any more generic infrastructure for this to happen. Note that PME# is atypical in that it's an out-of-band mechanism. More usual is, as I commented, just having the normal IRQ handling framework, with enable_irq_wake() etc, report wakeup events. -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ acpi-bugzilla mailing list acpi-bugzilla@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla