The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* clockevent questions
@ 2007-05-12 14:54 Francis Moreau
  2007-05-12 15:14 ` Thomas Gleixner
  0 siblings, 1 reply; 9+ messages in thread
From: Francis Moreau @ 2007-05-12 14:54 UTC (permalink / raw)
  To: linux-kernel; +Cc: tglx

Hi,

I'm trying to use clocksource and clockevent new subsystem. My
platform has a timer that I'd like to use both as a clocksource and a
clockevent devices. This timer is continueous in sense that it can run
without any interruption so I assume I can flag the clocksource device
with "CLOCK_SOURCE_IS_CONTINUOUS". However I noticed that clockevent
device can be stopped by using "set_mode()" method. Are these two
behaviours compatible ?

Another question is that I have another embedded 16 bits timer that I
would like to use. Since the timer is only 16 bits, the maximum
interval is tiny, My question if a user ask for a clockevent device
using an interval is bigger that 2^16, the clockevent system doesn't
return an error. Instead it silently reduce the interval to 2^16. Is
this correct ? if so why ?

Thanks for your answers
-- 
Francis

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

end of thread, other threads:[~2007-05-16  7:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-12 14:54 clockevent questions Francis Moreau
2007-05-12 15:14 ` Thomas Gleixner
2007-05-12 20:13   ` Francis Moreau
2007-05-12 20:23     ` Thomas Gleixner
2007-05-13  5:52       ` Francis Moreau
2007-05-15  8:47       ` Francis Moreau
2007-05-15 22:10         ` Thomas Gleixner
2007-05-16  7:42           ` Francis Moreau
2007-05-16  8:00             ` Thomas Gleixner

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