Re: [PATCH 4/4] PowerPC: Add PCI node to 440GRx Rainier DTS.

2007-12-21 Thread Stefan Roese
On Friday 21 December 2007, Benjamin Herrenschmidt wrote: > On Fri, 2007-12-21 at 19:27 +0300, Valentine Barshak wrote: > > + /* All PCI interrupts are routed to IRQ 67 */ > > + interrupt-map-mask = < 0 0 0>; > > + interrupt-map

Re: [PATCH 3/4] PowerPC: Add PCI entry to 440EPx Sequoia DTS.

2007-12-21 Thread Stefan Roese
On Friday 21 December 2007, Benjamin Herrenschmidt wrote: > On Fri, 2007-12-21 at 19:26 +0300, Valentine Barshak wrote: > > + > > + /* All PCI interrupts are routed to IRQ 67 */ > > + interrupt-map-mask = < 0 0 0>; > > + interrup

Re: [PATCH 4/4] PowerPC: Add PCI node to 440GRx Rainier DTS.

2007-12-21 Thread Benjamin Herrenschmidt
On Sat, 2007-12-22 at 06:54 +0100, Stefan Roese wrote: > On Friday 21 December 2007, Benjamin Herrenschmidt wrote: > > On Fri, 2007-12-21 at 19:27 +0300, Valentine Barshak wrote: > > > + /* All PCI interrupts are routed to IRQ 67 */ > > > + interrupt-map

RE: [techfield] GPIO causing bus error

2007-12-21 Thread Elayda, Bernardo (Bernie)
Hi Chris, I'm going to look at this problem from the FPGA hardware level because I used to work for one of the FPGA companies. I'm not familiar with your PPC440GX board, so some of my suggestions may be difficult to implement or totally unreasonable, especially if it requires soldering to an FP

Re: [RESEND DTC PATCH 2/2] Add support for binary includes.

