* pci config space
@ 2011-02-19 21:32 Asim
2011-02-20 5:33 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Asim @ 2011-02-19 21:32 UTC (permalink / raw)
To: kernelnewbies
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?
Consequently, is the pci_save_state and driver suspend routine saving
the full device state/device state exposed to PCI or PCI state ?
Thanks,
Asim
^ permalink raw reply [flat|nested] 3+ messages in thread
* pci config space
2011-02-19 21:32 pci config space Asim
@ 2011-02-20 5:33 ` Greg KH
2011-02-20 20:27 ` Asim
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2011-02-20 5:33 UTC (permalink / raw)
To: kernelnewbies
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* pci config space
2011-02-20 5:33 ` Greg KH
@ 2011-02-20 20:27 ` Asim
0 siblings, 0 replies; 3+ messages in thread
From: Asim @ 2011-02-20 20:27 UTC (permalink / raw)
To: kernelnewbies
Thanks for your response.
On Sat, Feb 19, 2011 at 11:33 PM, Greg KH <greg@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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-02-20 20:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-19 21:32 pci config space Asim
2011-02-20 5:33 ` Greg KH
2011-02-20 20:27 ` Asim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).