Re: [RFC PATCH 09/10] POWERPC: smp: remove call to ipi_call_lock()/ipi_call_unlock()

2012-06-17 Thread Yong Zhang
On Sat, Jun 16, 2012 at 09:32:19AM -0700, Paul E. McKenney wrote: > On Tue, May 29, 2012 at 03:16:04PM +0800, Yong Zhang wrote: > > From: Yong Zhang > > > > 1) call_function.lock used in smp_call_function_many() is just to protect > >call_function.queue and &

[RFC PATCH 09/10] POWERPC: smp: remove call to ipi_call_lock()/ipi_call_unlock()

2012-05-29 Thread Yong Zhang
From: Yong Zhang 1) call_function.lock used in smp_call_function_many() is just to protect call_function.queue and &data->refs, cpu_online_mask is outside of the lock. And it's not necessary to protect cpu_online_mask, because data->cpumask is pre-calculate and even if

[PATCH 41/49] powerpc/ps3: irq: Remove IRQF_DISABLED

2011-10-22 Thread Yong Zhang
this flag is a NOOP and can be removed. Signed-off-by: Yong Zhang Acked-by: Geoff Levand --- drivers/ps3/ps3-vuart.c |2 +- drivers/ps3/ps3stor_lib.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ps3/ps3-vuart.c b/drivers/ps3/ps3-vuart.c index d9fb729

[PATCH 15/49] powerpc: irq: Remove IRQF_DISABLED

2011-10-22 Thread Yong Zhang
this flag is a NOOP and can be removed. Signed-off-by: Yong Zhang Acked-by: Arnd Bergmann --- arch/powerpc/include/asm/floppy.h |4 ++-- arch/powerpc/include/asm/xics.h|4 ++-- arch/powerpc/kernel/smp.c |2 +- arch/powerpc/platforms/cell

[PATCH 53/55] sound: irq: Remove IRQF_DISABLED

2011-09-22 Thread Yong Zhang
this flag is a NOOP and can be removed. Signed-off-by: Yong Zhang Acked-by: Peter Ujfalusi Acked-by: Mark Brown Acked-by: Takashi Iwai --- include/sound/initval.h|2 +- sound/arm/aaci.c |2 +- sound/arm/pxa2xx-ac97-lib.c|2 +- sound/drivers/ml403

[PATCH 49/55] video: irq: Remove IRQF_DISABLED

2011-09-22 Thread Yong Zhang
this flag is a NOOP and can be removed. Signed-off-by: Yong Zhang Acked-by: David Brown --- drivers/video/au1200fb.c |2 +- drivers/video/bf54x-lq043fb.c |2 +- drivers/video/bfin-lq035q1-fb.c |2 +- drivers/video/bfin-t350mcqb-fb.c |2

[PATCH 48/55] TTY: irq: Remove IRQF_DISABLED

2011-09-22 Thread Yong Zhang
this flag is a NOOP and can be removed. Signed-off-by: Yong Zhang Acked-by: Tobias Klauser --- drivers/tty/amiserial.c |2 +- drivers/tty/cyclades.c |2 +- drivers/tty/hvc/hvc_irq.c|2 +- drivers/tty/hvc/hvcs.c |2 +- drivers/tty

[PATCH 45/55] powerpc/ps3: irq: Remove IRQF_DISABLED

2011-09-22 Thread Yong Zhang
this flag is a NOOP and can be removed. Signed-off-by: Yong Zhang Acked-by: Geoff Levand --- drivers/ps3/ps3-vuart.c |2 +- drivers/ps3/ps3stor_lib.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ps3/ps3-vuart.c b/drivers/ps3/ps3-vuart.c index d9fb729

[PATCH 15/55] powerpc: irq: Remove IRQF_DISABLED

2011-09-22 Thread Yong Zhang
this flag is a NOOP and can be removed. Signed-off-by: Yong Zhang Acked-by: Arnd Bergmann --- arch/powerpc/include/asm/floppy.h |4 ++-- arch/powerpc/include/asm/xics.h|4 ++-- arch/powerpc/kernel/smp.c |2 +- arch/powerpc/platforms/cell

Re: [PATCH 53/57] sound: irq: Remove IRQF_DISABLED