2007-12-21 Thread David Gibson
On Fri, Dec 21, 2007 at 11:09:21AM -0600, Scott Wood wrote: > On Fri, Dec 21, 2007 at 11:29:22AM +1100, David Gibson wrote: > > On Thu, Dec 20, 2007 at 01:52:59PM -0600, Scott Wood wrote: > > > A property's data can be populated with a file's contents > > > as follows: > > > > > > node { > > > p

Re: [DTC PATCH 1/2] Add yyerrorf() for formatted error messages.

2007-12-21 Thread David Gibson
On Fri, Dec 21, 2007 at 03:28:56PM -0600, Scott Wood wrote: > On Fri, Dec 21, 2007 at 11:04:39AM +1100, David Gibson wrote: > > On Thu, Dec 20, 2007 at 10:48:23AM -0600, Scott Wood wrote: > > > Signed-off-by: Scott Wood <[EMAIL PROTECTED]> > > > > No need for a new function. If yyerror() is defin

Re: GPIO causing bus error

2007-12-21 Thread Jeff Mock
Well, I have a system that is pretty similar to yours. Our boards have a 440GX and two Xilinx 2VP70's. The FPGAs are loaded using slave serial mode (not jtag) from GPIO pins, but still pretty similar. I haven't had any problems loading the FPGAs this way. From your description I can't tell w

Re: [PATCH 2/3] sbc8548: Add device tree source for Wind River SBC8548 board

2007-12-21 Thread David Gibson
On Fri, Dec 21, 2007 at 12:20:24PM -0500, Paul Gortmaker wrote: > In message: Re: [PATCH 2/3] sbc8548: Add device tree source for Wind River > SBC8548 board > on 21/12/2007 Kumar Gala wrote: > > > > > On Dec 21, 2007, at 12:43 AM, Paul Gortmaker wrote: > > > >> This adds the device tree source fo

Re: [PATCH 17/21] [POWERPC] Base support for 440SPe "Katmai" eval board

2007-12-21 Thread Josh Boyer
On Sat, 22 Dec 2007 11:21:05 +1100 Stephen Rothwell <[EMAIL PROTECTED]> wrote: > On Fri, 21 Dec 2007 15:39:34 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> > wrote: > > > > +++ linux-merge/arch/powerpc/platforms/44x/katmai.c 2007-12-21 > > 14:34:33.0 +1100 > > + > > +static struct of_

Re: [PATCH 8/21] [POWERPC] EP405 boards support for arch/powerpc

2007-12-21 Thread Josh Boyer
On Sat, 22 Dec 2007 10:24:24 +1100 Stephen Rothwell <[EMAIL PROTECTED]> wrote: > Hi Ben, > > Just a couple of trivial things. All fair comments. And I realize that everyone is busy and such, but this is the 4th or 5th time these patches have hit the list. I'm hesitant to let perfection get in

Re: [PATCH 1/4] [POWERPC] qe_lib and users: get rid of device_type and model

2007-12-21 Thread Anton Vorontsov
On Fri, Dec 21, 2007 at 03:25:53PM -0600, Olof Johansson wrote: > Hi, > > On Fri, Dec 21, 2007 at 11:20:54PM +0300, Anton Vorontsov wrote: > > diff --git a/arch/powerpc/platforms/85xx/mpc85xx_mds.c > > b/arch/powerpc/platforms/85xx/mpc85xx_mds.c > > index e6c63a5..a152bf8 100644 > > --- a/arch/po

Re: [PATCH 0/4] PowerPC: implement GPIO API

2007-12-21 Thread Anton Vorontsov
On Fri, Dec 21, 2007 at 02:17:57PM -0700, Grant Likely wrote: > On 12/21/07, Anton Vorontsov <[EMAIL PROTECTED]> wrote: > > As I've probably said once already: if there are plans to build single > > kernel with QE+CPM1+CPM2 inside tomorrow -- then of course, I'd better > > wait. > > > > But if thes

Re: [PATCH 17/21] [POWERPC] Base support for 440SPe "Katmai" eval board

2007-12-21 Thread Stephen Rothwell
On Fri, 21 Dec 2007 15:39:34 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > +++ linux-merge/arch/powerpc/platforms/44x/katmai.c 2007-12-21 > 14:34:33.0 +1100 > + > +static struct of_device_id katmai_of_bus[] = { __initdata (preferably) or const, please. -- Cheers, Stephe

Re: [PATCH 10/21] [POWERPC] Base support for 440GX Taishan eval board

2007-12-21 Thread Stephen Rothwell
On Fri, 21 Dec 2007 15:39:28 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > +++ linux-merge/arch/powerpc/platforms/44x/taishan.c 2007-12-21 > 14:20:04.0 +1100 > + > +static struct of_device_id taishan_of_bus[] = { __initdata (preferably) or const, please. -- Cheers, Steph

Re: [PATCH 3/4] [POWERPC] CPM2: implement GPIO API

2007-12-21 Thread Anton Vorontsov
On Fri, Dec 21, 2007 at 10:16:32PM +0100, Arnd Bergmann wrote: > On Friday 21 December 2007, Anton Vorontsov wrote: > > > > +static spinlock_t cpm2_port_lock = __SPIN_LOCK_UNLOCKED(cpm2_port_lock); > > This needs to be > > static DEFINE_SPINLOCK(cpm2_port_lock); These are equivalents. #define

Re: [PATCH 8/21] [POWERPC] EP405 boards support for arch/powerpc

2007-12-21 Thread Benjamin Herrenschmidt
On Sat, 2007-12-22 at 10:24 +1100, Stephen Rothwell wrote: > > +++ linux-merge/arch/powerpc/boot/4xx.c 2007-12-21 14:19:46.0 > > +1100 > > @@ -179,13 +179,16 @@ void ibm40x_dbcr_reset(void) > > #define EMAC_RESET 0x2000 > > void ibm4xx_quiesce_eth(u32 *emac0, u32 *emac1) > > {

Re: Oops: Kernel access of bad area

2007-12-21 Thread Christian Kujau
On Thu, 20 Dec 2007, Nathan Lynch wrote: > Better to include the full stack trace in such reports, Hm, I did not want to clutter the mail with all this stuff, but you're right, in this case it would've made sense... > So it looks like the kernel oopsed while firefox was dumping core, > yuck. It'

Re: [PATCH 8/21] [POWERPC] EP405 boards support for arch/powerpc

2007-12-21 Thread Stephen Rothwell
Hi Ben, Just a couple of trivial things. On Fri, 21 Dec 2007 15:39:26 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > +++ linux-merge/arch/powerpc/boot/4xx.c 2007-12-21 14:19:46.0 > +1100 > @@ -179,13 +179,16 @@ void ibm40x_dbcr_reset(void) > #define EMAC_RESET 0x2000

Re: [PATCH 18/21] [POWERPC] bamboo: remove bogus "ranges" property in EBC node

2007-12-21 Thread Josh Boyer
On Sat, 22 Dec 2007 08:16:55 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > On Fri, 2007-12-21 at 06:09 -0600, Josh Boyer wrote: > > On Fri, 21 Dec 2007 15:39:35 +1100 > > Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > > > > This removes a bogus empty "ranges" property in the

Re: [DTC PATCH 1/2] Add yyerrorf() for formatted error messages.

2007-12-21 Thread Scott Wood
On Fri, Dec 21, 2007 at 11:04:39AM +1100, David Gibson wrote: > On Thu, Dec 20, 2007 at 10:48:23AM -0600, Scott Wood wrote: > > Signed-off-by: Scott Wood <[EMAIL PROTECTED]> > > No need for a new function. If yyerror() is defined as a varargs > function it's still compatible with bison's built-in

Re: Enable RTC for Ebony and Walnut

2007-12-21 Thread Olof Johansson
Hi, On Fri, Dec 21, 2007 at 01:21:30PM +1100, David Gibson wrote: > Index: working-2.6/arch/powerpc/platforms/Kconfig > === > --- working-2.6.orig/arch/powerpc/platforms/Kconfig 2007-12-10 > 10:52:44.0 +1100 > +++ working-2

Re: [PATCH 4/4] PowerPC: Add PCI node to 440GRx Rainier DTS.

2007-12-21 Thread Benjamin Herrenschmidt
On Fri, 2007-12-21 at 19:27 +0300, Valentine Barshak wrote: > + /* All PCI interrupts are routed to IRQ 67 */ > + interrupt-map-mask = < 0 0 0>; > + interrupt-map = < 0 0 0 &UIC2 3 8 >; > + }; Same question a

Re: [PATCH 3/4] PowerPC: Add PCI entry to 440EPx Sequoia DTS.

2007-12-21 Thread Benjamin Herrenschmidt
On Fri, 2007-12-21 at 19:26 +0300, Valentine Barshak wrote: > + > + /* All PCI interrupts are routed to IRQ 67 */ > + interrupt-map-mask = < 0 0 0>; > + interrupt-map = < 0 0 0 &UIC2 3 8 >; > + }; > };

