* State of outstanding command executing driver code during suspend()/resume().
@ 2010-09-07 16:30 ld puri
0 siblings, 0 replies; only message in thread
From: ld puri @ 2010-09-07 16:30 UTC (permalink / raw)
To: linux-ide, linux-newbie, linux-pci
Hi All,
While browsing through current Linux Power management implementation
wrt AHCI drivers, I stumbled upon following doubts.
I assume whenever system wide suspend (STR/hibernate) occurs, all the
process is freeze by the Kernel's PM subsystem and it ensures there
are no additional command can be issued to AHCI driver. But it can be
very much possible some commands are being executed within the AHCI
driver.
If my understanding is correct suspend() will be called anytime for
the AHCI driver. In other words, the invocation
ahci_pci_device_suspend() from PCI subsystem won't wait for ahci
driver to complete its outstanding command.
The invocation of suspend(), resume() & remove() call backs from PCI
subsystem are not synchronized with that driver's IO path is this
correct ?
Does these outstanding command currently executed by driver will be lost ?
Moreover in resume() routine of AHCI driver, the controller is
reinitialized (ahci_init_controller), then how system can restart the
commands that are stopped during previous suspend() call.
Thanks
Das
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-09-07 16:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-07 16:30 State of outstanding command executing driver code during suspend()/resume() ld puri
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).