Feb. 20, 2011
5:33 a.m.
On Sat, Feb 19, 2011 at 03:32:51PM -0600, Asim wrote:
Hi,
While this may just be connecting the dots, I am not able to fully understand how pci_save_state works.
I see that the pci_save_state and pci_restore_state are invoked at suspend and resume. This saves the PCI configuration registers during suspend. Are these the device registers or bridge registers?
It depends if the device is a device or a bridge :)
Consequently, is the pci_save_state and driver suspend routine saving the full device state/device state exposed to PCI or PCI state ?
Yes. Hope this helps, greg k-h