Re: [patch 2/2] Cell: Wrap master run control bit

2007-09-07 Thread Arnd Bergmann
On Friday 07 September 2007, Geoff Levand wrote: > >> @@ -178,6 +179,8 @@ struct spu_management_ops { > >>  int (*enumerate_spus)(int (*fn)(void *data)); > >>  int (*create_spu)(struct spu *spu, void *data); > >>  int (*destroy_spu)(struct spu *spu); > >> +int (*enable_spu)(struct s

Re: [patch v2] Cell: Wrap master run control bit

2007-09-07 Thread Arnd Bergmann
On Friday 07 September 2007, Geoff Levand wrote: > v2: > o Added comments about unmapping PS pages when disabled. What about my comment about making the new functions return void? Arnd <>< ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org

Re: [PATCH 3/5] Add DMA of-node to mpc8641hpcn board dts

2007-09-07 Thread Scott Wood
Zhang Wei wrote: > This patch adds DMA of-node to MPC8641HPCN board dts. > > Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> > Signed-off-by: Ebony Zhu <[EMAIL PROTECTED]> > --- > arch/powerpc/boot/dts/mpc8641_hpcn.dts | 40 > > 1 files changed, 40 insertions(+),

Re: [RFC/PATCH 2/2] Generic clockevents and no-idle-HZ for PowerPC

2007-09-07 Thread Olof Johansson
On Fri, Sep 07, 2007 at 09:26:28PM +0200, Johannes Berg wrote: > On Fri, 2007-09-07 at 14:16 -0500, Olof Johansson wrote: > > On Fri, Sep 07, 2007 at 04:04:51PM +0200, Johannes Berg wrote: > > > On Fri, 2007-09-07 at 00:44 +1000, Paul Mackerras wrote: > > > > This creates a clockevent for the Power

Re: [RFC/PATCH 2/2] Generic clockevents and no-idle-HZ for PowerPC

2007-09-07 Thread Johannes Berg
On Fri, 2007-09-07 at 14:16 -0500, Olof Johansson wrote: > On Fri, Sep 07, 2007 at 04:04:51PM +0200, Johannes Berg wrote: > > On Fri, 2007-09-07 at 00:44 +1000, Paul Mackerras wrote: > > > This creates a clockevent for the PowerPC decrementer and registers it > > > with the generic clock/timer syst

Re: [RFC/PATCH 2/2] Generic clockevents and no-idle-HZ for PowerPC

2007-09-07 Thread Olof Johansson
On Fri, Sep 07, 2007 at 04:04:51PM +0200, Johannes Berg wrote: > On Fri, 2007-09-07 at 00:44 +1000, Paul Mackerras wrote: > > This creates a clockevent for the PowerPC decrementer and registers it > > with the generic clock/timer system, and implements the dynamic ticks > > (no idle HZ) option for

[PATCH v3] powerpc: Add workaround for MPICs with broken register reads

2007-09-07 Thread Olof Johansson
Some versions of PWRficient 1682M have an interrupt controller in which the first register in each pair for interrupt sources doesn't always read with the right polarity/sense values. To work around this, keep a software copy of the register instead. Since it's not modified from the mpic itself, i

Re: [PATCH v2] powerpc: Add workaround for MPICs with broken register reads

2007-09-07 Thread Olof Johansson
On Fri, Sep 07, 2007 at 09:11:52AM -0500, Milton Miller wrote: > I'm sorry, I didn't mean to imply it should be asked / selectable, just > that the help should be provided. I won't object to leaving it except > that it asks the average user unnecessary questions. In other words, drop > the

[GIT PULL] FireWire fix

2007-09-07 Thread Stefan Richter
Linus, please pull from the for-linus branch at git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6.git for-linus to receive a fix of the laptop-refuses-to-suspend kind. Or simply apply the patch from this mail. There is still an old underlying oddness though which I ask t

RE: [PATCH 5/5] Add DMA engine driver for Freescale MPC85xx processors.

2007-09-07 Thread Nelson, Shannon
>From: Zhang Wei [mailto:[EMAIL PROTECTED] >Sent: Friday, September 07, 2007 3:54 AM >To: [EMAIL PROTECTED]; Nelson, Shannon >Cc: [EMAIL PROTECTED]; linuxppc-dev@ozlabs.org; >[EMAIL PROTECTED]; Zhang Wei; Ebony Zhu >Subject: [PATCH 5/5] Add DMA engine driver for Freescale >MPC85xx processors. >

Re: [PATCH 1/5] Add Freescale DMA and DMA channel to Documentation/powerpc/booting-without-of.txt file.

2007-09-07 Thread Segher Boessenkool
>> Those don't agree. It's probably best to describe the whole >> DMA controller register block in this node. Why do you need >> subnodes for the channels at all? > > The channels have separate registers and sometimes separate interrupts > -- > it's simpler to bind to a channel at a time than to

Re: [PATCH 5/5] Add DMA engine driver for Freescale MPC85xx processors.

2007-09-07 Thread Randy Dunlap
On Fri, 7 Sep 2007 18:54:18 +0800 Zhang Wei wrote: > Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> > Signed-off-by: Ebony Zhu <[EMAIL PROTECTED]> > --- > drivers/dma/Kconfig |8 + > drivers/dma/Makefile |1 + > drivers/dma/fsldma.c | 995 > ++

Re: [PATCH 1/5] Add Freescale DMA and DMA channel to Documentation/powerpc/booting-without-of.txt file.

2007-09-07 Thread Scott Wood
On Fri, Sep 07, 2007 at 04:43:35PM +0200, Segher Boessenkool wrote: > Those don't agree. It's probably best to describe the whole > DMA controller register block in this node. Why do you need > subnodes for the channels at all? The channels have separate registers and sometimes separate interrup

Re: [PATCH 1/5] Add Freescale DMA and DMA channel to Documentation/powerpc/booting-without-of.txt file.

2007-09-07 Thread Segher Boessenkool
> + l) Freescale DMA > +- compatible : Should be "fsl,dma". Please choose some more specific name. "fsl,mpc8540-dma" would be a reasonable choice perhaps. > +- reg : Offset and length of DMA general status register. > +- ranges : Should be defined as specified in 1) to describe th

Re: Document and implement an improved flash device binding for powerpc (v5)

2007-09-07 Thread Josh Boyer
On Fri, 7 Sep 2007 16:25:10 +0200 Segher Boessenkool <[EMAIL PROTECTED]> wrote: > > This patch replaces the binding for flash chips in > > booting-without-of.txt with an clarified and improved version. It > > also makes drivers/mtd/maps/physmap_of.c recognize this new binding. > > Finally it revi

Re: [PATCH 10/10] bootwrapper: Add fsl_get_immr() and 8xx/pq2 clock functions.

2007-09-07 Thread Scott Wood
On Fri, Sep 07, 2007 at 10:53:57AM +1000, David Gibson wrote: > Uh... doesn't this need to go in the series *before* the patch that > uses fsl_get_immr() for the pq2 code..? Oops, yes. -Scott ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https:/

Re: Document and implement an improved flash device binding for powerpc (v5)

2007-09-07 Thread Segher Boessenkool
> This patch replaces the binding for flash chips in > booting-without-of.txt with an clarified and improved version. It > also makes drivers/mtd/maps/physmap_of.c recognize this new binding. > Finally it revises the Ebony device tree source to use the new binding > as an example. > > Signed-off-b

Re: [PATCH 06/10] bootwrapper: Move strncmp() from flatdevtree_env.h to string.S/string.h.

2007-09-07 Thread Scott Wood
On Fri, Sep 07, 2007 at 10:51:31AM +1000, David Gibson wrote: > On Wed, Sep 05, 2007 at 02:21:14PM -0500, Scott Wood wrote: > > It will be needed for PlanetCore firmware support. > > > > Signed-off-by: Scott Wood <[EMAIL PROTECTED]> > > I still have a patch that already does this, plus strchr() a

Re: [PATCH v2] powerpc: Add workaround for MPICs with broken register reads

2007-09-07 Thread Milton Miller
On Sep 7, 2007, at 4:21 AM, Olof Johansson wrote: > Some versions of PWRficient 1682M have an interrupt controller in which > the first register in each pair for interrupt sources doesn't always > read with the right polarity/sense values. > > To work around this, keep a software copy of the regi

Re: [RFC/PATCH 2/2] Generic clockevents and no-idle-HZ for PowerPC

2007-09-07 Thread Johannes Berg
On Fri, 2007-09-07 at 00:44 +1000, Paul Mackerras wrote: > This creates a clockevent for the PowerPC decrementer and registers it > with the generic clock/timer system, and implements the dynamic ticks > (no idle HZ) option for PowerPC. I tried both patches applied and with/without CONFIG_NOHZ but

Re: Document and implement an improved flash device binding

2007-09-07 Thread Segher Boessenkool
Let's have bank-width optional instead, it's more natural that way for the common case of just one chip. Or, you can say that either is optional. >>> >>> No, I'm disinclined to do that since bank-width is the primary bit of >>> information that the driver needs. >> >> Bt. That'

Re: dtc: Assume properties preced subnodes in the flattened tree

2007-09-07 Thread Jon Loeliger
So, like, the other day David Gibson mumbled: > With kernel commit eff2ebd207af9f501af0ef667a7d14befcb36c1b, we > clarified that in the flattened tree format, a particular nodes > properties are required to precede its subdnodes. > > At present however, both dtc and libfdt will process trees which

Please pull from 'for-2.6.24' branch of 4xx tree

2007-09-07 Thread Josh Boyer
Hi Paul, Please do git pull \ git://git.infradead.org/users/jwboyer/powerpc.git for-2.6.24 It contains the latest 4xx patches for 2.6.24. Support for 440EPx and 405GP boards are added, a bugfix for 440EP, and a small cleanup of some DTS files. josh arch/powerpc/boot/4xx.c| 1

[PATCH 5/5] Add DMA engine driver for Freescale MPC85xx processors.

2007-09-07 Thread Zhang Wei
The driver implements DMA engine API for Freescale MPC85xx DMA controller, which could be used for MEM<-->MEM, IO_ADDR<-->MEM and IO_ADDR<-->IO_ADDR data transfer. The driver supports the Basic mode of Freescale MPC85xx DMA controller. The MPC85xx processors supported include MPC8540/60, MPC8555, M

[PATCH 4/5] Add of-device and DMA bus support to MPC8641HPCN board.

2007-09-07 Thread Zhang Wei
This patch adds of-device and DMA device bus support to MPC8641HPCN board. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/platforms/86xx/mpc86xx_hpcn.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpcn

[PATCH 3/5] Add DMA of-node to mpc8641hpcn board dts

2007-09-07 Thread Zhang Wei
This patch adds DMA of-node to MPC8641HPCN board dts. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> Signed-off-by: Ebony Zhu <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8641_hpcn.dts | 40 1 files changed, 40 insertions(+), 0 deletions(-) diff --git a/arch/

[PATCH 2/5] Add Freescale DMA engine driver maintainer.

2007-09-07 Thread Zhang Wei
This patch adds Freescale DMA engine driver maintainer. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- MAINTAINERS |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 01f222e..1be4f23 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1527,6

[PATCH 1/5] Add Freescale DMA and DMA channel to Documentation/powerpc/booting-without-of.txt file.

2007-09-07 Thread Zhang Wei
This patch adds Freescale DMA and DMA channel definition to Documentation/powerpc/booting-without-of.txt file. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> Signed-off-by: Ebony Zhu <[EMAIL PROTECTED]> --- Documentation/powerpc/booting-without-of.txt | 67 ++ 1 files chan

[PATCH 0/5] DMA engine driver for Freescale MPC85xx processors.

2007-09-07 Thread Zhang Wei
Hi, These patches are DMA engine driver for Freescale MPC85xx processors which the update for supporting new DMA engine API. [PATCH 1/5] Add Freescale DMA and DMA channel to Documentation/powerpc/booting-without-of.txt file. [PATCH 2/5] Add Freescale DMA engine driver maintainer. [PATCH 3/5] Add

[PATCH 2/2][RESEND] ehea: fix last_rx update

2007-09-07 Thread Jan-Bernd Themann
Update last_rx in registered device struct instead of in the dummy device. Signed-off-by: Jan-Bernd Themann <[EMAIL PROTECTED]> --- drivers/net/ehea/ehea_main.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/ehea/ehea_main.c b/drivers/net/ehea/ehea_main.c i

[PATCH 1/2][RESEND] ehea: propagate physical port state

2007-09-07 Thread Jan-Bernd Themann
Introduces a module parameter to decide whether the physical port link state is propagated to the network stack or not. It makes sense not to take the physical port state into account on machines with more logical partitions that communicate with each other. This is always possible no matter what t

Re: How to use MMC-over-SPI on MPC8313E

2007-09-07 Thread Sven Luther
On Thu, Sep 06, 2007 at 11:48:08AM -0500, Vinu wrote: > Hi all, > > I am working on MPC8313ERDB Eval board, and want to use SD Memory card > to store Linux OS and file system. > The SD card controller is connected directly with the SPI bus. > > I simply don't know how to use MMC-over-SPI tech

Re: How to use MMC-over-SPI on MPC8313E

2007-09-07 Thread Vitaly Bordug
On Thu, 06 Sep 2007 11:48:08 -0500 Vinu wrote: > Hi all, > > I am working on MPC8313ERDB Eval board, and want to use SD Memory > card to store Linux OS and file system. > The SD card controller is connected directly with the SPI bus. > > I simply don't know how to use MMC-over-SPI technology

[PATCH v2] powerpc: Add workaround for MPICs with broken register reads

2007-09-07 Thread Olof Johansson
Some versions of PWRficient 1682M have an interrupt controller in which the first register in each pair for interrupt sources doesn't always read with the right polarity/sense values. To work around this, keep a software copy of the register instead. Since it's not modified from the mpic itself, i

Re: [PATCH] powerpc: Add workaround for MPICs with broken register reads

2007-09-07 Thread Olof Johansson
On Thu, Sep 06, 2007 at 09:55:21AM -0500, Milton Miller wrote: > On Wed Sep 5 12:44:17 EST 2007, Olof Johansson wrote: >> diff --git a/arch/powerpc/platforms/Kconfig >> b/arch/powerpc/platforms/Kconfig >> index 041df77..b9f1efa 100644 >> --- a/arch/powerpc/platforms/Kconfig >> +++ b/arch/powerpc/p

Re: [RFC/PATCH 1/2] Basic generic time/clocksource code for PowerPC

2007-09-07 Thread Gabriel Paubert
On Fri, Sep 07, 2007 at 04:20:12AM +1000, Paul Mackerras wrote: > Gabriel Paubert writes: > > > On Fri, Sep 07, 2007 at 12:41:38AM +1000, Paul Mackerras wrote: > > > This changes PowerPC to use the generic time infrastructure for > > > gettimeofday et al. We register a clocksource which uses the

Re: [PATCH 2.6.23] PS3: Ignore storage devices that are still being probed

2007-09-07 Thread Geoff Levand
Geert Uytterhoeven wrote: > PS3: A storage device may show up in the repository before the hypervisor has > finished probing: > - If its type is not yet known, it shows up as PS3_DEV_TYPE_STOR_DUMMY, > - If its regions are being probed, it shows up as having zero regions. > If any of these happ

Re: [RFC/PATCH 1/2] Basic generic time/clocksource code for PowerPC

2007-09-07 Thread Gabriel Paubert
On Thu, Sep 06, 2007 at 12:24:15PM -0500, Scott Wood wrote: > On Thu, Sep 06, 2007 at 07:05:47PM +0200, Gabriel Paubert wrote: > > On Thu, Sep 06, 2007 at 12:01:23PM -0500, Scott Wood wrote: > > > On Thu, Sep 06, 2007 at 06:55:35PM +0200, Gabriel Paubert wrote: > > > > So who will be in charge of u