All of lore.kernel.org
 help / color / mirror / Atom feed
* Status of -rt for linux-2.6.20/arch/powerpc
@ 2007-02-11 11:10 Wolfgang Grandegger
  2007-02-11 11:29 ` Robert Schwebel
  0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Grandegger @ 2007-02-11 11:10 UTC (permalink / raw)
  To: linux-rt-users

Hello,

what is the status of the Preemptive Kernel and the High Resolution 
Timers for Linux 2.6.20 for PowerPC (arch/powerpc or arch/ppc)?

I realized build problems when trying to get it working for my Lite5200 
(MPC5200) board with patch-2-6-20-rt5. The patch seems to contain 
reminders of merge conflicts, e.g.:

   +++ linux/include/asm-powerpc/hw_irq.h
   ...
   +<<<<<<< delete extern unsigned long local_get_flags(void);
   +<<<<<<< delete extern unsigned long local_irq_disable(void);

and the make fails in arch/powerpc/kernel/time.c as well (see attachment).

Thanks for help.

Wolfgang.

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

* Re: Status of -rt for linux-2.6.20/arch/powerpc
  2007-02-11 11:10 Status of -rt for linux-2.6.20/arch/powerpc Wolfgang Grandegger
@ 2007-02-11 11:29 ` Robert Schwebel
  2007-02-11 12:39   ` Wolfgang Grandegger
  0 siblings, 1 reply; 11+ messages in thread
From: Robert Schwebel @ 2007-02-11 11:29 UTC (permalink / raw)
  To: Wolfgang Grandegger; +Cc: linux-rt-users

Hello Wolfgang,

On Sun, Feb 11, 2007 at 12:10:15PM +0100, Wolfgang Grandegger wrote:
> what is the status of the Preemptive Kernel and the High Resolution 
> Timers for Linux 2.6.20 for PowerPC (arch/powerpc or arch/ppc)?
> 
> I realized build problems when trying to get it working for my Lite5200 
> (MPC5200) board with patch-2-6-20-rt5. The patch seems to contain 
> reminders of merge conflicts, e.g.:
> 
>   +++ linux/include/asm-powerpc/hw_irq.h
>   ...
>   +<<<<<<< delete extern unsigned long local_get_flags(void);
>   +<<<<<<< delete extern unsigned long local_irq_disable(void);
> 
> and the make fails in arch/powerpc/kernel/time.c as well (see attachment).

We have 2.6.20-rt3 running on the phyCORE-MPC5200B, so that one should
work and the merge problems did probably come in later (don't have the
time to look right now because of the Embedded World activities for next
week).

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9

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

* Re: Status of -rt for linux-2.6.20/arch/powerpc
  2007-02-11 11:29 ` Robert Schwebel
@ 2007-02-11 12:39   ` Wolfgang Grandegger
  2007-02-11 15:57     ` Thomas Gleixner
  2007-02-11 15:59     ` Robert Schwebel
  0 siblings, 2 replies; 11+ messages in thread
From: Wolfgang Grandegger @ 2007-02-11 12:39 UTC (permalink / raw)
  To: Robert Schwebel; +Cc: linux-rt-users

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

Hi Robert,

Robert Schwebel wrote:
> Hello Wolfgang,
> 
> On Sun, Feb 11, 2007 at 12:10:15PM +0100, Wolfgang Grandegger wrote:
>> what is the status of the Preemptive Kernel and the High Resolution 
>> Timers for Linux 2.6.20 for PowerPC (arch/powerpc or arch/ppc)?
>>
>> I realized build problems when trying to get it working for my Lite5200 
>> (MPC5200) board with patch-2-6-20-rt5. The patch seems to contain 
>> reminders of merge conflicts, e.g.:
>>
>>   +++ linux/include/asm-powerpc/hw_irq.h
>>   ...
>>   +<<<<<<< delete extern unsigned long local_get_flags(void);
>>   +<<<<<<< delete extern unsigned long local_irq_disable(void);
>>
>> and the make fails in arch/powerpc/kernel/time.c as well (see attachment).
> 
> We have 2.6.20-rt3 running on the phyCORE-MPC5200B, so that one should
> work and the merge problems did probably come in later (don't have the
> time to look right now because of the Embedded World activities for next
> week).

As I see it, 2.6.20-rt3 has the same issues (have now attached the 
missing make output). I fixed them manually and are now able to boot and 
run the 2.6.20-rt5 on my Icecube board. Nevertheless, cyclictest returns 
high values of around 8000-10000 (8-10ms). The fact that the unknown 
field 'is_continuous' in arch/powerpc/kernel/time.c is still present 
gives me the impression, that the code in there is not up-to-date. See 
you next week on the Embedded World.

Thanks.

Wolfgang.


[-- Attachment #2: make.log --]
[-- Type: text/x-log, Size: 701 bytes --]

  CC      arch/powerpc/kernel/time.o
In file included from arch/powerpc/kernel/time.c:924:
include/linux/clocksource.h: In function 'ns2cyc':
include/linux/clocksource.h:174: warning: comparison of distinct pointer types lacks a cast
include/linux/clocksource.h:174: warning: right shift count >= width of type
include/linux/clocksource.h:174: warning: passing argument 1 of '__div64_32' from incompatible pointer type
arch/powerpc/kernel/time.c: At top level:
arch/powerpc/kernel/time.c:938: error: unknown field 'is_continuous' specified in initializer
make[1]: *** [arch/powerpc/kernel/time.o] Error 1
make[1]: Target `__build' not remade because of errors.
make: *** [arch/powerpc/kernel] Error 2

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

