[PATCH v2 8/8] pci: Wake-up devices before save for reset

2013-05-07 Thread Alex Williamson
Devices come out of reset in D0. Restoring a device to a different post-reset state takes more smarts than our simple config space restore, which can leave devices in an inconsistent state. For example, if a device is reset in D3, but the restore doesn't successfully return the device to D3,

[PATCH v2 8/8] pci: Wake-up devices before save for reset

2013-05-07 Thread Alex Williamson
Devices come out of reset in D0. Restoring a device to a different post-reset state takes more smarts than our simple config space restore, which can leave devices in an inconsistent state. For example, if a device is reset in D3, but the restore doesn't successfully return the device to D3,