Re: [PATCH 2/2] clocksource: arm_arch_timer: add boot and suspend sched_clock offset

2013-04-19 Thread Catalin Marinas
On Thu, Apr 18, 2013 at 08:30:10PM +0100, Rob Herring wrote: > From: Rob Herring > > Commit 023796b (ARM: arch_timer: use full 64-bit counter for sched_clock) > fails to ensure sched_clock always starts at time 0 and counting is > suspended during suspend. arm64 sched_clock support also has the s

[PATCH 2/2] clocksource: arm_arch_timer: add boot and suspend sched_clock offset

2013-04-18 Thread Rob Herring
From: Rob Herring Commit 023796b (ARM: arch_timer: use full 64-bit counter for sched_clock) fails to ensure sched_clock always starts at time 0 and counting is suspended during suspend. arm64 sched_clock support also has the same issues. This fixes all architected timer users by maintaining an in