[PATCH v3 0/7] Add common cpuidle code for consolidation.

Russell King - ARM Linux linux at arm.linux.org.uk
Sun Jan 29 10:34:59 EST 2012


On Wed, Jan 25, 2012 at 10:58:44AM -0800, Kevin Hilman wrote:
> It might be the case now that with syscore_ops, the timekeeping
> suspend/resume is happening early enought that the system will not go
> idle before the syscore_ops are done, so you would never see this WARN.
> That being said,  any platforms that add syscore_ops could introduce
> callbacks that could potentially allow a CPU to hit idle, and you'd get
> this WARN from the timekeeping susbystem.

I would really hope that doesn't happen, because syscore_ops stuff will
be called with IRQs off - and you're not allowed to enable interrupts
in the syscore ops callbacks.

So if you did hit idle, you wouldn't be able to receive any interrupt
to wake you from idle state.



More information about the linux-arm-kernel mailing list