Re: [PATCH 1/3] [POWERPC] FSL UPM: routines to manage FSL UPMs

2007-12-21 Thread Olof Johansson
On Fri, Dec 21, 2007 at 11:39:25PM +0300, Anton Vorontsov wrote: > Here are few routines needed to manage FSL UPMs. It doesn't include > UPM programming, yet. So far u-boot manages to program everything. > > Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> > --- > arch/powerpc/Kconfig

Re: [PATCH 1/4] [POWERPC] qe_lib and users: get rid of device_type and model

2007-12-21 Thread Olof Johansson
Hi, On Fri, Dec 21, 2007 at 11:20:54PM +0300, Anton Vorontsov wrote: > diff --git a/arch/powerpc/platforms/85xx/mpc85xx_mds.c > b/arch/powerpc/platforms/85xx/mpc85xx_mds.c > index e6c63a5..a152bf8 100644 > --- a/arch/powerpc/platforms/85xx/mpc85xx_mds.c > +++ b/arch/powerpc/platforms/85xx/mpc85xx

Re: [PATCH 0/4] PowerPC: implement GPIO API

2007-12-21 Thread Grant Likely
On 12/21/07, Anton Vorontsov <[EMAIL PROTECTED]> wrote: > As I've probably said once already: if there are plans to build single > kernel with QE+CPM1+CPM2 inside tomorrow -- then of course, I'd better > wait. > > But if these plans are distant enough, I see no reason why we can't > enjoy of curren

Re: [PATCH 18/21] [POWERPC] bamboo: remove bogus "ranges" property in EBC node

2007-12-21 Thread Benjamin Herrenschmidt
On Fri, 2007-12-21 at 06:09 -0600, Josh Boyer wrote: > On Fri, 21 Dec 2007 15:39:35 +1100 > Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > > This removes a bogus empty "ranges" property in the EBC device node > > of the Bamboo board device-tree. > > > > The "ranges" property will be creat

Re: [PATCH 3/4] [POWERPC] CPM2: implement GPIO API

2007-12-21 Thread Arnd Bergmann
On Friday 21 December 2007, Anton Vorontsov wrote: > > +static spinlock_t cpm2_port_lock = __SPIN_LOCK_UNLOCKED(cpm2_port_lock); This needs to be static DEFINE_SPINLOCK(cpm2_port_lock); I think at least lockdep doesn't work the way you do it here. > +int cpm2_init_par_io(void) > +{ > + st

Re: [PATCH 1/21] [POWERPC] Reworking machine check handling and Fix 440/440A

2007-12-21 Thread Benjamin Herrenschmidt
On Fri, 2007-12-21 at 06:01 -0600, Josh Boyer wrote: > On Fri, 21 Dec 2007 15:39:21 +1100 > Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > > > Index: linux-merge/include/asm-ppc/reg_booke.h > > === > > --- linux-merge.orig/in

Re: [PATCH POWERPC] i2c: adds support for i2c bus on Frescale CPM1/CPM2 controllers

2007-12-21 Thread Vitaly Bordug
On Fri, 21 Dec 2007 20:36:28 +0100 Jochen Friedrich wrote: > Using the port of 2.4 code from Vitaly Bordug > <[EMAIL PROTECTED]> and the actual algorithm used by the i2c > driver of the DBox code on cvs.tuxboc.org from Tmbinc, Gillem > ([EMAIL PROTECTED]). Renamed i2c-rpx.c and i2c-algo-8xx.c to i

Re: [PATCH 0/4] PowerPC: implement GPIO API

2007-12-21 Thread Anton Vorontsov
On Fri, Dec 21, 2007 at 01:50:10PM -0700, Grant Likely wrote: > On 12/21/07, Anton Vorontsov <[EMAIL PROTECTED]> wrote: > > Also, in the upcoming kernels, there will be GPIOLIB[1] addition to > > the generic GPIO API, to support off-chip GPIO expanders (like MFDs > > on I2C/LBC). But so far we supp

Re: [PATCH 0/4] PowerPC: implement GPIO API

2007-12-21 Thread Grant Likely
On 12/21/07, Anton Vorontsov <[EMAIL PROTECTED]> wrote: > Also, in the upcoming kernels, there will be GPIOLIB[1] addition to > the generic GPIO API, to support off-chip GPIO expanders (like MFDs > on I2C/LBC). But so far we support on-chip GPIOs only, with single > controller built-in. > > Changes

[PATCH 3/3] [POWERPC] MPC8360E-RDK: add support for NAND on UPM

2007-12-21 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc836x_rdk.dts | 19 +-- arch/powerpc/platforms/83xx/Kconfig |1 + 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/boot/dts/mpc836x_rdk.dts b/arch/powerpc/boot/dts/mp

[PATCH 2/3] [POWERPC][NAND] FSL UPM NAND driver

2007-12-21 Thread Anton Vorontsov
It's using FSL UPM infrastructure. So far only 8 bit accessors are implemented. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- drivers/mtd/nand/Kconfig |7 + drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/fsl_upm.c | 313 3 files

[PATCH 1/3] [POWERPC] FSL UPM: routines to manage FSL UPMs

2007-12-21 Thread Anton Vorontsov
Here are few routines needed to manage FSL UPMs. It doesn't include UPM programming, yet. So far u-boot manages to program everything. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/Kconfig |3 + arch/powerpc/sysdev/Makefile |1 + arch/powerpc/sysdev/fsl_upm

[PATCH 0/3] fsl upm, nand driver and MPC8360E-RDK as its first user

2007-12-21 Thread Anton Vorontsov
Hi all, Here is the FSL UPM infrastructure and FSL UPM NAND driver which is using it. This patchset depends on GPIO API. Changes since RFC: - Lockless variant removed; - Implemented "width" property; - Few cosmetic changes. Thanks, -- Anton Vorontsov email: [EMAIL PROTECTED] backup email: [EMA

[PATCH 4/4] [POWERPC] CPM1: implement GPIO API

2007-12-21 Thread Anton Vorontsov
From: Jochen Friedrich <[EMAIL PROTECTED]> Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- Jochen, I kept your Signed-off-by, though this isn't your original patch. Hope you're okay with it. I also hope you'll test it. ;-) arch/powerpc/

[PATCH 3/4] [POWERPC] CPM2: implement GPIO API

2007-12-21 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/platforms/Kconfig|1 + arch/powerpc/sysdev/cpm2_common.c | 121 + 2 files changed, 122 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platform

[PATCH 2/4] [POWERPC] QE: implement GPIO API

2007-12-21 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/platforms/Kconfig |1 + arch/powerpc/sysdev/qe_lib/qe_io.c | 82 +++- 2 files changed, 81 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platform

[PATCH 1/4] [POWERPC] Implement GPIO API embryo

2007-12-21 Thread Anton Vorontsov
This patch implements GPIO API as described in Documentation/gpio.txt. Two calls unimplemented though: irq_to_gpio and gpio_to_irq. This patch also provides OF helpers. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/Kconfig |3 ++ arch/powerpc/kernel/prom_par

Re: [PATCH -mm 18/43] powerpc compat_binfmt_elf

2007-12-21 Thread Sam Ravnborg
On Fri, Dec 21, 2007 at 12:51:06PM -0500, Kyle McMartin wrote: > On Fri, Dec 21, 2007 at 12:56:09AM -0800, Roland McGrath wrote: > > > On Thu, Dec 20, 2007 at 03:58:16AM -0800, Roland McGrath wrote: > > > > +obj-$(CONFIG_PPC64)+= ../../../fs/compat_binfmt_elf.o > > > > > > Building fil

[PATCH 0/4] PowerPC: implement GPIO API

2007-12-21 Thread Anton Vorontsov
Hi all, OF device tree GPIOs bindings are similar to IRQs: pario0: [EMAIL PROTECTED] { #gpio-cells = <2>; num-ports = <7>; }; [EMAIL PROTECTED] { gpios = ; gpio-parent = <&pario0>; }; "bank pin" scheme is controller specific, so controllers that want to implement

[PATCH] [POWERPC] MPC8360E-RDK: Device tree and board file

2007-12-21 Thread Anton Vorontsov
This is new board made by Freescale Semiconductor Inc. and Logic Product Development. Currently supported: 1. UEC1,2,7,4 2. I2C 3. SPI 4. NS16550 serial 5. PCI and miniPCI 6. Intel NOR StrataFlash X16 64Mbit PC28F640P30T85 Not supported so far: 1. StMICRO NAND512W3A2BN6E, 512 Mbit (supported with

[PATCH 4/4] [POWERPC] fsl_spi_init and users: stop using device_type = "spi"

2007-12-21 Thread Anton Vorontsov
Also: - rename "fsl_spi" to "fsl,spi"; - add and use cell-index property, if found; - split probing code out of fsl_spi_init, thus we can call it for legacy device_type probing and new "compatible" probing. Per http://ozlabs.org/pipermail/linuxppc-dev/2007-December/048388.html Signed-off-by: An

[PATCH 3/4] [POWERPC][SPI] use brg-frequency for SPI in QE

2007-12-21 Thread Anton Vorontsov
In case of QE we can use brg-frequency (which is qeclk/2). Thus no need to divide sysclk in the spi_mpc83xx. This patch also adds code to use get_brgfreq() on QE chips. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> Acked-by: David Brownell <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_soc

[PATCH 2/4] [POWERPC][NET] ucc_geth_mii and users: get rid of device_type

2007-12-21 Thread Anton Vorontsov
device_type property is bogus, thus use proper compatible. Also change compatible property to "fsl,ucc-mdio". Per http://ozlabs.org/pipermail/linuxppc-dev/2007-December/048388.html Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc832x_mds.dts |3 +-- arch/powe

[PATCH 1/4] [POWERPC] qe_lib and users: get rid of device_type and model

2007-12-21 Thread Anton Vorontsov
Now we're searching for "fsl,qe", "fsl,qe-muram", "fsl,qe-muram-data". Per http://ozlabs.org/pipermail/linuxppc-dev/2007-December/048388.html Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc832x_mds.dts |7 --- arch/powerpc/boot/dts/mpc832x_rdb.dts

[PATCH v3 0/4] device_type/compatible cleanups

2007-12-21 Thread Anton Vorontsov
Hi all, Here is the third version (let's hope the last :-). Changes since v2: - SPI conversion fixed and actually tested on MPC8323E-RDB to not break anything; - Few more users of device_type = "qe" converted to compatible = "fsl,qe"; - Got Ack on SPI part from David. Changes since v1: - Dev

Re: [PATCH 2/4] PowerPC: update 440EP(x)/440GR(x) identical PVR issue workaround

2007-12-21 Thread Stefan Roese
Hi Valentine, On Friday 21 December 2007, Valentine Barshak wrote: > > Good catch. I'll have to look more closely to see if anything else > > would be broken by changing the cpu node name from "PowerPC,[EMAIL > > PROTECTED]" to > > "[EMAIL PROTECTED]". > > > > josh > > Looks like we need a u-boo

Re: [PATCH 2/4] PowerPC: update 440EP(x)/440GR(x) identical PVR issue workaround

2007-12-21 Thread Valentine Barshak
Josh Boyer wrote: > On Fri, 21 Dec 2007 19:24:02 +0300 > Valentine Barshak <[EMAIL PROTECTED]> wrote: > >> Commit 3ee133269861dc449ad5be761aa8570b1b05571f introduced >> a CPU "model" property and thus broke PowerPC 440EP(x)/440GR(x) >> identical PVR workaround. The patch updates it to use the new

Re: [PATCH -mm 18/43] powerpc compat_binfmt_elf

2007-12-21 Thread Arnd Bergmann
On Friday 21 December 2007, Kyle McMartin wrote: > Just taking a stab that hch means, > > config BINFMT_COMPAT_ELF > def_bool n > depends on 64BIT > I'd call it COMPAT_BINFMT_ELF, for consistency with the file name. Also, the definition and the depends are redundant if you expect

[PATCH POWERPC] i2c: adds support for i2c bus on Frescale CPM1/CPM2 controllers

2007-12-21 Thread Jochen Friedrich
Using the port of 2.4 code from Vitaly Bordug <[EMAIL PROTECTED]> and the actual algorithm used by the i2c driver of the DBox code on cvs.tuxboc.org from Tmbinc, Gillem ([EMAIL PROTECTED]). Renamed i2c-rpx.c and i2c-algo-8xx.c to i2c-cpm.c and converted the driver to an of_platform_driver. Signed-

Re: Time for cell code reshuffle?

2007-12-21 Thread Arnd Bergmann
On Friday 21 December 2007, Geoff Levand wrote: > Arnd Bergmann wrote: > > > arch/powerpc/platforms/cell/spufs -> arch/powerpc/spufs > > arch/powerpc/platforms/cell/spu_{callbacks,base,syscalls,fault,notify}.[co] > > -> arch/powerpc/spufs/{callbacks,base,syscalls,fault,notify}.[co] > > > I think

Re: Yet more patches added to for-2.6.25/master branches

2007-12-21 Thread Marian Balakowicz
Grant Likely wrote: > On 12/21/07, Marian Balakowicz <[EMAIL PROTECTED]> wrote: >> Grant Likely wrote: >>> On 12/21/07, *Marian Balakowicz* <[EMAIL PROTECTED] >>> >>> Any changes to add new 52xx targets: >>> >>> http://patchwork.ozlabs.org/linuxppc/patch?person=988&id=14661 >> [...] >>>

Re: Yet more patches added to for-2.6.25/master branches

2007-12-21 Thread Grant Likely
On 12/21/07, Marian Balakowicz <[EMAIL PROTECTED]> wrote: > Grant Likely wrote: > > > > On 12/21/07, *Marian Balakowicz* <[EMAIL PROTECTED] > > > > Any changes to add new 52xx targets: > > > > http://patchwork.ozlabs.org/linuxppc/patch?person=988&id=14661 > [...] > > > > Those did not m

Re: Yet more patches added to for-2.6.25/master branches

2007-12-21 Thread Marian Balakowicz
Grant Likely wrote: > > On 12/21/07, *Marian Balakowicz* <[EMAIL PROTECTED] > > Any changes to add new 52xx targets: > > http://patchwork.ozlabs.org/linuxppc/patch?person=988&id=14661 [...] > > Those did not make it to 2.6.24, Grant Likely suggested to wait until > 2.6.25 window

[PATCH 4/4] PowerPC: Add PCI entry to 440GRx Rainier DTS.

2007-12-21 Thread Valentine Barshak
This adds PCI entry to PowerPC 440GRx Rainier DTS. Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/rainier.dts | 27 +++ 1 files changed, 27 insertions(+) --- linux-2.6.orig/arch/powerpc/boot/dts/rainier.dts2007-12-19 16:00:01.000

Re: Time for cell code reshuffle?

2007-12-21 Thread Geoff Levand
Arnd Bergmann wrote: > We've been discussing in the past a few times where we should best put > the spufs code, and when to do it. Since Jeremy and I now have all the > current patches in powerpc.git, maybe we should do it now. > > To the question, where what it should go, I'd leave the decision t

Re: [PATCH -mm 18/43] powerpc compat_binfmt_elf

2007-12-21 Thread Kyle McMartin
On Fri, Dec 21, 2007 at 12:56:09AM -0800, Roland McGrath wrote: > > On Thu, Dec 20, 2007 at 03:58:16AM -0800, Roland McGrath wrote: > > > +obj-$(CONFIG_PPC64) += ../../../fs/compat_binfmt_elf.o > > > > Building files from another directory is nasty. Please add a > > CONFIG_BINFMT_COM

Re: [PATCH 3/4] sbc8560: Add device tree source for Wind River SBC8560 board

2007-12-21 Thread Scott Wood
On Fri, Dec 21, 2007 at 10:57:24AM +1100, David Gibson wrote: > > + mpic: [EMAIL PROTECTED] { > > + clock-frequency = <0>; > > The mpic has a clock-frequency?? Yes, there's a timer on the PIC. > > + interrupt-controller; > > + #addr

Re: Yet more patches added to for-2.6.25/master branches

2007-12-21 Thread Grant Likely
On 12/21/07, Marian Balakowicz <[EMAIL PROTECTED]> wrote: > > > Any changes to add new 52xx targets: > > http://patchwork.ozlabs.org/linuxppc/patch?person=988&id=14661 > http://patchwork.ozlabs.org/linuxppc/patch?person=988&id=14662 > http://patchwork.ozlabs.org/linuxppc/patch?person=988&id=14663 >

Re: [PATCH 0/4] arch/powerpc support for SBC8560 board

2007-12-21 Thread Scott Wood
On Thu, Dec 20, 2007 at 10:38:15PM -0500, Paul Gortmaker wrote: > Here is my interpretation of what is happening here -- we come in via > find_legacy_serial_ports() to pick a console port. It grabs "chosen" > to get np stdout, and then checks the parent of the 16550 compat ports > against the foll

Re: [PATCH 4/4] PowerPC: Add PCI node to 440GRx Rainier DTS.

2007-12-21 Thread Valentine Barshak
> + reg = <1 eec0 8 /* Config space access */ > +1 eed8 4 /* IACK */ > +1 eed8 4 /* Special cycle */ Please, discard this one, since it contains the typos pasted from previous bamboo dts, which hav

Re: [PATCH 2/3] sbc8548: Add device tree source for Wind River SBC8548 board

2007-12-21 Thread Paul Gortmaker
In message: Re: [PATCH 2/3] sbc8548: Add device tree source for Wind River SBC8548 board on 21/12/2007 Kumar Gala wrote: > > On Dec 21, 2007, at 12:43 AM, Paul Gortmaker wrote: > >> This adds the device tree source for the Wind River SBC8548 board. [...] > mind looking at converting this to a

OProfile callgraph support not working correctly on PPC processors

2007-12-21 Thread Bob Nelson
I have been investigating why I have not been able to get callgraph code for OProfile on Cell to work correctly and I am pretty sure that I have run into a problem that is common across all the Power platforms. (At least the other ones I have looked at.) I have a simple test program that is a

Re: [RESEND DTC PATCH 2/2] Add support for binary includes.

2007-12-21 Thread Scott Wood
On Fri, Dec 21, 2007 at 11:29:22AM +1100, David Gibson wrote: > On Thu, Dec 20, 2007 at 01:52:59PM -0600, Scott Wood wrote: > > A property's data can be populated with a file's contents > > as follows: > > > > node { > > prop = /bin-include/ "path/to/data"; > > }; > > I'd be inclined to use /

Re: [PATCH 2/4] PowerPC: update 440EP(x)/440GR(x) identical PVR issue workaround

2007-12-21 Thread Josh Boyer
On Fri, 21 Dec 2007 19:24:02 +0300 Valentine Barshak <[EMAIL PROTECTED]> wrote: > Commit 3ee133269861dc449ad5be761aa8570b1b05571f introduced > a CPU "model" property and thus broke PowerPC 440EP(x)/440GR(x) > identical PVR workaround. The patch updates it to use the new > model property for CPU id

[PATCH 4/4] PowerPC: Add PCI node to 440GRx Rainier DTS.

2007-12-21 Thread Valentine Barshak
This adds PCI entry to PowerPC 440GRx Rainier DTS. Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/rainier.dts | 27 +++ 1 files changed, 27 insertions(+) --- linux-2.6.orig/arch/powerpc/boot/dts/rainier.dts2007-12-19 16:00:01.000

[PATCH 3/4] PowerPC: Add PCI entry to 440EPx Sequoia DTS.

2007-12-21 Thread Valentine Barshak
This adds PCI entry to PowerPC 440EPx Sequoia DTS. Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/sequoia.dts | 27 +++ 1 files changed, 27 insertions(+) --- linux-2.6.orig/arch/powerpc/boot/dts/sequoia.dts2007-12-21 17:14:17.000

[PATCH 2/4] PowerPC: update 440EP(x)/440GR(x) identical PVR issue workaround

2007-12-21 Thread Valentine Barshak
Commit 3ee133269861dc449ad5be761aa8570b1b05571f introduced a CPU "model" property and thus broke PowerPC 440EP(x)/440GR(x) identical PVR workaround. The patch updates it to use the new model property for CPU identification. Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]> --- arch/powerpc/ker

[PATCH 1/4] PowerPC: Correct 440GRx machine_check callback

2007-12-21 Thread Valentine Barshak
Correct the PowerPC 440GRx machine check callback. Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]> --- arch/powerpc/kernel/cputable.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -pruN linux-2.6.orig/arch/powerpc/kernel/cputable.c linux-2.6/arch/powerpc/kernel/cputable.c

[PATCH 0/4] PowerPC: more Sequoia/Rainier updates for 2.6.25

2007-12-21 Thread Valentine Barshak
This patch series has a couple of PowerPC 440EPx/GRx fixes and adds PCI to Sequoia/Rainier DTS. Thanks, Valentine. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[PATCH] mpc85xx_ads: add in missing of_node_put()

2007-12-21 Thread Paul Gortmaker
cpm2_pic_init() does its own of_node_get() so we should do an of_node_put() before calling it. This and other coding style cleanups as suggested by Stephen Rothwell. Signed-off-by: Paul Gortmaker <[EMAIL PROTECTED]> --- arch/powerpc/platforms/85xx/mpc85xx_ads.c | 12 ++-- 1 files change

Re: [PATCH 1/4] sbc8560: add basic support for Wind River SBC8560 as powerpc

2007-12-21 Thread Paul Gortmaker
In message: Re: [PATCH 1/4] sbc8560: add basic support for Wind River SBC8560 as powerpc on 21/12/2007 Stephen Rothwell wrote: > Hi Paul, > > Just a couple of comments. [...] > The braces are unnecessary. > [...] > We often say "if (!np)" and leave out the blank line above. > > > + if(of

Re: [PATCH 2/3] sbc8548: Add device tree source for Wind River SBC8548 board

2007-12-21 Thread Kumar Gala
On Dec 21, 2007, at 12:43 AM, Paul Gortmaker wrote: > This adds the device tree source for the Wind River SBC8548 board. > The > biggest difference between this and the MPC8548CDS reference platform > is the absence of the CDS's Arcadia peripherals and physical access > to PCI#2. > > Signed-

Re: [PATCH 1/3] sbc8548: Add basic support for Wind River SBC8548 as powerpc

2007-12-21 Thread Kumar Gala
On Dec 21, 2007, at 12:43 AM, Paul Gortmaker wrote: > This adds the basic support for the Wind River SBC8548 board, > implemented > as powerpc. It closely follows the implementation of the MPC8548CDS. > > Signed-off-by: Paul Gortmaker <[EMAIL PROTECTED]> > --- > arch/powerpc/platforms/85xx/Kco

Re: Yet more patches added to for-2.6.25/master branches

2007-12-21 Thread Kumar Gala
On Dec 21, 2007, at 8:13 AM, Marian Balakowicz wrote: > > Any changes to add new 52xx targets: > > http://patchwork.ozlabs.org/linuxppc/patch?person=988&id=14661 > http://patchwork.ozlabs.org/linuxppc/patch?person=988&id=14662 > http://patchwork.ozlabs.org/linuxppc/patch?person=988&id=14663 > htt

Re: Yet more patches added to for-2.6.25/master branches

2007-12-21 Thread Marian Balakowicz
Any changes to add new 52xx targets: http://patchwork.ozlabs.org/linuxppc/patch?person=988&id=14661 http://patchwork.ozlabs.org/linuxppc/patch?person=988&id=14662 http://patchwork.ozlabs.org/linuxppc/patch?person=988&id=14663 http://patchwork.ozlabs.org/linuxppc/patch?person=988&id=14743 http://p

Time for cell code reshuffle?

2007-12-21 Thread Arnd Bergmann
We've been discussing in the past a few times where we should best put the spufs code, and when to do it. Since Jeremy and I now have all the current patches in powerpc.git, maybe we should do it now. To the question, where what it should go, I'd leave the decision to Jeremy, but my current idea w

Re: Yet more patches added to for-2.6.25/master branches

2007-12-21 Thread Arnd Bergmann
Thanks for adding the patches I submitted for 2.6.25. What's your position on this one: http://patchwork.ozlabs.org/linuxppc/patch?id=15600 OProfile: remove dependency on spufs module Jeremy agreed that we should merge it in 2.6.24, but if you think it's too late for that, please add it to y

Re: [PATCH 20/21] [POWERPC] pci32: 4xx embedded platforms want to reassign all PCI resources

2007-12-21 Thread Josh Boyer
On Fri, 21 Dec 2007 15:39:37 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > Index: linux-merge/arch/powerpc/platforms/44x/sequoia.c > === > --- linux-merge.orig/arch/powerpc/platforms/44x/sequoia.c 2007-12-14 > 15:48:5

Re: [PATCH 18/21] [POWERPC] bamboo: remove bogus "ranges" property in EBC node

2007-12-21 Thread Josh Boyer
On Fri, 21 Dec 2007 15:39:35 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > This removes a bogus empty "ranges" property in the EBC device node > of the Bamboo board device-tree. > > The "ranges" property will be created by the boot wrapper, there is > no need to have an empty property

Yet more patches added to for-2.6.25/master branches

2007-12-21 Thread Paul Mackerras
Aegis Lin (1): [POWERPC] spufs: Use separate timer for /proc/spu_loadavg calculation Andre Detsch (1): [POWERPC] spufs: DMA Restart after SIGSEGV Arnd Bergmann (1): [POWERPC] spufs: block fault handlers in spu_acquire_runnable Benjamin Herrenschmidt (2): [POWERPC] Fix for

Re: [PATCH 1/21] [POWERPC] Reworking machine check handling and Fix 440/440A

2007-12-21 Thread Josh Boyer
On Fri, 21 Dec 2007 15:39:21 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > Index: linux-merge/include/asm-ppc/reg_booke.h > === > --- linux-merge.orig/include/asm-ppc/reg_booke.h 2007-09-28 > 11:42:10.0 +100

Bug#457294: [powerpc] System time not updated after sleep cycle

2007-12-21 Thread Michel Dänzer
Package: linux-2.6 Version: 2.6.23-1 Severity: important -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 After wakeup from sleep, the system time is still the same as it was when going to sleep. I have to restart ntp to get it updated. This problem didn't occur with previous kernels. It persists

[PATCH 2/3] (Resend part #2) Add RapidIO memory mapping API and simple Bitmap allocation.

2007-12-21 Thread Zhang Wei
Add RapidIO memory mapping API and simple Bitmap allocation with fixed size. Some bugs are fixed. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- drivers/rapidio/Kconfig | 18 +- drivers/rapidio/Makefile|1 + drivers/rapidio/rio-access.c| 10 +- drivers/ra

[PATCH 2/3] (Resend part #1) Add the RapidIO support to powerpc architecture with memory mapping support.

2007-12-21 Thread Zhang Wei
The patch adds the RapidIO support to powerpc with of-device support. New Serial RapidIO of new Freescale processor, such as MPC8548, MPC8568, is also added. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/Kconfig| 12 + arch/powerpc/platforms/85xx/Kconfig |1 +

Re: [PATCH -mm 18/43] powerpc compat_binfmt_elf

2007-12-21 Thread Roland McGrath
> On Thu, Dec 20, 2007 at 03:58:16AM -0800, Roland McGrath wrote: > > +obj-$(CONFIG_PPC64)+= ../../../fs/compat_binfmt_elf.o > > Building files from another directory is nasty. Please add a > CONFIG_BINFMT_COMPAT_ELF so we can simply build it in fs/ If that's better, please post