public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* POSIX High Resolution Timers in LinuxPPC 2.4
@ 2005-12-16 22:34 Martin, Tim
  2005-12-19  9:39 ` David Jander
  0 siblings, 1 reply; 4+ messages in thread
From: Martin, Tim @ 2005-12-16 22:34 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 531 bytes --]

Could someone give me a brief history lesson on POSIX high resolution timers
(e.g. timer_create() function) implemented in the Linux kernel on the
PowerPC 405 architecture?  Specifically:

 

Confirm they are in the mainline 2.6 kernel now (e.g. kernel.org)?

 

Were they ever a part of the "mainline" 2.4 linuxppc kernel (e.g
ppc.bkbits.net)?

 

If no, were they ever available as a patch? The stuff at
sourceforge.net/projects/high-res-timers stops at 2.4.20 and looks like it
was only ever working for i386, not ppc.

 

Tim


[-- Attachment #2: Type: text/html, Size: 2665 bytes --]

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

* Re: POSIX High Resolution Timers in LinuxPPC 2.4
  2005-12-16 22:34 POSIX High Resolution Timers in LinuxPPC 2.4 Martin, Tim
@ 2005-12-19  9:39 ` David Jander
  2005-12-19 15:57   ` Egan
  2005-12-19 22:56   ` Geoff Levand
  0 siblings, 2 replies; 4+ messages in thread
From: David Jander @ 2005-12-19  9:39 UTC (permalink / raw)
  To: linuxppc-embedded; +Cc: Martin, Tim


Hi Tim,

On Friday 16 December 2005 23:34, Martin, Tim wrote:
> Could someone give me a brief history lesson on POSIX high resolution
> timers (e.g. timer_create() function) implemented in the Linux kernel on
> the PowerPC 405 architecture?  Specifically:
>
> Confirm they are in the mainline 2.6 kernel now (e.g. kernel.org)?
>
> Were they ever a part of the "mainline" 2.4 linuxppc kernel (e.g
> ppc.bkbits.net)?
>
> If no, were they ever available as a patch? The stuff at
> sourceforge.net/projects/high-res-timers stops at 2.4.20 and looks like it
> was only ever working for i386, not ppc.

I asked a related question a while back, and got no answer (yet).
I did find this though, which you might have overlooked:
http://prdownloads.sourceforge.net/high-res-timers/ppc-hrt-2.6.10.patch?download

I am equally puzzled about whether this has made it into mainstream, is about 
to, or never will. I don't even know if it actually works.

Greetings,

-- 
David Jander
Protonic Holland.

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

* Re: POSIX High Resolution Timers in LinuxPPC 2.4
  2005-12-19  9:39 ` David Jander
@ 2005-12-19 15:57   ` Egan
  2005-12-19 22:56   ` Geoff Levand
  1 sibling, 0 replies; 4+ messages in thread
From: Egan @ 2005-12-19 15:57 UTC (permalink / raw)
  To: linuxppc-embedded, linuxppc-embedded

 > Hi Tim,
 > 
 > On Friday 16 December 2005 23:34, Martin, Tim wrote:
 > > Could someone give me a brief history lesson on POSIX high resolution
 > > timers (e.g. timer_create() function) implemented in the Linux kernel on
 > > the PowerPC 405 architecture?  Specifically:
 > >
 > > Confirm they are in the mainline 2.6 kernel now (e.g. kernel.org)?
 > >
 > > Were they ever a part of the "mainline" 2.4 linuxppc kernel (e.g
 > > ppc.bkbits.net)?
 > >
 > > If no, were they ever available as a patch? The stuff at
 > > sourceforge.net/projects/high-res-timers stops at 2.4.20 and looks like it
 > > was only ever working for i386, not ppc.
 > 
 > I asked a related question a while back, and got no answer (yet).
 > I did find this though, which you might have overlooked:
 > http://prdownloads.sourceforge.net/high-res-timers/ppc-hrt-2.6.10.patch?download
 > 
 > I am equally puzzled about whether this has made it into mainstream, is about 
 > to, or never will. I don't even know if it actually works.
 > 
 > Greetings,
 > 
 > -- 
 > 
 > David Jander
 > Protonic Holland.
 > 

High resolution timer support has been rewritten for 2.6 by Thomas Gleixner
with help from Ingo Molnar and others and is available at:
http://tglx.de/hrtimers.html.  It is also integrated into Ingo's
realtime-preempt patch at: http://people.redhat.com/mingo/realtime-preempt/.
It is not available in the mainline kernel yet.  Currently only X86 is
supported, PPC and other architectures are reported to be in progress.  If you
monitor the LKML you will see a lot of discussion/development in this area
right now.

Regards,
Tony

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

* Re: POSIX High Resolution Timers in LinuxPPC 2.4
  2005-12-19  9:39 ` David Jander
  2005-12-19 15:57   ` Egan
@ 2005-12-19 22:56   ` Geoff Levand
  1 sibling, 0 replies; 4+ messages in thread
From: Geoff Levand @ 2005-12-19 22:56 UTC (permalink / raw)
  To: David Jander; +Cc: Martin, Tim, linuxppc-embedded

David Jander wrote:
> Hi Tim,
> 
> On Friday 16 December 2005 23:34, Martin, Tim wrote:
> 
>>Could someone give me a brief history lesson on POSIX high resolution
>>timers (e.g. timer_create() function) implemented in the Linux kernel on
>>the PowerPC 405 architecture?  Specifically:
>>
>>Confirm they are in the mainline 2.6 kernel now (e.g. kernel.org)?
>>
>>Were they ever a part of the "mainline" 2.4 linuxppc kernel (e.g
>>ppc.bkbits.net)?
>>
>>If no, were they ever available as a patch? The stuff at
>>sourceforge.net/projects/high-res-timers stops at 2.4.20 and looks like it
>>was only ever working for i386, not ppc.
> 
> 
> I asked a related question a while back, and got no answer (yet).
> I did find this though, which you might have overlooked:
> http://prdownloads.sourceforge.net/high-res-timers/ppc-hrt-2.6.10.patch?download
> 
> I am equally puzzled about whether this has made it into mainstream, is about 
> to, or never will. I don't even know if it actually works.
> 

You would do better to inquire on the HRT mailing list:

  http://lists.sourceforge.net/lists/listinfo/high-res-timers-discourse

HRT support (from http://sourceforge.net/projects/high-res-timers/) was
never accepted to mainline.  It works on Ebony (PPC440), but I guess it
is OK on others since it uses the PPC time base.  I recommend you get
the latest from CVS, which is against 2.6.12.  Older versions have
CVS tags.

-Geoff

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

end of thread, other threads:[~2005-12-20 21:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-16 22:34 POSIX High Resolution Timers in LinuxPPC 2.4 Martin, Tim
2005-12-19  9:39 ` David Jander
2005-12-19 15:57   ` Egan
2005-12-19 22:56   ` Geoff Levand

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