]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/PM: Propagate wake-up enable for PCIe devices too
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 29 Nov 2009 15:35:54 +0000 (16:35 +0100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 16 Dec 2009 21:37:49 +0000 (13:37 -0800)
commitac969476f8454b5594ed449419f10bca7cc9f281
tree6a5df75770f1ddf65d70a694fb83d00b8ec986c2
parent38820009e5346f3fefd1280eefbb7ccde3c1059b
PCI/PM: Propagate wake-up enable for PCIe devices too

Having read the PM part of the PCIe 2.0 specification more carefully
I think that it was a mistake to restrict the wake-up enable
propagation to non-PCIe devices, because if we do not request
control of the root ports' PME registers via OSC, PCIe PME is
supposed to be handled by the platform, just like the non-PCIe PME.
Even if we do that, the wake-up propagation is done to allow the
devices to wake up the system from sleep states which involves the
platform anyway, so it won't hurt.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-acpi.c