]> git.baikalelectronics.ru Git - kernel.git/commit
PCI PM: Restore config spaces of all devices during early resume
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 16 Mar 2009 21:40:50 +0000 (22:40 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Mon, 30 Mar 2009 19:46:56 +0000 (21:46 +0200)
commit881b68e97245f2a2ef2894b4e845f8a7e7755383
tree88263b349d5eda796bb5f0724b52d1f73eeb1a8c
parent912ddda7a612e928aef1907bf55daad7a12074f6
PCI PM: Restore config spaces of all devices during early resume

At present the configuration spaces of PCI devices that have no
drivers or no PM support in the drivers (either legacy or through a
pm object) are not saved during suspend and, consequently, they are
not restored during resume.  This generally may lead to the state of
the system being slightly inconsistent after the resume, so it's
better to save and restore the configuration spaces of these devices
as well.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-driver.c