> From: David Brownell [mailto:david-b@xxxxxxxxxxx] > Sent: Sunday, May 15, 2005 9:54 PM > To: linux-pm@xxxxxxxxxxxxxx > Cc: Fabrice Gautier; Shaohua Li > Subject: Re: [linux-pm] A reference implementation of PCI > suspend/resume? > > On Friday 13 May 2005 10:06 pm, Fabrice Gautier wrote: > > > The way I understand the PCI spec is: if you suspend a PCI > > device, its IRQ should be disabled. If an IRQ come from > > this device anyway (in violation of > > the spec) then the driver for this device should handle it > > so you should NOT unregister its irq_handler. > > There's PCI ... and PCI with PM capabilities. That rule about only > issuing PME transactions while suspended can only apply in the latter > case. That is, not all PCI devices support the PCI PM rules; drivers > may need to help the hardware. You mean, you support some kind of power management on PCI devices without PM capabilities ? How are you even sure that the pci_set_power_state will work in those kind of devices. In any case, anyway it works I would say this is very much device specific and not really part of a reference implementation. This is supposed to be a reference implementation for "PCI PM compliant" devices right ? -- Fabrice