Re: [RFC/PATCH 2/2] powerpc: irqtrace support to 64-bit powerpc

2007-10-22 Thread Johannes Berg
On Mon, 2007-10-15 at 17:28 +1000, Benjamin Herrenschmidt wrote: This adds the low level irq tracing hooks to the powerpc architecture needed to enable full lockdep functionality Some rework from Johannes initial version, removing the asm trampoline that isn't needed (thus improving perfs)

Re: [RFC/PATCH 2/2] powerpc: irqtrace support to 64-bit powerpc

2007-10-22 Thread Benjamin Herrenschmidt
On Mon, 2007-10-22 at 15:35 +0200, Johannes Berg wrote: On Mon, 2007-10-15 at 17:28 +1000, Benjamin Herrenschmidt wrote: This adds the low level irq tracing hooks to the powerpc architecture needed to enable full lockdep functionality Some rework from Johannes initial version, removing

[RFC/PATCH 2/2] powerpc: irqtrace support to 64-bit powerpc

2007-10-15 Thread Benjamin Herrenschmidt
This adds the low level irq tracing hooks to the powerpc architecture needed to enable full lockdep functionality Some rework from Johannes initial version, removing the asm trampoline that isn't needed (thus improving perfs) and fixing a couple of bugs such as incorrect initial preempt_count on

Re: [RFC/PATCH 2/2] powerpc: irqtrace support to 64-bit powerpc

2007-10-15 Thread Johannes Berg
On Mon, 2007-10-15 at 17:28 +1000, Benjamin Herrenschmidt wrote: This adds the low level irq tracing hooks to the powerpc architecture needed to enable full lockdep functionality Some rework from Johannes initial version, removing the asm trampoline that isn't needed (thus improving perfs)

Re: [RFC/PATCH 2/2] powerpc: irqtrace support to 64-bit powerpc

2007-10-15 Thread Benjamin Herrenschmidt
--- linux-work.orig/include/asm-powerpc/irqflags.h 2007-10-15 17:10:12.0 +1000 +++ linux-work/include/asm-powerpc/irqflags.h 2007-10-15 17:11:09.0 +1000 /* - * Do the CPU's IRQ-state tracing from assembly code. We call a - * C function, so save all the