Re: [PATCH v4] pm_ops: add system quiesce/activate hooks

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

 



On Friday 13 April 2007 3:23 pm, Benjamin Herrenschmidt wrote:
> 
> > We have "drivers" for few chips every PC has, like i8259 timer,
> > interrupt controller, APIC, etc. Sysdevs and platform devices are
> > designed for hardware like that.
> > 
> > If you want to have a rule "platform device is not supposed to rely on
> > timers still working",  I think you can get that. Such low-level
> > devices should really use udelay()/mdelay() that spins and does not
> > need timer hw.
> 
> That's nonsense.

Agreed.  Platform devices are the *primary* device types on
most embedded systems.  Their suspend() and resume() methods
are allowed to use timers and sleep() just like they are with
any other bus type.

We do know that timers aren't available during the suspend_late()
and resume_early() calls, for any bus type.

_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm


[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