Re: [PATCH]: powerpc: Fix build breakage due to incorrect location of autoconf.h

2010-01-13 Thread Joakim Tjernlund
Benjamin Herrenschmidt wrote on 13/01/2010 21:02:43: > > On Wed, 2010-01-13 at 12:54 -0600, Kumar Gala wrote: > > > > > > > BOOTCFLAGS += -I$(obj) -I$(srctree)/$(obj) > > > -BOOTCFLAGS += -include include/linux/autoconf.h -Iarch/powerpc/include > > > -BOOTCFLAGS += -Iinclude > > > +BOOTCFLAG

Inclusion of 85xx cache-sram patch series

2010-01-13 Thread Mahajan Vivek-B08308
Any plans to include this patch series at http://lists.ozlabs.org/pipermail/linuxppc-dev/2009-December/078693.html into your 'next' branch or there are some outstanding issues with this. Thanks, Vivek ___ Linuxppc-dev mailing list Linuxppc-dev@lists.oz

Re: [PATCH] powerpc/4xx: Add support for type 1 pci transactions on 4xx boards

2010-01-13 Thread Benjamin Herrenschmidt
On Wed, 2010-01-13 at 10:18 +1100, Benjamin Herrenschmidt wrote: > On Tue, 2010-01-12 at 15:09 +0100, Stef van Os wrote: > > This patch adds type 1 PCI transactions to 4xx PCI code, enabling the > > discovery of > > devices behind a PCI bridge. > > Your patch appears word wrapped and whitespace da

Re: [PATCH] Wire up recvmmsg syscall

2010-01-13 Thread Benjamin Herrenschmidt
On Thu, 2010-01-14 at 15:11 +1100, Benjamin Herrenschmidt wrote: > Signed-off-by: Benjamin Herrenschmidt > --- > arch/powerpc/include/asm/systbl.h |2 ++ > arch/powerpc/include/asm/unistd.h |3 ++- > 2 files changed, 4 insertions(+), 1 deletions(-) > > diff --git a/arch/powerpc/include/a

[PATCH] Wire up recvmmsg syscall

2010-01-13 Thread Benjamin Herrenschmidt
Signed-off-by: Benjamin Herrenschmidt --- arch/powerpc/include/asm/systbl.h |2 ++ arch/powerpc/include/asm/unistd.h |3 ++- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/include/asm/systbl.h b/arch/powerpc/include/asm/systbl.h index 07d2d19..0e92c23 100644

Re: xilinx-pci driver and pci in general

2010-01-13 Thread Benjamin Herrenschmidt
On Wed, 2010-01-13 at 16:23 +0100, Michal Simek wrote: > The main problems are: > ppc use ppc_md struct which we don't have it on Microblaze. > xilinx-pci driver uses exclude_device function. This function is used in > indirect_pci.c too. There could be a way to move that function directly > to

Re: [RFC/PATCH] powerpc: Dynamically allocate pacas

2010-01-13 Thread Michael Ellerman
On Thu, 2010-01-14 at 11:26 +1100, Michael Neuling wrote: > > On 64-bit kernels we currently have a 512 byte struct paca_struct for > > each cpu (usually just called "the paca"). Currently they are statically > > allocated, which means a kernel built for a large number of cpus will > > waste a lot

Re: [RFC/PATCH] powerpc: Dynamically allocate pacas

2010-01-13 Thread Michael Neuling
> On 64-bit kernels we currently have a 512 byte struct paca_struct for > each cpu (usually just called "the paca"). Currently they are statically > allocated, which means a kernel built for a large number of cpus will > waste a lot of space if it's booted on a machine with few cpus. > > We can av

[PATCH] powerpc: Replace per_cpu(, smp_processor_id()) with __get_cpu_var()

2010-01-13 Thread Anton Blanchard
The cputime code has a few places that do per_cpu(, smp_processor_id()). Replace them with __get_cpu_var(). Signed-off-by: Anton Blanchard --- Index: linux-cpumask/arch/powerpc/include/asm/cputime.h === --- linux-cpumask.orig/arch/

Re: [PATCH]: powerpc: Fix build breakage due to incorrect location of autoconf.h

2010-01-13 Thread Benjamin Herrenschmidt
On Wed, 2010-01-13 at 12:54 -0600, Kumar Gala wrote: > > > > BOOTCFLAGS += -I$(obj) -I$(srctree)/$(obj) > > -BOOTCFLAGS += -include include/linux/autoconf.h -Iarch/powerpc/include > > -BOOTCFLAGS += -Iinclude > > +BOOTCFLAGS += -include include/generated/autoconf.h > > +BOOTCFLAGS += -I$(srctree

Re: [PATCH]: powerpc: Fix build breakage due to incorrect location of autoconf.h

2010-01-13 Thread Kumar Gala
On Jan 12, 2010, at 5:59 AM, Joakim Tjernlund wrote: >> >> Hi Anton, >> >> On Tue, 12 Jan 2010 13:21:51 +1100 Anton Blanchard wrote: >>> >>> commit ac4c2a3bbe5db5fc570b1d0ee1e474db7cb22585 (zlib: optimize inffast when >>> copying direct from output) referenced include/linux/autoconf.h which >

xilinx-pci driver and pci in general

2010-01-13 Thread Michal Simek
Hi guys, We (John and partially I) did initial support for pci on Microblaze. It is based on powerpc files and almost everything is the same. There are some small differences which could be easily removed that's why I think that will be good to move that file to any generic location. That's why

Re: [PATCH 1/1] powerpc/iseries: Initialise on-stack completion

2010-01-13 Thread Stephen Rothwell
Hi Michael, On Wed, 13 Jan 2010 18:10:56 +1100 (EST) Michael Ellerman wrote: > > get_viotape_info() declares a vio_waitevent on the stack, which > contains a completion, but never initialises the completion. > > I have no idea how this ever worked, and on recent kernels it causes > an oops in h

Re: [PATCH] of/flattree: use callback to setup initrd from /chosen

2010-01-13 Thread Michael Ellerman
On Tue, 2010-01-12 at 23:43 -0700, Grant Likely wrote: > On Tue, Dec 22, 2009 at 6:17 AM, Michael Ellerman > wrote: > > On Tue, 2009-12-22 at 18:54 +0800, Jeremy Kerr wrote: > >> Hi Michael, > >> > >> > > void early_init_dt_setup_initrd_arch(unsigned long start, > >> > >