All of lore.kernel.org
 help / color / mirror / Atom feed
* Clock event support on SPARC32
@ 2011-12-05 21:33 Kirill Tkhai
  2011-12-29 12:42 ` Sam Ravnborg
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Kirill Tkhai @ 2011-12-05 21:33 UTC (permalink / raw)
  To: sparclinux

Hello!

I'm not sending a patch, just asking a question.

There is no clock event support on SPARC32, but it's possible to
implement it.

The plan is to use local timers as periodic and one-shot clock events,
while global timer is a continuous clock source. It ticks and increases
internal counter of tick number every 2 seconds (it's possible to use
more, but I use a round number). The number "counter * size_of_tick +
master_l10_counter" gives us the continuous clocksource.

The only problem is a fact that LEON doesn't have a master_l10_counter,
but it's possible to use HZ-lenght clocksource for this case.

If we get clocksource support, we'll get HIGH_RES_TIMERS.

So, the question is "will this feature be useful for SPARC?". I did the
same on 2.6.33 for my work, I can do this for version 3.*.

Regards,
Kirill Tkhai


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

end of thread, other threads:[~2012-02-06 21:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-05 21:33 Clock event support on SPARC32 Kirill Tkhai
2011-12-29 12:42 ` Sam Ravnborg
2012-01-28 22:32 ` Kirill Tkhai
2012-02-05 14:39 ` Sam Ravnborg
2012-02-06 21:55 ` Kirill Tkhai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.