Re: linux-next: tree build failure

2009-09-29 Thread Jan Beulich
>>> Hollis Blanchard 30.09.09 01:39 >>> >On Tue, 2009-09-29 at 10:28 +0100, Jan Beulich wrote: >> >>> Hollis Blanchard 09/29/09 2:00 AM >>> >> >First, I think there is a real bug here, and the code should read like >> >this (to match the comment): >> >/* type has to be known at build time for

Re: linux-next: tree build failure

2009-09-29 Thread Jan Beulich
>>> roel kluin 29.09.09 11:51 >>> >On Tue, Sep 29, 2009 at 11:28 AM, Jan Beulich wrote: > Hollis Blanchard 09/29/09 2:00 AM >>> >>>First, I think there is a real bug here, and the code should read like >>>this (to match the comment): >>>/* type has to be known at build time for optimizat

Re: 64bit kernel is huge

2009-09-29 Thread Michael Neuling
> # size vmlinux >text data bss dec hex filename > 9812942 1982496 1105228 12900666 c4d93a vmlinux ... over kernel releases with pseries_defconfig: text databss dec hex 2.6.32-rc1 9872090 1971184 1105236 12948

Re: [PATCH] powerpc/5200: add LocalPlus bus FIFO device driver

2009-09-29 Thread Grant Likely
On Tue, Sep 29, 2009 at 2:43 PM, John Bonesio wrote: > This is a driver for the FIFO device on the LocalPlus bus on an mpc5200 > system. > The driver supports programmed I/O through the FIFO as well as setting up DMA > via the BestComm engine through the FIFO. > > Signed-off-by: Grant Likely > S

Re: linux-next: tree build failure

2009-09-29 Thread Hollis Blanchard
On Tue, 2009-09-29 at 10:28 +0100, Jan Beulich wrote: > >>> Hollis Blanchard 09/29/09 2:00 AM >>> > >First, I think there is a real bug here, and the code should read like > >this (to match the comment): > >/* type has to be known at build time for optimization */ > >-BUILD_BUG_ON(__builti

[PATCH] powerpc/5200: add LocalPlus bus FIFO device driver

2009-09-29 Thread John Bonesio
This is a driver for the FIFO device on the LocalPlus bus on an mpc5200 system. The driver supports programmed I/O through the FIFO as well as setting up DMA via the BestComm engine through the FIFO. Signed-off-by: Grant Likely Signed-off-by: John Bonesio --- This driver was originally written b

Re: [PATCH] powerpc/8xx: fix regression introduced by cache coherency rewrite

2009-09-29 Thread Rex Feany
Thus spake Benjamin Herrenschmidt (b...@kernel.crashing.org): > On Mon, 2009-09-28 at 18:21 -0700, Rex Feany wrote: > > > It's going to be hard for me to get that "right" since I don't really > > > know what's going on with the core here, but I suppose if we get it > > > moving along with extra tl

Re: [PATCH] powerpc/8xx: fix regression introduced by cache coherency rewrite

2009-09-29 Thread Rex Feany
Thus spake Joakim Tjernlund (joakim.tjernl...@transmode.se): > Benjamin Herrenschmidt wrote on 29/09/2009 > 10:16:38: > > > > > > > hmm, yes. You do get this and mysterious SEGV if you hit the but so does > > > other bugs too so this is probably due to missing invalidation. > > > > > > I suspect

Re: [PATCH] powerpc: warning: allocated section `.data_nosave' not in segment

2009-09-29 Thread Segher Boessenkool
We need to align before the output section. Having the align inside the output section causes the linker to put some filler in there, which makes it a non-empty section, but this section isn't assigned to a segment so you get a warning from the linker. Signed-off-by: Sean MacLennan --- diff --gi

[PATCH] powerpc: warning: allocated section `.data_nosave' not in segment

2009-09-29 Thread Sean MacLennan
We need to align before the output section. Having the align inside the output section causes the linker to put some filler in there, which makes it a non-empty section, but this section isn't assigned to a segment so you get a warning from the linker. Signed-off-by: Sean MacLennan --- diff --git

RE: [PATCH v4] xilinx_spi: Splitted into generic, of and platform driver, added support for DS570

2009-09-29 Thread John Linn
> -Original Message- > From: Richard Röjfors [mailto:richard.rojf...@mocean-labs.com] > Sent: Tuesday, September 29, 2009 12:35 AM > To: John Linn > Cc: spi-devel-gene...@lists.sourceforge.net; linuxppc-...@ozlabs.org; > dbrown...@users.sourceforge.net; Andrew Morton > Subject: Re: [PATCH v

[PATCH 1/1] powerpc: Add kdump support to Collaborative Memory Manager

2009-09-29 Thread Brian King
When running Active Memory Sharing, the Collaborative Memory Manager (CMM) may mark some pages as "loaned" with the hypervisor. Periodically, the CMM will query the hypervisor for a loan request, which is a single signed value. When kexec'ing into a kdump kernel, the CMM driver in the kdump kernel

Re: [PATCH] powerpc/8xx: fix regression introduced by cache coherency rewrite

2009-09-29 Thread Joakim Tjernlund
Benjamin Herrenschmidt wrote on 29/09/2009 10:16:38: > > > > hmm, yes. You do get this and mysterious SEGV if you hit the but so does > > other bugs too so this is probably due to missing invalidation. > > > > I suspect that something like below will fix the problem and > > is the "correct" fix(un

Re: linux-next: tree build failure

2009-09-29 Thread roel kluin
On Tue, Sep 29, 2009 at 11:28 AM, Jan Beulich wrote: Hollis Blanchard  09/29/09 2:00 AM >>> >>First, I think there is a real bug here, and the code should read like >>this (to match the comment): >>    /* type has to be known at build time for optimization */ >>-    BUILD_BUG_ON(__builtin_con

Re: linux-next: tree build failure

2009-09-29 Thread Jan Beulich
>>> Hollis Blanchard 09/29/09 2:00 AM >>> >First, I think there is a real bug here, and the code should read like >this (to match the comment): >/* type has to be known at build time for optimization */ >-BUILD_BUG_ON(__builtin_constant_p(type)); >+BUILD_BUG_ON(!__builtin_constant_p(ty

Re: [PATCH] powerpc/8xx: fix regression introduced by cache coherency rewrite

2009-09-29 Thread Joakim Tjernlund
Benjamin Herrenschmidt wrote on 29/09/2009 10:16:38: > > > > hmm, yes. You do get this and mysterious SEGV if you hit the but so does > > other bugs too so this is probably due to missing invalidation. > > > > I suspect that something like below will fix the problem and > > is the "correct" fix(un

Re: [PATCH] powerpc/8xx: fix regression introduced by cache coherency rewrite

2009-09-29 Thread Benjamin Herrenschmidt
> hmm, yes. You do get this and mysterious SEGV if you hit the but so does > other bugs too so this is probably due to missing invalidation. > > I suspect that something like below will fix the problem and > is the "correct" fix(untested, not even compiled): Ok but do we also still have to worry

Re: [PATCH] powerpc/8xx: fix regression introduced by cache coherency rewrite

2009-09-29 Thread Joakim Tjernlund
Benjamin Herrenschmidt wrote on 29/09/2009 09:07:37: > > On Tue, 2009-09-29 at 08:26 +0200, Joakim Tjernlund wrote: > > > I've tried sticking tlbil_va() in those places, nothing seems to > > help. > > > In some cases userspace is slow, in other cases userspace is faster > > and > > > unstable: som

Re: [PATCH] powerpc/8xx: fix regression introduced by cache coherency rewrite

2009-09-29 Thread Benjamin Herrenschmidt
On Tue, 2009-09-29 at 08:26 +0200, Joakim Tjernlund wrote: > > I've tried sticking tlbil_va() in those places, nothing seems to > help. > > In some cases userspace is slow, in other cases userspace is faster > and > > unstable: sometimes commands hang, sometimes I am able to ctrl-c and > > and kill

Re: [PATCH] powerpc/8xx: fix regression introduced by cache coherency rewrite

2009-09-29 Thread Benjamin Herrenschmidt
On Mon, 2009-09-28 at 18:21 -0700, Rex Feany wrote: > > It's going to be hard for me to get that "right" since I don't really > > know what's going on with the core here, but I suppose if we get it > > moving along with extra tlb invalidations, that should be "good enough" > > until somebody who re