Re: [PATCH 2/3] Adapt the sky2 driver to the reworked PCI PM

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Stephen Hemminger <shemminger@...>
Cc: <netdev@...>, Andrew Morton <akpm@...>, Jeff Garzik <jeff@...>, Jesse Barnes <jbarnes@...>, LKML <linux-kernel@...>, pm list <linux-pm@...>, Brandeburg, Jesse <jesse.brandeburg@...>, Stephen Hemminger <stephen.hemminger@...>
Date: Friday, August 15, 2008 - 9:01 am

On Friday, 15 of August 2008, Stephen Hemminger wrote:

device_can_wakeup() returns 'true' if the device is capable of generating PME#
from at least one low power state (this is determined on the basis of the
contents of the device's PCI PM registers - please have a look at
drivers/pci/pci_pm_init() for details) or if ACPI tells us it can wake up.
IOW, the BIOSes opinion doesn't matter if we find that the device is capable of
generating PME#, so the regression must have been related to something else.
I'm very interested in the details, if available.

Of course, since we rely on the ability of the device to generate PME# and
device_can_wakeup() returning 'false' means that the device cannot generate
PME# from any state, it's reasonable to check it IMO.

Thanks,
Rafael
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/3] Adapt three network drivers to the reworked PCI PM, Rafael J. Wysocki, (Thu Aug 14, 5:35 pm)
[PATCH 1/3] Adapt the skge driver to the reworked PCI PM, Rafael J. Wysocki, (Thu Aug 14, 5:37 pm)
[PATCH 3/3] Adapt the e100 driver to the reworked PCI PM, Rafael J. Wysocki, (Thu Aug 14, 5:40 pm)
[PATCH 2/3] Adapt the sky2 driver to the reworked PCI PM, Rafael J. Wysocki, (Thu Aug 14, 5:38 pm)
Re: [PATCH 2/3] Adapt the sky2 driver to the reworked PCI PM, Stephen Hemminger, (Thu Aug 14, 6:23 pm)
Re: [PATCH 2/3] Adapt the sky2 driver to the reworked PCI PM, Rafael J. Wysocki, (Fri Aug 15, 9:01 am)
Re: [PATCH 2/3] Adapt the sky2 driver to the reworked PCI PM, Rafael J. Wysocki, (Fri Aug 15, 9:32 am)
Re: [PATCH 2/3] Adapt the sky2 driver to the reworked PCI PM, Stephen Hemminger, (Fri Aug 15, 12:15 pm)
Re: [PATCH 2/3] Adapt the sky2 driver to the reworked PCI PM, Rafael J. Wysocki, (Fri Aug 15, 9:07 am)