mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [PATCH 14/23] clocksource: increase initcall priority
@ 2007-01-31 19:43 David Brownell
  2007-01-31 22:47 ` Daniel Walker
  0 siblings, 1 reply; 12+ messages in thread
From: David Brownell @ 2007-01-31 19:43 UTC (permalink / raw)
  To: dwalker; +Cc: linux-kernel

> As a note, arm and mips both register their clocksources during
> time_init() instead of using initcalls.

That's actually platform-specific.  If there's only one possible
clocksource, that'd be the normal answer.

Otherwise, there can be multiple clocksources just like any other
architecture.  Maybe there's an always-present 32 KHz counter, and
a bank of timers that can run at higher frequences ... but those
may not be available for timekeeping on all boards, maybe because
they're used for something else (motor control, etc) or because the
system has prioritized battery life over timestamp precision.

So don't assume any platform doesn't use clocksource initcalls.

- Dave


^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH 00/23] clocksource update v12
@ 2007-01-31  3:37 Daniel Walker
  2007-01-31  3:37 ` [PATCH 14/23] clocksource: increase initcall priority Daniel Walker
  0 siblings, 1 reply; 12+ messages in thread
From: Daniel Walker @ 2007-01-31  3:37 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, johnstul

This tree is mostly cleanups . I move timekeeping code into it's own 
file, and I modify the clocksource interface to provide a more robust
API.

I've dropped some duplication off the hrt/dynamic tick patch set which
is all new to that tree and new to -mm. This is an -mm patch set , it's
not meant to go on 2.6.20-rc6 at all .. I'm modifying code only
included in -mm.

I boot tested x86_64 smp, and i386 smp, and compile tested for ARM
(!GENERIC_TIME). This set should be bisect-able for at least i386 and
likely x86_64.

It's also available at,

ftp://source.mvista.com/pub/dwalker/clocksource/clocksource-v12/

Daniel
-- 

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-02-01  0:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-31 19:43 [PATCH 14/23] clocksource: increase initcall priority David Brownell
2007-01-31 22:47 ` Daniel Walker
2007-01-31 23:23   ` Thomas Gleixner
2007-02-01  0:15     ` Daniel Walker
2007-02-01  0:34       ` Thomas Gleixner
2007-02-01  0:24   ` David Brownell
  -- strict thread matches above, loose matches on Subject: below --
2007-01-31  3:37 [PATCH 00/23] clocksource update v12 Daniel Walker
2007-01-31  3:37 ` [PATCH 14/23] clocksource: increase initcall priority Daniel Walker
2007-01-31 11:50   ` Ingo Molnar
2007-01-31 16:42     ` Daniel Walker
2007-01-31 17:10       ` Ingo Molnar
2007-01-31 17:20         ` Daniel Walker
2007-01-31 17:29           ` Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome