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
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
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
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/
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
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-
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
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
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
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
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
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
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
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.
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-
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)) {
> > +
>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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,
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.
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
: `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.
;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
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.
'
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/
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
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
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
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
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
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
-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
] [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.
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
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
:
[CFA33D10] [C000FAA0] .show_stack+0x68/0x1b0 (unreliable)
[CFA33DB0] [C03E78DC] .schedule+0x78/0x128
[CFA33E30] [C0008C40] user_work+0x14/0x2c
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Signed-off-by: Tsutomu Owa <[EM
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
> > >
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
36 matches
Mail list logo