Re: [RFC 3/3] PCI/PM: Disable PME poll for PCIe devices

2012-09-20 Thread Huang Ying
On Thu, 2012-09-20 at 21:31 +0200, Rafael J. Wysocki wrote: > On Monday, September 17, 2012, Huang Ying wrote: > > PME poll is not necessary for PCIe devices, because PCIe devices use > > in-band PME message and IRQ on PCIe port to report PME. > > Alas, not all of them as it turns out and even if

Re: [RFC 3/3] PCI/PM: Disable PME poll for PCIe devices

2012-09-20 Thread Matthew Garrett
On Thu, Sep 20, 2012 at 09:31:13PM +0200, Rafael J. Wysocki wrote: > On Monday, September 17, 2012, Huang Ying wrote: > > PME poll is not necessary for PCIe devices, because PCIe devices use > > in-band PME message and IRQ on PCIe port to report PME. > > Alas, not all of them as it turns out and e

Re: [RFC 3/3] PCI/PM: Disable PME poll for PCIe devices

2012-09-20 Thread Rafael J. Wysocki
On Monday, September 17, 2012, Huang Ying wrote: > PME poll is not necessary for PCIe devices, because PCIe devices use > in-band PME message and IRQ on PCIe port to report PME. Alas, not all of them as it turns out and even if they do, it doesn't work for some of them. That's why we've added the

[RFC 3/3] PCI/PM: Disable PME poll for PCIe devices

2012-09-17 Thread Huang Ying
PME poll is not necessary for PCIe devices, because PCIe devices use in-band PME message and IRQ on PCIe port to report PME. PME poll is useful for PCI devices. Because for PCI devices, PME is reported via a side-band PME# line and some platform logic, and the platform logic is often missing on m