[PATCH] ARM: convert arm/arm64 arch timer to use CLKSRC_OF init
Rob Herring
robherring2 at gmail.com
Mon Mar 25 22:19:46 EDT 2013
On 03/25/2013 05:53 PM, John Stultz wrote:
> On 03/25/2013 03:36 PM, Arnd Bergmann wrote:
>> On Monday 25 March 2013, Rob Herring wrote:
>>> I count integrator-cp, realview, versatile and non-DT VExpress that do
>>> this (not surprisingly) and 25 platforms or timer implementations plus
>>> arm64 that do sched_clock setup in time_init. What's broken by not
>>> moving these earlier?
>> timekeeping_init() will leave the persistent_clock_exist variable as
>> "false",
>> which is read in rtc_suspend() and timekeeping_inject_sleeptime().
>
> Are you mixing up the persistent_clock and sched_clock here? From a
> generic stand-point they have different requirements.
Yes. We're talking about sched_clock here. What would be the benefit of
having it setup before sched_init vs. later in time_init?
Rob
More information about the linux-arm-kernel
mailing list