From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from annex.viasat.com (eagle.viasat.com [199.106.52.54]) by ozlabs.org (Postfix) with ESMTP id DFA47688D1 for ; Sat, 17 Dec 2005 09:50:15 +1100 (EST) Message-ID: <821B2170E9E7F04FA38DF7EC21DE4871022BB9A9@VCAEXCH01.hq.corp.viasat.com> From: "Martin, Tim" To: linuxppc-embedded@ozlabs.org Date: Fri, 16 Dec 2005 14:34:44 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C60290.EA02EFDD" Subject: POSIX High Resolution Timers in LinuxPPC 2.4 List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C60290.EA02EFDD Content-Type: text/plain 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 ------_=_NextPart_001_01C60290.EA02EFDD Content-Type: text/html Content-Transfer-Encoding: quoted-printable

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

------_=_NextPart_001_01C60290.EA02EFDD-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from protonic.prtnl (protonic.xs4all.nl [213.84.116.84]) by ozlabs.org (Postfix) with ESMTP id 9443D688D9 for ; Mon, 19 Dec 2005 20:40:08 +1100 (EST) From: David Jander To: linuxppc-embedded@ozlabs.org Date: Mon, 19 Dec 2005 10:39:56 +0100 References: <821B2170E9E7F04FA38DF7EC21DE4871022BB9A9@VCAEXCH01.hq.corp.viasat.com> In-Reply-To: <821B2170E9E7F04FA38DF7EC21DE4871022BB9A9@VCAEXCH01.hq.corp.viasat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Message-Id: <200512191039.58149.david.jander@protonic.nl> Cc: "Martin, Tim" Subject: Re: POSIX High Resolution Timers in LinuxPPC 2.4 List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from santa.timesys.com (65-117-135-105.dia.cust.qwest.net [65.117.135.105]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 93AD7688E6 for ; Tue, 20 Dec 2005 03:53:54 +1100 (EST) Received: from santa.timesys.com (localhost.localdomain [127.0.0.1]) by santa.timesys.com (8.12.11/8.12.11) with ESMTP id jBJFvsf4014107 for ; Mon, 19 Dec 2005 10:57:54 -0500 From: Egan MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <17318.55426.526781.62414@santa.timesys.com> Date: Mon, 19 Dec 2005 10:57:54 -0500 To: linuxppc-embedded@ozlabs.org To: linuxppc-embedded@ozlabs.org In-Reply-To: <200512191039.58149.david.jander@protonic.nl> References: <20051219123941.25BE7688FE@ozlabs.org> Subject: Re: POSIX High Resolution Timers in LinuxPPC 2.4 List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from outbound1-haw-R.bigfish.com (outbound-haw.frontbridge.com [12.129.219.97]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "*.bigfish.com", Issuer "*.bigfish.com" (not verified)) by ozlabs.org (Postfix) with ESMTP id 4241E688F8 for ; Wed, 21 Dec 2005 08:26:32 +1100 (EST) Received: from outbound1-haw.bigfish.com (localhost.localdomain [127.0.0.1]) by outbound1-haw-R.bigfish.com (Postfix) with ESMTP id C7D3768C556 for ; Tue, 20 Dec 2005 20:53:10 +0000 (UTC) Received: from mail2-fra-R.bigfish.com (unknown [192.168.51.1]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by outbound1-haw.bigfish.com (Postfix) with ESMTP id 687186828FA for ; Tue, 20 Dec 2005 20:53:10 +0000 (UTC) Received: from mail2-fra.bigfish.com (localhost.localdomain [127.0.0.1]) by mail2-fra-R.bigfish.com (Postfix) with ESMTP id 556E34A803D for ; Tue, 20 Dec 2005 20:52:42 +0000 (UTC) Received: from mail8.fw-bc.sony.com (mail8.fw-bc.sony.com [160.33.98.75]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by mail2-fra.bigfish.com (Postfix) with ESMTP id 200544A803D for ; Tue, 20 Dec 2005 20:52:42 +0000 (UTC) Message-ID: <43A73A90.3060908@am.sony.com> Date: Mon, 19 Dec 2005 14:56:16 -0800 From: Geoff Levand MIME-Version: 1.0 To: David Jander References: <821B2170E9E7F04FA38DF7EC21DE4871022BB9A9@VCAEXCH01.hq.corp.viasat.com> <200512191039.58149.david.jander@protonic.nl> In-Reply-To: <200512191039.58149.david.jander@protonic.nl> Content-Type: text/plain; charset=UTF-8 Cc: "Martin, Tim" , linuxppc-embedded@ozlabs.org Subject: Re: POSIX High Resolution Timers in LinuxPPC 2.4 List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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