On Saturday 31 January 2009, Linus Torvalds wrote:(As I wrote in the other message just sent) I wonder if it's a good idea to introduce an "override default PCI suspend/resume" flag for this purpose. The drivers that want to handle the PCI stuff themselves would be able to use this flag to tell the core not to try to power manage the device etc. Alternatively, the core may check the state_saved bit and look at current_state to see if the device need not be put into a low power state. Still, putting the device into a low power state need not be desirable anyway. It actually has been confirmed recently that this is a real issue. Sadly. OK, I see your point. I know. Still, all of the drivers that implement suspend-resume put the devices into low power states in ->suspend and it's never been observed to be a source of problems. Unfortunately, on many systems we are supposed to use ACPI for putting PCI devices into low power states and right now we can't do that with interrupts off due to the limitations of our AML interpreter. The same applies to resume, BTW, but resume is easier, because devices tend to already be in D0 from the start. Admittedly, though, we may have a problem with devices that are not in D0 at that point and _require_ ACPI to power them up (ie. don't support the native PCI PM). Not that I know of any, but still. ISTR that some devices will not wake up the system if they are not put into the low power state by ACPI during suspend. So, I wonder. Do we need to make the AML interpreter allow us to run code with interrupts off? Yes, the bridges with drivers are somewhat special. Thanks, Rafael -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Greg KH | Og dreams of kernels |
| Jens Axboe | [PATCH 31/33] Fusion: sg chaining support |
| Arnd Bergmann | Re: finding your own dead "CONFIG_" variables |
| Mark Brown | [PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset |
| Tony Breeds | [LGUEST] Look in object dir for .config |
git: | |
| Brian Downing | Re: Git in a Nutshell guide |
| John Benes | Re: master has some toys |
| Matthias Lederhofer | [PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree |
| Alexander Sulfrian | [RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set |
| Junio C Hamano | Re: Rss produced by git is not valid xml? |
| Linux Kernel Mailing List | iSeries: fix section mismatch in iseries_veth |
| Linux Kernel Mailing List | ixbge: remove TX lock and redo TX accounting. |
| Linux Kernel Mailing List | ixgbe: fix several counter register errata |
| Linux Kernel Mailing List |