* Re: Status of -rt for linux-2.6.20/arch/powerpc
  2007-02-11 12:39   ` Wolfgang Grandegger
@ 2007-02-11 15:57     ` Thomas Gleixner
  2007-02-11 16:37       ` Wolfgang Grandegger
  2007-02-11 15:59     ` Robert Schwebel
  1 sibling, 1 reply; 11+ messages in thread
From: Thomas Gleixner @ 2007-02-11 15:57 UTC (permalink / raw)
  To: Wolfgang Grandegger; +Cc: Robert Schwebel, linux-rt-users

Wolfgang,

On Sun, 2007-02-11 at 13:39 +0100, Wolfgang Grandegger wrote:
> As I see it, 2.6.20-rt3 has the same issues (have now attached the 
> missing make output). I fixed them manually and are now able to boot and 
> run the 2.6.20-rt5 on my Icecube board. Nevertheless, cyclictest returns 
> high values of around 8000-10000 (8-10ms). The fact that the unknown 
> field 'is_continuous' in arch/powerpc/kernel/time.c is still present 
> gives me the impression, that the code in there is not up-to-date. See 
> you next week on the Embedded World.

Yup, I did not come around to do the fixups. Is top on my todo list
though.

	tglx

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

* Re: Status of -rt for linux-2.6.20/arch/powerpc
  2007-02-11 12:39   ` Wolfgang Grandegger
  2007-02-11 15:57     ` Thomas Gleixner
@ 2007-02-11 15:59     ` Robert Schwebel
  2007-02-11 16:39       ` Wolfgang Grandegger
  1 sibling, 1 reply; 11+ messages in thread
From: Robert Schwebel @ 2007-02-11 15:59 UTC (permalink / raw)
  To: Wolfgang Grandegger; +Cc: linux-rt-users

On Sun, Feb 11, 2007 at 01:39:44PM +0100, Wolfgang Grandegger wrote:
> > We have 2.6.20-rt3 running on the phyCORE-MPC5200B, so that one should
> > work and the merge problems did probably come in later (don't have the
> > time to look right now because of the Embedded World activities for next
> > week).
> 
> As I see it, 2.6.20-rt3 has the same issues (have now attached the 
> missing make output). I fixed them manually and are now able to boot and 
> run the 2.6.20-rt5 on my Icecube board. Nevertheless, cyclictest returns 
> high values of around 8000-10000 (8-10ms). The fact that the unknown 
> field 'is_continuous' in arch/powerpc/kernel/time.c is still present 
> gives me the impression, that the code in there is not up-to-date. See 
> you next week on the Embedded World.

I have uploaded the latest results to this place:

http://www.pengutronix.de/oselas/realtime/results/20070211-1/phyCORE-MPC5200B-tiny-20070211-1.png

Note that this is still no waterproof measurement, with 100k data
points and only ad-hoc stressing. We'll do more testing after the
tradeshow.

The 2.6.20-rt3 is a little bit patched, but I don't have the time right
now to dig into the details. We can discuss it on the Embedded World
next week, I'll take the patch stack with me.

Robert 
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9

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

* Re: Status of -rt for linux-2.6.20/arch/powerpc
  2007-02-11 15:57     ` Thomas Gleixner
@ 2007-02-11 16:37       ` Wolfgang Grandegger
  2007-02-11 16:39         ` Thomas Gleixner
  0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Grandegger @ 2007-02-11 16:37 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: Robert Schwebel, linux-rt-users

Thomas Gleixner wrote:
> Wolfgang,
> 
> On Sun, 2007-02-11 at 13:39 +0100, Wolfgang Grandegger wrote:
>> As I see it, 2.6.20-rt3 has the same issues (have now attached the 
>> missing make output). I fixed them manually and are now able to boot and 
>> run the 2.6.20-rt5 on my Icecube board. Nevertheless, cyclictest returns 
>> high values of around 8000-10000 (8-10ms). The fact that the unknown 
>> field 'is_continuous' in arch/powerpc/kernel/time.c is still present 
>> gives me the impression, that the code in there is not up-to-date. See 
>> you next week on the Embedded World.
> 
> Yup, I did not come around to do the fixups. Is top on my todo list
> though.

Apart from that, I also realized that it's not possible to enable 
HIGH_RES_TIMERS, because GENERIC_CLOCKEVENTS is not selected or 
available for PowerPC.

Wolfgang.

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

* Re: Status of -rt for linux-2.6.20/arch/powerpc
  2007-02-11 16:37       ` Wolfgang Grandegger
@ 2007-02-11 16:39         ` Thomas Gleixner
  0 siblings, 0 replies; 11+ messages in thread
From: Thomas Gleixner @ 2007-02-11 16:39 UTC (permalink / raw)
  To: Wolfgang Grandegger; +Cc: Robert Schwebel, linux-rt-users

On Sun, 2007-02-11 at 17:37 +0100, Wolfgang Grandegger wrote:
> > Yup, I did not come around to do the fixups. Is top on my todo list
> > though.
> 
> Apart from that, I also realized that it's not possible to enable 
> HIGH_RES_TIMERS, because GENERIC_CLOCKEVENTS is not selected or 
> available for PowerPC.

Yup, the whole bunch is missing. It got dropped at some point.

	tglx

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

* Re: Status of -rt for linux-2.6.20/arch/powerpc
  2007-02-11 15:59     ` Robert Schwebel
@ 2007-02-11 16:39       ` Wolfgang Grandegger
  0 siblings, 0 replies; 11+ messages in thread
From: Wolfgang Grandegger @ 2007-02-11 16:39 UTC (permalink / raw)
  To: Robert Schwebel; +Cc: linux-rt-users

Robert Schwebel wrote:
> On Sun, Feb 11, 2007 at 01:39:44PM +0100, Wolfgang Grandegger wrote:
>>> We have 2.6.20-rt3 running on the phyCORE-MPC5200B, so that one should
>>> work and the merge problems did probably come in later (don't have the
>>> time to look right now because of the Embedded World activities for next
>>> week).
>> As I see it, 2.6.20-rt3 has the same issues (have now attached the 
>> missing make output). I fixed them manually and are now able to boot and 
>> run the 2.6.20-rt5 on my Icecube board. Nevertheless, cyclictest returns 
>> high values of around 8000-10000 (8-10ms). The fact that the unknown 
>> field 'is_continuous' in arch/powerpc/kernel/time.c is still present 
>> gives me the impression, that the code in there is not up-to-date. See 
>> you next week on the Embedded World.
> 
> I have uploaded the latest results to this place:
> 
> http://www.pengutronix.de/oselas/realtime/results/20070211-1/phyCORE-MPC5200B-tiny-20070211-1.png
> 
> Note that this is still no waterproof measurement, with 100k data
> points and only ad-hoc stressing. We'll do more testing after the
> tradeshow.
 >
> The 2.6.20-rt3 is a little bit patched, but I don't have the time right
> now to dig into the details. We can discuss it on the Embedded World
> next week, I'll take the patch stack with me.

OK, great, thanks.

See you next week.

Wolfgang.

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

* Re: Status of -rt for linux-2.6.20/arch/powerpc
@ 2007-03-07  9:02 pradyumna.sampath
  0 siblings, 0 replies; 11+ messages in thread
From: pradyumna.sampath @ 2007-03-07  9:02 UTC (permalink / raw)
  To: r.schwebel; +Cc: linux-rt-users, tglx, pradyumna.sampath


Hi robert,



> We have a very raw patch series which makes rt-preempt working on
> MPC5200B (tested on phyCORE-MPC5200B-tiny, but it should not be that
> much different from your lite board).

Thats is quite ok. Im willing to try that out. I could try out this raw
patch out here. Do you have a link to that ?

thanks in advance
regards
prady

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

* Re: Status of -rt for linux-2.6.20/arch/powerpc
       [not found] <OF77E4A7D3.89DEBB42-ON65257296.002B7648-65257296.002B9889@abbasiapacific.com.sg>
@ 2007-03-06  8:27 ` Robert Schwebel
  0 siblings, 0 replies; 11+ messages in thread
