pci config space

Asim linkasim at gmail.com
Sun Feb 20 15:27:51 EST 2011


Thanks for your response.

On Sat, Feb 19, 2011 at 11:33 PM, Greg KH <greg at kroah.com> wrote:
> 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
>



More information about the Kernelnewbies mailing list