[PATCH] powerpc 2.6.21-rt6: revert spider_net

2007-05-22 Thread Tsutomu OWA
Hi Ingo and Thomas, Please apply. To revert spider_net.c to original one as it turns out that the patch I sent was unnecessary. It was my mistake. Compile, boot and netperf tested on celleb. thanks for your time! Signed-off-by: Tsutomu OWA <[EMAIL PROTECTED]> -- owa --- linux-2.6.

[PATCH] powerpc 2.6.21-rt6: replace preempt_schedule w/ preempt_schedule_irq

2007-05-22 Thread Tsutomu OWA
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - thanks in advance. Signed-off-by: Tsutomu OWA <[EMAIL PROTECTED]> -- owa --- mcount/arch/powerpc/kernel/entry_64.S 2007-05-15 18:46:38.0 +0900 +++ send/rt/arch/powerpc/kernel/entry_64.S 2007-05-15 15:44:40.0 +0900 @@ -559,

Re: [patch 4/4] powerpc 2.6.21-rt1: reduce scheduling latency by changing tlb flush size

2007-05-15 Thread Tsutomu OWA
At Tue, 15 May 2007 17:38:27 +1000, Benjamin Herrenschmidt wrote: > > +#ifdef CONFIG_PREEMPT_RT > > + /* > > +* Since flushing tlb needs expensive hypervisor call(s) on celleb, > > +* always flush it on RT to reduce scheduling latency. > > +*/ > > + if (machine_is(celleb)) { > > +

Re: [patch 4/4] powerpc 2.6.21-rt1: reduce scheduling latency by changing tlb flush size

2007-05-14 Thread Tsutomu OWA
ing tlb needs expensive hypervisor call(s) on celleb, always flush it on RT to reduce scheduling latency. Signed-off-by: Tsutomu OWA <[EMAIL PROTECTED]> -- owa --- linux-2.6.21-rt1/arch/powerpc/mm/tlb_64.c 2007-05-07 14:08:12.0 +0900 +++ rt/arch/powerpc/mm/tlb_64.c 2007-

Re: [patch 4/4] powerpc 2.6.21-rt1: reduce scheduling latency by changing tlb flush size

2007-05-14 Thread Tsutomu OWA
At Mon, 14 May 2007 16:40:02 +0200, Arnd Bergmann wrote: > > On Monday 14 May 2007, Tsutomu OWA wrote: > > --- linux-2.6.21-rt1/include/asm-powerpc/tlbflush.h 2007-04-26 > > 12:08:32.0 +0900 > > +++ rt/include/asm-powerpc/tlbflush.h   2007-05-14 16:12:47.

Re: [patch 5/5] powerpc 2.6.21-rt1] fix clocksource_timebase.shift value

2007-05-14 Thread Tsutomu OWA
Calculate clocksource_timebase.shift from tb_ticks_per_jiffy to get an accurate translation, though I don't understand why current version of clocksource_timebase.shift could be constant... Signed-off-by: Tsutomu OWA <[EMAIL PROTECTED]> -- owa --- linux-2.6.21-rt1/arch/powerpc/ke

Re: [patch 4/5] powerpc 2.6.21-rt1: rename mcount variable in xmon to xmon_mcount

2007-05-14 Thread Tsutomu OWA
Rename variable name "mcount" in xmon to xmon_mcount, since it conflicts with mcount() function used by latency trace function. Signed-off-by: Tsutomu OWA <[EMAIL PROTECTED]> -- owa diff -rup linux-2.6.21-rt1/arch/powerpc/xmon/xmon.c rt/arch/powerpc/xmon/xmon.c --- linux

Re: [patch 3/5] powerpc 2.6.21-rt1: mark raw_local_irq_restore() and timebase_read() as notrace

2007-05-14 Thread Tsutomu OWA
mark raw_local_irq_restore() and timebase_read() as notrace since these are called from __trace(). Signed-off-by: Tsutomu OWA <[EMAIL PROTECTED]> -- owa diff -rup linux-2.6.21-rt1/arch/powerpc/kernel/irq.c rt/arch/powerpc/kernel/irq.c --- linux-2.6.21-rt1/arch/powerpc/kernel/irq.c 2007

Re: [patch 2/5] powerpc 2.6.21-rt1: dummy functions and export _mcount to compile

2007-05-14 Thread Tsutomu OWA
add dummy functions save_stack_trace(), early_printk() for now and export _mcount to compile. Signed-off-by: Tsutomu OWA <[EMAIL PROTECTED]> -- owa diff -rup linux-2.6.21-rt1/arch/powerpc/kernel/setup_64.c rt/arch/powerpc/kernel/setup_64.c --- linux-2.6.21-rt1/arch/powerpc/kernel/setu

Re: [patch 1/5] powerpc 2.6.21-rt1: add mcount() and _mcount()

2007-05-14 Thread Tsutomu OWA
add mcount() and _mcount() for latency trace support. Signed-off-by: Tsutomu OWA <[EMAIL PROTECTED]> -- owa diff -rup linux-2.6.21-rt1/arch/powerpc/kernel/entry_64.S rt/arch/powerpc/kernel/entry_64.S --- linux-2.6.21-rt1/arch/powerpc/kernel/entry_64.S 2007-05-07 14:08:12.0

[patch 0/5] powerpc 2.6.21-rt1] latency trace support for powerpc

2007-05-14 Thread Tsutomu OWA
Hi Ingo, Please consider for inclusion. This series of patches adds very basic latency trace support for powerpc. Compile, boot and trace tested (a little) on Celleb. Thanks in advance. -- owa TOSHIBA, Corprate Software Engineering Center. - To unsubscribe from this list: send the lin

Re: [patch 4/4] powerpc 2.6.21-rt1: reduce scheduling latency by changing tlb flush size

2007-05-14 Thread Tsutomu OWA
At Mon, 14 May 2007 08:51:46 +0200, Thomas Gleixner wrote: > On Mon, 2007-05-14 at 15:38 +0900, Tsutomu OWA wrote: > > As I don't know how long it takes on other platforms, it would be better to > > enclose it within #ifdef CONFIG_PPC_CELLEB. > > Yes, that might b

Re: [patch 3/4] powerpc 2.6.21-rt1: add a need_resched_delayed() check

2007-05-13 Thread Tsutomu OWA
Add a need_resched_delayed() check. This was pointed by Sergei Shtylyov; http://ozlabs.org/pipermail/linuxppc-dev/2007-March/033148.html Signed-off-by: Tsutomu Owa <[EMAIL PROTECTED]> -- owa diff -rup linux-2.6.21-rt1/arch/powerpc/kernel/idle.c rt/arch/powerpc/kernel/idle.c --- linux-

Re: [patch 4/4] powerpc 2.6.21-rt1: reduce scheduling latency by changing tlb flush size

2007-05-13 Thread Tsutomu OWA
es on other platforms, it would be better to enclose it within #ifdef CONFIG_PPC_CELLEB. Signed-off-by: Tsutomu OWA <[EMAIL PROTECTED]> -- owa diff -rup linux-2.6.21-rt1/include/asm-powerpc/tlbflush.h rt/include/asm-powerpc/tlbflush.h --- linux-2.6.21-rt1/include/asm-powerpc/tlbflush.h

Re: [patch 1/4] powerpc 2.6.21-rt1: fix a build breakage by adding __raw_*_relax() macros

2007-05-13 Thread Tsutomu OWA
Add missing macros to fix a build breakage for PREEMPT_DESKTOP. Signed-off-by: Tsutomu OWA <[EMAIL PROTECTED]> -- owa diff -rup linux-2.6.21-rt1/include/asm-powerpc/spinlock.h rt/include/asm-powerpc/spinlock.h --- linux-2.6.21-rt1/include/asm-powerpc/spinlock.h 2007-05-07

Re: [patch 0/4] powerpc 2.6.21-rt1: reduce scheduling latency by changing tlb flush size

2007-05-13 Thread Tsutomu OWA
se it within #ifdef CONFIG_PPC_CELLEB. Signed-off-by: Tsutomu OWA <[EMAIL PROTECTED]> -- owa diff -rup linux-2.6.21-rt1/include/asm-powerpc/tlbflush.h rt/include/asm-powerpc/tlbflush.h --- linux-2.6.21-rt1/include/asm-powerpc/tlbflush.h 2007-04-26 12:08:32.0 +0900 +++ rt/include/

Re: [patch 2/4] powerpc 2.6.21-rt1: convert spinlocks to raw ones for Celleb.

2007-05-13 Thread Tsutomu OWA
Convert more spinlocks to raw ones for Celleb. Signed-off-by: Tsutomu OWA <[EMAIL PROTECTED]> -- owa diff -rup linux-2.6.21-rt1/arch/powerpc/platforms/celleb/htab.c rt/arch/powerpc/platforms/celleb/htab.c --- linux-2.6.21-rt1/arch/powerpc/platforms/celleb/htab.c 2007-04-26

[patch 0/4] powerpc 2.6.21-rt1: fix build a breakage and some minor issues

2007-05-13 Thread Tsutomu OWA
Hi Ingo, Please apply. This series of patches fixes a build breakage and some minor issues including oonverting spinlocks to raw ones, adding a need_resched_delayed check, etc. for powerpc64. This applies on top of linux-2.6.21 and patch-2.6.21-rt1. Compile and boot tested for both PR

Re: [patch 1/6 -rt] powerpc 2.6.20-rt8: add preemption checks for NEED_RESCHED_DELAYED.

2007-03-18 Thread Tsutomu OWA
Hi, At Fri, 16 Mar 2007 22:20:27 +0300, Sergei Shtylyov wrote: > Argh, I've missed this one! :-( > But shouldn't we also add !need_resched_delayed() to another place below? > > if (ppc_md.power_save) { > [...] > if (!need_resched() && !cpu_should_die()) Thanks for pointing it o

Re: [patch 0/6 -rt] powerpc 2.6.20-rt8: fix boot/runtime errors/warnings for PowerPC(ppc64)

2007-03-07 Thread Tsutomu OWA
At Wed, 07 Mar 2007 17:26:50 +0300, Sergei Shtylyov wrote: > > Tsutomu OWA wrote: > > CONFIG_MCOUNT, CONFIG_LATENCY_TRACE and other tracing options nor > > CONFIG_GENERIC_TIME, > > There is PowerPC genTOD patch and it's incorporated into -rt (don't

Re: [RFC] [patch 4/6 -rt] powerpc 2.6.20-rt8: fix a runtime warnings for xmon

2007-03-07 Thread Tsutomu OWA
At Wed, 07 Mar 2007 11:10:59 +0100, Benjamin Herrenschmidt wrote: > > On Wed, 2007-03-07 at 10:16 +0100, Ingo Molnar wrote: > > * Tsutomu OWA <[EMAIL PROTECTED]> wrote: > > > > > @@ -342,6 +342,7 @@ static int xmon_core(struct pt_regs *reg > > >

[patch 6/6 -rt] powerpc 2.6.20-rt8: fix boot/runtime errors/warnings

2007-03-06 Thread Tsutomu OWA
: [CFA33D10] [C000FAA0] .show_stack+0x68/0x1b0 (unreliable) [CFA33DB0] [C03E78DC] .schedule+0x78/0x128 [CFA33E30] [C0008C40] user_work+0x14/0x2c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Signed-off-by: Tsutomu Owa <[EM

[RFC] [patch 5/6] powerpc 2.6.20-rt8: fix a boot error for handle_percpu_irq

2007-03-06 Thread Tsutomu OWA
d be to add one more irq_chip structure for handle_percpu_irq which does not have ack member... Any comments? Signed-off-by: Tsutomu Owa <[EMAIL PROTECTED]> -- owa diff -rup linux-rt8/arch/powerpc/platforms/cell/interrupt.c rt/arch/powerpc/platforms/cell/interrupt.c --- linux-rt8/a

[RFC] [patch 4/6 -rt] powerpc 2.6.20-rt8: fix a runtime warnings for xmon

2007-03-06 Thread Tsutomu OWA
e any comments/suggestions on this. These warnings was just found yesterday, this patch seems to eliminate the warnings but I have not looked into it seriously. Signed-off-by: Tsutomu Owa <[EMAIL PROTECTED]> -- owa diff -rup linux-rt8/arch/powerpc/xmon/xmon.c rt/arch/powerpc/xmon/xmon.c --- lin

[patch 3/6 -rt] powerpc 2.6.20-rt8: fix a runtime warning for smp_processor_id()

2007-03-06 Thread Tsutomu OWA
] [C0008634] syscall_exit+0x0/0x40 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Would it be better to just use raw_smp_processor_id() rather than tlb->cpu? Signed-off-by: Tsutomu Owa <[EMAIL PROTECTED]> -- owa diff -rup linux-rt8/arch/powerpc/mm/tlb_64.

[patch 2/6 -rt] powerpc 2.6.20-rt8: to convert spinlocks to raw ones.

2007-03-06 Thread Tsutomu OWA
-by: Tsutomu Owa <[EMAIL PROTECTED]> -- owa diff -rup linux-rt8/include/asm-powerpc/rtas.h rt/include/asm-powerpc/rtas.h --- linux-rt8/include/asm-powerpc/rtas.h2007-02-20 09:37:27.0 +0900 +++ rt/include/asm-powerpc/rtas.h 2007-03-05 11:49:41.0 +0900 @@ -58,7

[patch 1/6 -rt] powerpc 2.6.20-rt8: add preemption checks for NEED_RESCHED_DELAYED.

2007-03-06 Thread Tsutomu OWA
To add preemption checks for the NEED_RESCHED_DELAYED flag. Signed-off-by: Tsutomu Owa <[EMAIL PROTECTED]> -- owa diff -rup linux-rt8/include/asm-powerpc/thread_info.h rt/include/asm-powerpc/thread_info.h --- linux-rt8/include/asm-powerpc/thread_info.h 2007-02-20 14:30:40.0

[patch 0/6 -rt] powerpc 2.6.20-rt8: fix boot/runtime errors/warnings for PowerPC(ppc64)

2007-03-06 Thread Tsutomu OWA
Hi Ingo, Please consider for inclusion in your rt tree. This series of patches fixes boot and runntime errors/warnings for powerpc (esp. 64 bit). This applies to linux-2.6.20, patch-2.6.20-rt8 and previous my patch set; http://ozlabs.org/pipermail/linuxppc-dev/2007-March/032640.html htt

[patch 0/7 -rt] powerpc 2.6.20-rt8: fix build breakage for PowerPC(ppc64)

2007-03-06 Thread Tsutomu OWA
Hi Ingo, Please apply. This series of patches fixes build breakage on arch/powerpc with realtime preempt patch. This applies on top of linux-2.6.20 and patch-2.6.20-rt8. Although there has been some efforts to port realtime-preempt patch to powerpc, build breakage still exists for powerp

[patch 6/7 -rt] powerpc 2.6.20-rt8: fix compile error (percpu.h)

2007-03-06 Thread Tsutomu OWA
irst use in this function) include/asm-generic/tlb.h:58: error: (Each undeclared identifier is reported only once include/asm-generic/tlb.h:58: error: for each function it appears in.) : - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Signed-off-by: Tsutomu O

[patch 7/7 -rt] powerpc 2.6.20-rt8: fix compile error (hw_irq.h)

2007-03-06 Thread Tsutomu OWA
expected expression before '<<' token include/asm/hw_irq.h:25: error: expected expression before ':' token include/asm/hw_irq.h:25: error: expected statement before ')' token - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Signed-off-b

[patch 4/7] powerpc 2.6.20-rt8: fix compile error (futex.h)

2007-03-06 Thread Tsutomu OWA
' kernel/futex.c:3446: undefined reference to `.futex_atomic_cmpxchg_inatomic64' : - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Signed-off-by: Tsutomu Owa <[EMAIL PROTECTED]> -- owa diff -rup linux-rt8/include/asm-powerpc/futex.h rt/

[patch 5/7 -rt] powerpc 2.6.20-rt8: fix compile error (spinlock.h)

2007-03-06 Thread Tsutomu OWA
of '__write_trylock' was here - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Signed-off-by: Tsutomu Owa <[EMAIL PROTECTED]> -- owa diff -rup linux-rt8/include/asm-powerpc/spinlock.h rt/include/asm-powerpc/spinlock.h --- linux-rt8/include/asm-power

[patch 3/7] powerpc 2.6.20-rt8: fix compile error (manage.c)

2007-03-06 Thread Tsutomu OWA
nvalid type argument of '->' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Signed-off-by: Tsutomu Owa <[EMAIL PROTECTED]> -- owa diff -rup linux-rt8/kernel/irq/manage.c rt/kernel/irq/manage.c --- linux-rt8/kernel/irq/manage.c 2007-02-20 14:30:41.

[patch 2/7] powerpc 2.6.20-rt8: fix compile error (time.c)

2007-03-06 Thread Tsutomu OWA
;is_continuous' specified in initializer - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Signed-off-by: Tsutomu Owa <[EMAIL PROTECTED]> -- owa diff -rup linux-rt8/arch/powerpc/kernel/time.c rt/arch/powerpc/kernel/time.c --- linux-rt8/arch/powerpc/k

[patch 1/7 -rt] powerpc 2.6.20-rt8: fix compile error in bug.h

2007-03-06 Thread Tsutomu OWA
: `extern' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Signed-off-by: Tsutomu Owa <[EMAIL PROTECTED]> -- owa diff -rup linux-rt8/include/asm-generic/bug.h rt/include/asm-generic/bug.h --- linux-rt8/include/asm-generic/bug.h 2007-02-20 14:30:39.