From: Robert Schwebel @ 2007-03-06  8:27 UTC (permalink / raw)
  To: linux-rt-users; +Cc: tglx, pradyumna.sampath

Prady,

On Tue, Mar 06, 2007 at 01:32:26PM +0530, pradyumna.sampath@in.abb.com
wrote:
> I came across the errors that Wolfgang Grandegger describes http://
> article.gmane.org/gmane.linux.rt.user/224. I downloaded the latest
> patch, -rt8 and I continue to get the same merge errors and the make
> fail in arch/ powerpc/kernel/time.c.
> 
> Is there a patch which has these fixed? Im trying to get RT-PREEMPT
> working on my Lite5200 board.

We have a very raw patch series which makes rt-preempt working on
MPC5200B (tested on phyCORE-MPC5200B-tiny, but it should not be that
much different from your lite board).

Thomas, how can we proceed in that direction. The main problem with the
patch I've sent you is that it hacks away the generic powerpc timer
implementation in arch/powerpc/kernel/time.c and implements a minimum
working set for the MPC5200. As we currently neither have the ressources
nor access to other powerpc machines than the MPC5200B, it may be
interesting that somebody with better powerpc access would do it 'the
right way'.

I'll repost the series in a separate mail.

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9

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

* Re: Status of -rt for linux-2.6.20/arch/powerpc
@ 2007-03-06  8:02 pradyumna.sampath
  0 siblings, 0 replies; 11+ messages in thread
From: pradyumna.sampath @ 2007-03-06  8:02 UTC (permalink / raw)
  To: tglx; +Cc: wg, r.schwebel, linux-rt-users

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


Hi Everyone,

I came across the errors that Wolfgang Grandegger describes
http://article.gmane.org/gmane.linux.rt.user/224 . I downloaded the latest
patch , -rt8 and I continue to get the same merge errors and the make fail
in arch/powerpc/kernel/time.c .

Is there a patch which has these fixed ? Im trying to get RT-PREEMPT
working on my Lite5200 board.

Thanks in advance.

regards
prady




                                                                                                     
 (Embedded     Thomas Gleixner <tglx@linutronix.de>@vger.kernel.org                                  
 image moved   02/11/2007 10:09 PM                                                                   
 to file:                                                                                            
 pic04031.pcx)                                                                                       
                                                                                                     
                                                                                                     


Sent by:    linux-rt-users-owner@vger.kernel.org


To:    Wolfgang Grandegger <wg@grandegger.com>
cc:    Robert Schwebel <r.schwebel@pengutronix.de>,
       linux-rt-users@vger.kernel.org
Subject:    Re: Status of -rt for linux-2.6.20/arch/powerpc

Security Level:?              Internal

On Sun, 2007-02-11 at 17:37 +0100, Wolfgang Grandegger wrote:
> > Yup, I did not come around to do the fixups. Is top on my todo list
> > though.
>
> Apart from that, I also realized that it's not possible to enable
> HIGH_RES_TIMERS, because GENERIC_CLOCKEVENTS is not selected or
> available for PowerPC.

Yup, the whole bunch is missing. It got dropped at some point.

             tglx


-
To unsubscribe from this list: send the line "unsubscribe linux-rt-users"
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[-- Attachment #2: pic04031.pcx --]
[-- Type: application/octet-stream, Size: 128 bytes --]

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

end of thread, other threads:[~2007-03-07  9:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-11 11:10 Status of -rt for linux-2.6.20/arch/powerpc Wolfgang Grandegger
2007-02-11 11:29 ` Robert Schwebel
2007-02-11 12:39   ` Wolfgang Grandegger
2007-02-11 15:57     ` Thomas Gleixner
2007-02-11 16:37       ` Wolfgang Grandegger
2007-02-11 16:39         ` Thomas Gleixner
2007-02-11 15:59     ` Robert Schwebel
2007-02-11 16:39       ` Wolfgang Grandegger
2007-03-06  8:02 pradyumna.sampath
     [not found] <OF77E4A7D3.89DEBB42-ON65257296.002B7648-65257296.002B9889@abbasiapacific.com.sg>
2007-03-06  8:27 ` Robert Schwebel
2007-03-07  9:02 pradyumna.sampath

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.