diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2008-12-08 00:34:57 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 10:44:32 -0800 |
commit | 355a72d75b3b4f4877db4c9070c798238028ecb5 (patch) | |
tree | fb59e5585c8e5e86a602c4d67ebe21669971024b /lib | |
parent | cd3772e6898c6386f21d2958346d6dd57d4204f5 (diff) | |
download | lwn-355a72d75b3b4f4877db4c9070c798238028ecb5.tar.gz lwn-355a72d75b3b4f4877db4c9070c798238028ecb5.zip |
PCI: Rework default handling of suspend and resume
Rework the handling of suspend and resume of PCI devices which have
no drivers or the drivers of which do not provide any suspend-resume
callbacks in such a way that their standard PCI configuration
registers will be saved and restored with interrupts disabled. This
should prevent such devices, including PCI bridges, from being
resumed too late to be able to function correctly during the resume
of the other PCI devices that may depend on them.
Also, to remove one possible source of future confusion, drop the
default handling of suspend and resume for PCI devices with drivers
providing the 'pm' object introduced by the new suspend-resume
framework (there are no such PCI drivers at the moment).
This patch addresses the regression from 2.6.26 tracked as
http://bugzilla.kernel.org/show_bug.cgi?id=12121 .
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions