Re: [PATCH 2.6.21-rt2] PowerPC: decrementer clockevent driver

From
Matt Sealey <hidden>
Date
2007-05-18 12:39:19
Also in
lkml
Reply to
Sergei Shtylyov, 2007-05-17
Sergei Shtylyov wrote:
Hello.

Kumar Gala wrote:
quoted
quoted
Kumar Gala wrote:
quoted
quoted
quoted
I haven't looked at all the new clock/timer code, is there any   
utility in having support for more than one clock source?
quoted
quoted
   Of course, you may register as many as you like.
quoted
Sure, but is there any utility in registering more than the  decrementer 
on PPC?
    Not yet. I'm not sure I know any other PPC CPU facility fitting for 
clockevents. In theory, FIT could be used -- but its period is measured in 
powers of 2, IIRC.
Wouldn't it be possible to use SoC timer functionality, too, and not limit
this to what is only present on the CPU die?

I guess the real question is, how high resolution does a high resolution
timer need to be, and how often do you want to be handling interrupts?

The 52XX has 8 general purpose timers and 2 slice timers. Both will
generate an interrupt once the clock hits a preset value, the timing
of which is determined by prescalers and the IPB clock..

-- 
Matt Sealey [off-list ref]
Genesi, Manager, Developer Relations
Thread (50 messages) 50 messages, 12 authors, last reply 2007-10-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help