[linux-pm] Re: swsusp & modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 28 October 2004 13:43, Pavel Machek wrote:
> Hi!
> 
> > > Unfreeze during resume: reinitialize the hardware, then enable queues.
> > 
> > Don't always re-init; S4 may have had it preserve key state.
> > Like how the device requested the wakeup from S4, or the state
> > of downstream links.
> 
> Ok, so the driver *needs* to know if state was preserved over the
> suspend or not... To know if it should do full re-init or if parts of
> re-init can be skipped. That's where more detailed message during
> device_resume() would be nice.

Currently that state comes in two parts:

 - Hardware ... look at registers, see if "reset" path is right
 - Software ... maybe registers aren't sufficient for this hw

If software state was needed, it had to have been set up
earlier before that system sleep transition.  I still don't
see a need for more resume() state.

- Dave


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux