[PATCH 1/1] SPI: dw_spi, fix PPC build

2011-03-18 Thread Jiri Slaby
Currently, build on PPC dies with: In file included from drivers/spi/dw_spi_mmio.c:16: include/linux/spi/dw_spi.h:147: error: field ‘tx_sgl’ has incomplete type include/linux/spi/dw_spi.h:149: error: field ‘rx_sgl’ has incomplete type Add linux/scatterlist.h include to dw_spi.h, because we need

Re: [PATCH 1/4] powerpc/mpc512x: Add initial support for TWR-MPC5125

2011-03-18 Thread vooon...@gmail.com
Hi Wolfram. I create function for select compat string and give name for registers. commit fe8895542d537567f43f99af8234e7326451197e Author: Ermakov Vladimir erma...@tecon.ru Date: Thu Mar 17 11:10:49 2011 +0300 Adds Freescale TWR-MPC5125 device tree and platform code. Currently

Re: [PATCH 1/4] powerpc/mpc512x: Add initial support for TWR-MPC5125

2011-03-18 Thread Wolfram Sang
On Fri, Mar 18, 2011 at 02:35:24PM +0300, vooon...@gmail.com wrote: diff --git a/arch/powerpc/platforms/512x/clock.c b/arch/powerpc/platforms/512x/clock.c index 3dc2a8d..5cadf8e 100644 --- a/arch/powerpc/platforms/512x/clock.c +++ b/arch/powerpc/platforms/512x/clock.c @@ -606,6 +606,21 @@

Re: [PATCH 2/4] serial: Add initial support for TWR-MPC5125

2011-03-18 Thread Wolfram Sang
On Thu, Mar 17, 2011 at 02:33:47AM +0300, Vladimir Ermakov wrote: Adds PSC UART support for MPC5125 SoC. Please resend the patches and make use of scripts/get_maintainer.pl somehow. There are a lot of mailing lists and people missing in the CC. If you haven't done yet, please also read

Re: [git pull] Please pull powerpc.git next branch

2011-03-18 Thread Linus Torvalds
On Thu, Mar 17, 2011 at 10:44 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: Here are the changes for this merge window for powerpc. One highlight is irq data conversion so we can get rid of the legacy stuff. The new Dynamic DMA windows for pSeries should also improve performances

i2c on P2020 based boards faulty prescale selection

2011-03-18 Thread Elie De Brauwer
Hello list, A whole bunch of dts file such a p2020ds.dts, p2020rdb.dts and probably lots of other variants as well (haven't checked the manuals of the others). Claim their i2c controller to be 'fsl-i2c' If you then look in i2c/busses/i2c.mpc.c this will end up calling mpc_i2c_setup_8xxx()

Re: [PATCH 1/4, v3] powerpc/mpc512x: Add initial support for TWR-MPC5125

2011-03-18 Thread vooon...@gmail.com
commit 3b94215206569d5c2bad20397cebfa9570c921bc Author: Ermakov Vladimir erma...@tecon.ru Date: Thu Mar 17 11:10:49 2011 +0300 Adds Freescale TWR-MPC5125 device tree and platform code. Currently following is supported: - NAND - FEC1 and FEC2 - RTC - PSC UART

Re: [PATCH 1/1] SPI: dw_spi, fix PPC build

2011-03-18 Thread Grant Likely
On Fri, Mar 18, 2011 at 10:41:17AM +0100, Jiri Slaby wrote: Currently, build on PPC dies with: In file included from drivers/spi/dw_spi_mmio.c:16: include/linux/spi/dw_spi.h:147: error: field ‘tx_sgl’ has incomplete type include/linux/spi/dw_spi.h:149: error: field ‘rx_sgl’ has incomplete type

Re: any chance to use a modern linux kernel on Pegasos1 G3 ?

2011-03-18 Thread Gerhard Pircher
Original-Nachricht Datum: Thu, 17 Mar 2011 00:39:00 +0100 Von: nello martuscielli ppc.ad...@gmail.com An: Gerhard Pircher gerhard_pirc...@gmx.net CC: acrux...@libero.it, linuxppc-dev@lists.ozlabs.org Betreff: Re: any chance to use a modern linux kernel on Pegasos1 G3 ? hi

[PATCH -mm] RapidIO,powerpc/85xx: Fix configuration option

2011-03-18 Thread Alexandre Bounine
Follows set of patches in -mm tree. Replaces configuration option missed in previous patches. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com --- arch/powerpc/kernel/cpu_setup_fsl_booke.S |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [PATCH 2/4] serial: Add initial support for TWR-MPC5125

2011-03-18 Thread Wolfram Sang
On Fri, Mar 18, 2011 at 01:56:41PM +0100, Wolfram Sang wrote: On Thu, Mar 17, 2011 at 02:33:47AM +0300, Vladimir Ermakov wrote: Adds PSC UART support for MPC5125 SoC. Please resend the patches and make use of scripts/get_maintainer.pl I guess you noticed by now, just to make sure: This

Re: [RFC][PATCH v3 10/22] mm, powerpc: add gfp flags variant of pud, pte, and pte allocations

2011-03-18 Thread Prasad Joshi
changes for 32 bit architecture - Added __pte_alloc_one_kernel() to allocated zeroed page using allocation flag passed as an argument. If the slab allocator is not initialized the allocation flag is not passed down the call hierarchy. i.e. the call to early_get_page() is not modified.

Re: [PATCH -mm] RapidIO,powerpc/85xx: Fix configuration option

2011-03-18 Thread Kumar Gala
On Mar 18, 2011, at 12:18 PM, Alexandre Bounine wrote: Follows set of patches in -mm tree. Replaces configuration option missed in previous patches. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com --- arch/powerpc/kernel/cpu_setup_fsl_booke.S |2 +- 1 files changed, 1

RE: [PATCH -mm] RapidIO,powerpc/85xx: Fix configuration option

2011-03-18 Thread Bounine, Alexandre
This patch has to be applied to -mm tree. Andrew already has set of patches that change RapidIO configuration. I think it will be better if it goes into -mm to keep things aligned properly. Alex. -Original Message- From: Kumar Gala [mailto:ga...@kernel.crashing.org] Sent: Friday, March

Re: [git pull] Please pull powerpc.git next branch

2011-03-18 Thread Benjamin Herrenschmidt
On Fri, 2011-03-18 at 06:34 -0700, Linus Torvalds wrote: Here are the changes for this merge window for powerpc. One highlight is irq data conversion so we can get rid of the legacy stuff. The new Dynamic DMA windows for pSeries should also improve performances for some devices nicely on

Re: [PATCH v2] gianfar: Fall back to software tcp/udp checksum on older controllers

2011-03-18 Thread David Miller
From: Alex Dubov oa...@yahoo.com Date: Wed, 16 Mar 2011 20:57:13 -0700 (PDT) As specified by errata eTSEC49 of MPC8548 and errata eTSEC12 of MPC83xx, older revisions of gianfar controllers will be unable to calculate a TCP/UDP packet checksum for some alignments of the appropriate FCB. This

Re: [git pull] Please pull powerpc.git next branch

2011-03-18 Thread Hollis Blanchard
On Thu, Mar 17, 2011 at 10:44 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: Hi Linus ! Here are the changes for this merge window for powerpc. One highlight is irq data conversion so we can get rid of the legacy stuff. The new Dynamic DMA windows for pSeries should also improve

[RFC][PATCH v3 00/22] __vmalloc: Propagating GFP allocation flag inside __vmalloc()

2011-03-18 Thread Prasad Joshi
A filesystem might run into a problem while calling __vmalloc(GFP_NOFS) inside a lock. It is expected than __vmalloc when called with GFP_NOFS should not callback the filesystem code even incase of the increased memory pressure. But the problem is that even if we pass this flag, __vmalloc itself