Skip to content

Add common cpuidle code for consolidation.

Russell King - ARM Linux linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest0 of 7 patches 0 repliesNew

Patches in v3 No applies recorded yet

None of the 7 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/7] Add common cpuidle code for consolidation.
Quoted 6 lines · Kevin Hilman

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.