[PATCH v2] clocksource: arm_global_timer: fix suspend resume

John Stultz john.stultz at linaro.org
Fri Nov 20 11:11:51 PST 2015

On Fri, Nov 20, 2015 at 10:46 AM, Marc Zyngier <marc.zyngier at arm.com> wrote:
> This patch has a very specific purpose: instructing the core code that
> this timer will never stop ticking, ever. It is really targeted at
> virtual machines, whose timer is backed by the host timer, even when the
> VM is not running.
> Using it on actual hardware is may not be the best idea, specially in
> the presence of PM.

And actually, the CLOCK_SOURCE_SUSPEND_NONSTOP flag was added to
support real hardware, so its not just limited to VMs. But that
hardware does have to keep the lights on for the counter backing the
clocksource, and I'm not sure how common it ever became.


More information about the linux-arm-kernel mailing list