Re: [PATCH] ATA: Add FSL sata v2 controller support

2011-01-17 Thread Sergei Shtylyov
Hello. On 17-01-2011 10:10, Xulei wrote: In FSL sata v2 block, the snoop bit of PRDT Word3 description information is at bit28 instead of bit22. This patch adds FSL sata v2 probe and resolve this difference. Signed-off-by: Xulei AFAIK, full name is required. Signed-off-by: Roy Zan

[PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-01-17 Thread Peter Zijlstra
For future rework of try_to_wake_up() we'd like to push part of that onto the CPU the task is actually going to run on, in order to do so we need a generic callback from the existing scheduler IPI. This patch introduces such a generic callback: scheduler_ipi() and implements it as a NOP. I visite

Re: [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-01-17 Thread Peter Zijlstra
On Mon, 2011-01-17 at 11:26 +, Russell King - ARM Linux wrote: > On Mon, Jan 17, 2011 at 12:07:13PM +0100, Peter Zijlstra wrote: > > diff --git a/arch/alpha/kernel/smp.c b/arch/alpha/kernel/smp.c > > index 42aa078..c4a570b 100644 > > --- a/arch/alpha/kernel/smp.c > > +++ b/arch/alpha/kernel/smp

Re: [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-01-17 Thread Peter Zijlstra
On Mon, 2011-01-17 at 12:31 +0100, Peter Zijlstra wrote: > On Mon, 2011-01-17 at 11:26 +, Russell King - ARM Linux wrote: > > Maybe remove the comment "everything is done on the interrupt return path" > > as with this function call, that is no longer the case. (Removed am33, m32r-ka, m32r, ar

Re: [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-01-17 Thread Russell King - ARM Linux
On Mon, Jan 17, 2011 at 12:07:13PM +0100, Peter Zijlstra wrote: > diff --git a/arch/alpha/kernel/smp.c b/arch/alpha/kernel/smp.c > index 42aa078..c4a570b 100644 > --- a/arch/alpha/kernel/smp.c > +++ b/arch/alpha/kernel/smp.c > @@ -587,6 +587,7 @@ handle_ipi(struct pt_regs *regs) > cas

RE: [PATCH] ATA: Add FSL sata v2 controller support

2011-01-17 Thread Aggrwal Poonam-B10812
> -Original Message- > From: linuxppc-dev-bounces+poonam.aggrwal=freescale@lists.ozlabs.org > [mailto:linuxppc-dev- > bounces+poonam.aggrwal=freescale@lists.ozlabs.org] On Behalf Of > Sergei Shtylyov > Sent: Monday, January 17, 2011 5:18 PM > To: Xu Lei-B33228 > Cc: jgar...@pobox.

Re: [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-01-17 Thread Russell King - ARM Linux
On Mon, Jan 17, 2011 at 12:41:49PM +0100, Peter Zijlstra wrote: > === > --- linux-2.6.orig/arch/arm/kernel/smp.c > +++ linux-2.6/arch/arm/kernel/smp.c > @@ -575,10 +575,7 @@ asmlinkage void __exception do_IPI(struc >

Re: [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-01-17 Thread Martin Schwidefsky
On Mon, 17 Jan 2011 12:07:13 +0100 Peter Zijlstra wrote: > I visited existing smp_send_reschedule() implementations and tried to > add a call to scheduler_ipi() in their handler part, but esp. for MIPS > I'm not quite sure I actually got all of them. > > diff --git a/arch/s390/kernel/smp.c b/ar

Re: [PATCH] ATA: Add FSL sata v2 controller support

2011-01-17 Thread Kumar Gala
On Jan 17, 2011, at 5:58 AM, Aggrwal Poonam-B10812 wrote: > > >> -Original Message- >> From: linuxppc-dev-bounces+poonam.aggrwal=freescale@lists.ozlabs.org >> [mailto:linuxppc-dev- >> bounces+poonam.aggrwal=freescale@lists.ozlabs.org] On Behalf Of >> Sergei Shtylyov >> Sent: Mon

Re: [PATCH 5/7] powerpc: add the mpic timer support

2011-01-17 Thread Jean-Michel Hautbois
Hi, I am interested by this implementation. > +static ssize_t mpic_tm_timeout_store(struct device *dev, > +                               struct device_attribute *attr, > +                               const char *buf, size_t count) > +{ > + > +       spin_lock_irq(&priv->lock); > + > +      

[PATCH v2] ppc: update dynamic dma support

2011-01-17 Thread Nishanth Aravamudan
On 07.01.2011 [18:53:34 -0800], Nishanth Aravamudan wrote: > On 10.12.2010 [16:07:44 -0800], Nishanth Aravamudan wrote: > > On 09.12.2010 [11:09:20 -0800], Nishanth Aravamudan wrote: > > > On 26.10.2010 [20:35:17 -0700], Nishanth Aravamudan wrote: > > > > If firmware allows us to map all of a parti

Re: [PATCH] powerpc: perf: Fix frequency calculation for overflowing counters

2011-01-17 Thread Scott Wood
On Mon, 17 Jan 2011 16:17:42 +1100 Anton Blanchard wrote: > > When profiling a benchmark that is almost 100% userspace, I noticed some > wildly inaccurate profiles that showed almost all time spent in the kernel. > Closer examination shows we were programming a tiny number of cycles into > the P

Re: [PATCH] powerpc: perf: Fix frequency calculation for overflowing counters

2011-01-17 Thread Peter Zijlstra
On Mon, 2011-01-17 at 11:32 -0600, Scott Wood wrote: > > diff --git a/arch/powerpc/kernel/perf_event.c > > b/arch/powerpc/kernel/perf_event.c > > index 5674807..ab6f6be 100644 > > --- a/arch/powerpc/kernel/perf_event.c > > +++ b/arch/powerpc/kernel/perf_event.c > > @@ -1212,6 +1212,7 @@ static voi

Re: [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-01-17 Thread Chris Metcalf
On 1/17/2011 6:41 AM, Peter Zijlstra wrote: > Index: linux-2.6/arch/tile/kernel/smp.c > === > --- linux-2.6.orig/arch/tile/kernel/smp.c > +++ linux-2.6/arch/tile/kernel/smp.c > @@ -184,12 +184,8 @@ void flush_icache_range(unsigned long

Re: [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-01-17 Thread Jesper Nilsson
On Mon, Jan 17, 2011 at 12:41:49PM +0100, Peter Zijlstra wrote: > Index: linux-2.6/arch/cris/arch-v32/kernel/smp.c > === > --- linux-2.6.orig/arch/cris/arch-v32/kernel/smp.c > +++ linux-2.6/arch/cris/arch-v32/kernel/smp.c > @@ -340,15

[PATCH] powerpc/fsl_msi: Handle msi-available-ranges better

2011-01-17 Thread Scott Wood
Now handles multiple ranges, doesn't make assumptions about interrupt specifier format, and doesn't claim interrupts that don't correspond to an available range. Also has some better error checking. The device tree binding is updated to clarify some existing assumptions. Signed-off-by: Scott Woo

Re: [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-01-17 Thread David Daney
On 01/17/2011 03:07 AM, Peter Zijlstra wrote: For future rework of try_to_wake_up() we'd like to push part of that onto the CPU the task is actually going to run on, in order to do so we need a generic callback from the existing scheduler IPI. This patch introduces such a generic callback: sched

Re: [uclinux-dist-devel] [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-01-17 Thread Mike Frysinger
On Mon, Jan 17, 2011 at 06:07, Peter Zijlstra wrote: > Also, while reading through all this, I noticed the blackfin SMP code > looks to be broken, it simply discards any IPI when low on memory. not really. see changelog of commit 73a400646b8e26615f3ef1a0a4bc0cd0d5bd284c. -mike ___

Re: [uclinux-dist-devel] [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-01-17 Thread Peter Zijlstra
On Mon, 2011-01-17 at 14:49 -0500, Mike Frysinger wrote: > On Mon, Jan 17, 2011 at 06:07, Peter Zijlstra wrote: > > Also, while reading through all this, I noticed the blackfin SMP code > > looks to be broken, it simply discards any IPI when low on memory. > > not really. see changelog of commit

Re: [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-01-17 Thread Benjamin Herrenschmidt
On Mon, 2011-01-17 at 12:07 +0100, Peter Zijlstra wrote: > For future rework of try_to_wake_up() we'd like to push part of that > onto the CPU the task is actually going to run on, in order to do so we > need a generic callback from the existing scheduler IPI. > > This patch introduces such a gene

Re: [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-01-17 Thread Peter Zijlstra
On Tue, 2011-01-18 at 07:31 +1100, Benjamin Herrenschmidt wrote: > > Beware of false positive, I've used "fake" reschedule IPIs in the past > for other things (like kicking a CPU out of sleep state for unrelated > reasons). Nothing that I know that is upstream today but some of that > might come b

[PATCH] watchdog: booke_wdt: clean up status messages

2011-01-17 Thread Timur Tabi
Improve the status messages that are displayed during some operations of the PowerPC watchdog timer driver. When the watchdog is enabled, the timeout is displayed as a number of seconds, instead of an obscure "period". The "period" is the position of a bit in a 64-bit timer register. The higher

[PATCH] watchdog: booke_wdt: clean up status messages

2011-01-17 Thread Timur Tabi
Improve the status messages that are displayed during some operations of the PowerPC watchdog timer driver. When the watchdog is enabled, the timeout is displayed as a number of seconds, instead of an obscure "period". The "period" is the position of a bit in a 64-bit timer register. The higher

[PATCH] powerpc/mpic: fix mask/unmask timeout message

2011-01-17 Thread Scott Wood
Don't say that enable timed out when it was disable, and show which IRQ had the problem. Signed-off-by: Scott Wood --- arch/powerpc/sysdev/mpic.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/sysdev/mpic.c b/arch/powerpc/sysdev/mpic.c index 7c13426..b

[PATCH] define binding for fsl mpic interrupt controllers

2011-01-17 Thread Stuart yoder
From: Stuart Yoder define the binding for compatible = "fsl,mpic", including the definition of 4-cell interrupt specifiers. The 3rd and 4th cells are needed to define additional types of interrupt source outside the "normal" external and internal interrupts in FSL SoCs. Define error interrupt,

[PATCH v3] ppc: update dynamic dma support

2011-01-17 Thread Nishanth Aravamudan
On 17.01.2011 [09:32:10 -0800], Nishanth Aravamudan wrote: > On 07.01.2011 [18:53:34 -0800], Nishanth Aravamudan wrote: > > On 10.12.2010 [16:07:44 -0800], Nishanth Aravamudan wrote: > > > On 09.12.2010 [11:09:20 -0800], Nishanth Aravamudan wrote: > > > > On 26.10.2010 [20:35:17 -0700], Nishanth Ar

[PATCH 0/2]: powerpc: MPIC binding and 'no-reset' implementation

2011-01-17 Thread Meador Inge
This patch set provides a binding for the MPIC and implements support for a new property, specified by that binding, called 'no-reset'. Signed-off-by: Meador Inge CC: Hollis Blanchard ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https:

[PATCH 1/2] powerpc: document the MPIC device tree binding

2011-01-17 Thread Meador Inge
This binding documents several properties that have been in use for quite some time, and adds one new property 'no-reset', which controls whether the MPIC should be reset during runtime initialization. Signed-off-by: Meador Inge CC: Hollis Blanchard --- Documentation/powerpc/dts-bindings/mpi

[PATCH 2/2] powerpc: make MPIC honor the 'no-reset' device tree property

2011-01-17 Thread Meador Inge
This property, defined in the MPIC binding, tells the kernel not to use the reset bit in the global configuration register. Signed-off-by: Meador Inge CC: Hollis Blanchard --- arch/powerpc/sysdev/mpic.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/s

Re: [PATCH] define binding for fsl mpic interrupt controllers

2011-01-17 Thread Meador Inge
Hi Stuart, From: Stuart Yoder define the binding for compatible = "fsl,mpic", including the definition of 4-cell interrupt specifiers. The 3rd and 4th cells are needed to define additional types of interrupt source outside the "normal" external and internal interrupts in FSL SoCs. Define erro

2.6.37-git17 virtual IO boot failure

2011-01-17 Thread Anton Blanchard
Hi, I was testing 2.6.37-git17 on a POWER7 with virtual IO and hit this: Trying to unpack rootfs image as initramfs... Freeing initrd memory: 7446k freed vio 3000: Warning: IOMMU dma not supported: mask 0x, table unavailable vio 4000: Warning: IOMMU dma not supported: mask 0xf

RE: [PATCH] ATA: Add FSL sata v2 controller support

2011-01-17 Thread Zang Roy-R61911
> -Original Message- > From: Sergei Shtylyov [mailto:sshtyl...@mvista.com] > Sent: Monday, January 17, 2011 19:48 PM > To: Xu Lei-B33228 > Cc: linuxppc-dev@lists.ozlabs.org; Gala Kumar-B11780; jgar...@pobox.com; > linux-...@vger.kernel.org; Zang Roy-R61911 > Subject: Re: [PATCH] ATA: Add

Re: Gianfar TCP checksumming broken in 2.6.35+

2011-01-17 Thread Alex Dubov
It appears that I'm hitting an exactly the same problem with my MPC8548 rev2.0 (errata number eTSEC 49). Considering that it's close to 3 month now since this most unfortunate bug was reported, was there any resolution/patch that can fix it for good? _