]> git.baikalelectronics.ru Git - kernel.git/commit
PM: Allow PCI devices to suspend/resume asynchronously
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 8 Feb 2010 18:16:33 +0000 (19:16 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 26 Feb 2010 19:39:12 +0000 (20:39 +0100)
commitb42cbc81c5c286846bef243fdc4d79524f67ae42
tree853a289d73ad9ffb04038fc493d209e980a3ef9b
parenta23c5b460dedf63616ed5b6be4449d6ccf757267
PM: Allow PCI devices to suspend/resume asynchronously

Set power.async_suspend for all PCI devices and PCIe port services,
so that they can be suspended and resumed in parallel with other
devices they don't depend on in a known way (i.e. devices which are
not their parents or children).

This only affects the "regular" suspend and resume stages, which
means in particular that the restoration of the PCI devices' standard
configuration registers during resume will still be carried out
synchronously (at the "early" resume stage).

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/pci/pci.c
drivers/pci/pcie/portdrv_core.c
drivers/pci/probe.c