2011-09-21 Thread Yong Zhang
On Wed, Sep 21, 2011 at 11:55:36AM +0200, Thomas Gleixner wrote: > On Wed, 21 Sep 2011, Takashi Iwai wrote: > > > At Wed, 21 Sep 2011 17:28:54 +0800, > > Yong Zhang wrote: > > > > > > Since commit [c58543c8: genirq: Run irq handlers with interrupts > >

Re: [PATCH 53/57] sound: irq: Remove IRQF_DISABLED

2011-09-21 Thread Yong Zhang
On Wed, Sep 21, 2011 at 11:52:00AM +0200, Takashi Iwai wrote: > At Wed, 21 Sep 2011 17:28:54 +0800, > Yong Zhang wrote: > > > > Since commit [c58543c8: genirq: Run irq handlers with interrupts disabled], > > Hm, this id hits a differ

[PATCH 53/57] sound: irq: Remove IRQF_DISABLED

2011-09-21 Thread Yong Zhang
this flag is a NOOP and can be removed. Signed-off-by: Yong Zhang Acked-by: Mark Brown --- include/sound/initval.h|2 +- sound/arm/aaci.c |2 +- sound/arm/pxa2xx-ac97-lib.c|2 +- sound/drivers/ml403-ac97cr.c |4 ++-- sound/drivers/mpu401

[PATCH 49/57] video: irq: Remove IRQF_DISABLED

2011-09-21 Thread Yong Zhang
this flag is a NOOP and can be removed. Signed-off-by: Yong Zhang --- drivers/video/au1200fb.c |2 +- drivers/video/bf54x-lq043fb.c |2 +- drivers/video/bfin-lq035q1-fb.c |2 +- drivers/video/bfin-t350mcqb-fb.c |2 +- drivers/video

[PATCH 48/57] TTY: irq: Remove IRQF_DISABLED

2011-09-21 Thread Yong Zhang
this flag is a NOOP and can be removed. Signed-off-by: Yong Zhang Acked-by: Tobias Klauser --- drivers/tty/amiserial.c |2 +- drivers/tty/cyclades.c |2 +- drivers/tty/hvc/hvc_irq.c|2 +- drivers/tty/hvc/hvcs.c |2 +- drivers/tty

[PATCH 45/57] powerpc/ps3: irq: Remove IRQF_DISABLED

2011-09-21 Thread Yong Zhang
this flag is a NOOP and can be removed. Signed-off-by: Yong Zhang Acked-by: Geoff Levand --- drivers/ps3/ps3-vuart.c |2 +- drivers/ps3/ps3stor_lib.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ps3/ps3-vuart.c b/drivers/ps3/ps3-vuart.c index d9fb729

[PATCH 15/57] powerpc: irq: Remove IRQF_DISABLED

2011-09-21 Thread Yong Zhang
this flag is a NOOP and can be removed. Signed-off-by: Yong Zhang Acked-by: Arnd Bergmann --- arch/powerpc/include/asm/floppy.h |4 ++-- arch/powerpc/include/asm/xics.h|4 ++-- arch/powerpc/kernel/smp.c |2 +- arch/powerpc/platforms/cell

Re: [PATCH 45/62] net: irq: Remove IRQF_DISABLED

2011-09-08 Thread Yong Zhang
On Wed, Sep 07, 2011 at 08:03:14PM +0200, Thomas Gleixner wrote: > On Wed, 7 Sep 2011, David Miller wrote: > > > From: Thomas Gleixner > > Date: Wed, 7 Sep 2011 19:32:39 +0200 (CEST) > > > > > On Wed, 7 Sep 2011, David Miller wrote: > > > > > &g

[PATCH 60/62] sound: irq: Remove IRQF_DISABLED

2011-09-07 Thread Yong Zhang
This flag is a NOOP and can be removed now. Signed-off-by: Yong Zhang --- include/sound/initval.h|2 +- sound/arm/aaci.c |2 +- sound/arm/pxa2xx-ac97-lib.c|2 +- sound/drivers/ml403-ac97cr.c |4 ++-- sound/drivers/mpu401/mpu401.c

[PATCH 56/62] video: irq: Remove IRQF_DISABLED

2011-09-07 Thread Yong Zhang
This flag is a NOOP and can be removed now. Signed-off-by: Yong Zhang --- drivers/video/au1200fb.c |2 +- drivers/video/bf54x-lq043fb.c |2 +- drivers/video/bfin-lq035q1-fb.c |2 +- drivers/video/bfin-t350mcqb-fb.c |2 +- drivers

[PATCH 55/62] USB: irq: Remove IRQF_DISABLED

2011-09-07 Thread Yong Zhang
This flag is a NOOP and can be removed now. Signed-off-by: Yong Zhang --- drivers/usb/core/hcd-pci.c|2 +- drivers/usb/gadget/at91_udc.c |4 ++-- drivers/usb/gadget/fusb300_udc.c |4 ++-- drivers/usb/gadget/imx_udc.c |2 +- drivers/usb/gadget/m66592-udc.c

[PATCH 54/62] TTY: irq: Remove IRQF_DISABLED

2011-09-07 Thread Yong Zhang
This flag is a NOOP and can be removed now. Signed-off-by: Yong Zhang --- drivers/tty/amiserial.c |2 +- drivers/tty/cyclades.c |2 +- drivers/tty/hvc/hvc_irq.c|2 +- drivers/tty/hvc/hvcs.c |2 +- drivers/tty/hvc/hvsi.c

[PATCH 51/62] powerpc/ps3: irq: Remove IRQF_DISABLED

2011-09-07 Thread Yong Zhang
This flag is a NOOP and can be removed now. Signed-off-by: Yong Zhang --- drivers/ps3/ps3-vuart.c |2 +- drivers/ps3/ps3stor_lib.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ps3/ps3-vuart.c b/drivers/ps3/ps3-vuart.c index d9fb729..fb73008 100644

[PATCH 45/62] net: irq: Remove IRQF_DISABLED

2011-09-07 Thread Yong Zhang
This flag is a NOOP and can be removed now. Signed-off-by: Yong Zhang --- drivers/net/bcm63xx_enet.c|4 ++-- drivers/net/bfin_mac.c|4 ++-- drivers/net/davinci_emac.c|2 +- drivers/net/ehea/ehea_main.c |6 +++--- drivers/net/fec.c

[PATCH 17/62] powerpc: irq: Remove IRQF_DISABLED

2011-09-07 Thread Yong Zhang
This flag is a NOOP and can be removed now. Signed-off-by: Yong Zhang --- arch/powerpc/include/asm/floppy.h |4 ++-- arch/powerpc/include/asm/xics.h|4 ++-- arch/powerpc/kernel/smp.c |2 +- arch/powerpc/platforms/cell/beat.c

Re: [BUG?]3.0-rc4+ftrace+kprobe: set kprobe at instruction 'stwu' lead to system crash/freeze

2011-07-03 Thread Yong Zhang
On Fri, Jul 1, 2011 at 6:03 PM, tiejun.chen wrote: >> root@unknown:/root> insmod kprobe_example.ko func=show_interrupts >> Planted kprobe at c009be18 >> root@unknown:/root> cat /proc/interrupts >> pre_handler: p->addr = 0xc009be18, nip = 0xc009be18, msr = 0x29000 >> post_handler: p->addr = 0xc009b

Re: [BUG?]3.0-rc4+ftrace+kprobe: set kprobe at instruction 'stwu' lead to system crash/freeze

2011-06-30 Thread Yong Zhang
On Wed, Jun 29, 2011 at 2:46 PM, Ananth N Mavinakayanahalli wrote: > > Certain functions are off limits for probing -- look for __kprobe Yup. > annotations in the kernel. Some such functions are arch specific, but > show_interrupts() would definitely not be one of them. It works fine on > my (64

Re: [BUG?]3.0-rc4+ftrace+kprobe: set kprobe at instruction 'stwu' lead to system crash/freeze

2011-06-28 Thread Yong Zhang
On Tue, Jun 28, 2011 at 6:41 PM, Ananth N Mavinakayanahalli wrote: > > My access to a 32bit powerpc box is very limited. Also, embedded powerpc > has had issues with gcc-4.6 while gcc-4.5 worked fine. I think I can do some test if you have any ideas :) > >> > > I'm not sure if x86 had a similar

Re: [BUG?]3.0-rc4+ftrace+kprobe: set kprobe at instruction 'stwu' lead to system crash/freeze

2011-06-28 Thread Yong Zhang
On Mon, Jun 27, 2011 at 6:01 PM, Ananth N Mavinakayanahalli wrote: > On Sun, Jun 26, 2011 at 11:47:13PM +0900, Masami Hiramatsu wrote: >> (2011/06/24 19:29), Steven Rostedt wrote: >> > On Fri, 2011-06-24 at 17:21 +0800, Yong Zhang wrote: >> >> Hi, >> >>

Re: BUG with the kernel version 2.6.36-rc1 on power machine

2010-10-25 Thread Yong Zhang
On Mon, Oct 25, 2010 at 09:57:10PM +0800, Yong Zhang wrote: > On Mon, Oct 25, 2010 at 04:32:01PM +0530, divya wrote: > > http://lkml.org/lkml/2010/10/13/67 resolves the issue. > > > > But this is not a part of 2.6.36-git6 , when will it be pulled into the > > upstream?

Re: BUG with the kernel version 2.6.36-rc1 on power machine

2010-10-25 Thread Yong Zhang
On Mon, Oct 25, 2010 at 04:32:01PM +0530, divya wrote: > http://lkml.org/lkml/2010/10/13/67 resolves the issue. > > But this is not a part of 2.6.36-git6 , when will it be pulled into the > upstream? That patch is splited into two parts. The lockdep one is 4ba053c04aece1f4734056f21b751eee47ea3fb

Re: BUG with the kernel version 2.6.36-rc1 on power machine

2010-10-23 Thread Yong Zhang
On Sat, Oct 23, 2010 at 12:43:21AM +0530, Subrata Modak wrote: > This is equally seen for both Power6 and Power7 machines. Seems resolved by part of http://lkml.org/lkml/2010/10/13/67 Thanks, Yong > > Regards-- > Subrata > > On Sat, 2010-10-23 at 00:37 +0530, Subrata Modak wrote: > > > > > >

[PATCH 1/5] powerpc/iseries: use DECLARE_COMPLETION_ONSTACK for non-constant completion

2009-12-16 Thread Yong Zhang
The _ONSTACK variant should be used for on-stack completion, otherwise it will break lockdep. Signed-off-by: Yong Zhang Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-...@ozlabs.org --- arch/powerpc/platforms/iseries/viopath.c |2 +- 1 files changed, 1 insertions(+), 1