RE: [PATCH 0/5 v3] Porting RapidIO driver from ppc to powerpc architecture and adding memory mapped RapidIO driver.

2007-11-11 Thread Zhang Wei-r63237
Hi, Randy, I'll post it soon and hope to get much feedback from you. Thanks! Wei. > -Original Message- > From: Randy Vinson [mailto:[EMAIL PROTECTED] > > Zhang Wei-r63237 wrote: > > Yes, I'm working on it. Do not worry about it. > How's this go

RE: [PATCH 0/5 v3] Porting RapidIO driver from ppc to powerpc architecture and adding memory mapped RapidIO driver.

2007-10-30 Thread Zhang Wei-r63237
Yes, I'm working on it. Do not worry about it. Wei. > -Original Message- > From: Kumar Gala [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 30, 2007 4:31 AM > To: [EMAIL PROTECTED] > Cc: Zhang Wei-r63237; [EMAIL PROTECTED]; > [EMAIL PROTECTED]; linuxppc-de

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

2007-09-13 Thread Zhang Wei-r63237
Hi, > > +static void fsl_dma_set_src(dma_addr_t addr, > > + struct dma_async_tx_descriptor > *tx, int index) > > +{ > > What is index supposed to mean? It's not used, or documented > anywhere than > I can see. I've also got more document here. Hi, Dan, could you giv

RE: 2.6.23-rc3 boot hang on MPC8641D

2007-09-12 Thread Zhang Wei-r63237
> that time kumar > suggest to upgrade the kernel verison 2.6.23-rc3. > Zhang did u suspect the problem is related to uboot?. > by > sivaji > > > Zhang Wei-r63237 wrote: > > > > Yes, It's too old. Maybe not fully supports FDT. You can > try the

RE: 2.6.23-rc3 boot hang on MPC8641D

2007-09-12 Thread Zhang Wei-r63237
Yes, It's too old. Maybe not fully supports FDT. You can try the version of Kumar said or in the BSP of Freescale released. - zw > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > g] On Behalf Of Kumar Gala > Sent: Thursday, September 13, 2007 1:11 PM > To: siva

RE: 2.6.23-rc3 boot hang on MPC8641D

2007-09-12 Thread Zhang Wei-r63237
Hi, Your flat device tree address seems too low. Try to move the dtb to higher address such as 0x200. And which version of your u-boot? Cheers! - zw > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > g] On Behalf Of sivaji > Sent: Thursday, September 13,

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

2007-09-12 Thread Zhang Wei-r63237
> > > > > > On Fri, Sep 07, 2007 at 04:43:35PM +0200, Segher > Boessenkool wrote: > > > > > + l) Freescale DMA > > > > > > > > > +- compatible : Should be "fsl,dma". > > > > > > > > Please choose some more specific name. "fsl,mpc8540-dma" would > > > > be a reasonable choice perhaps. > >

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

2007-09-11 Thread Zhang Wei-r63237
Hi, Dan, Does I have followed your new API? :-) > > --- > Greetings, > > Please copy me on any updates to this driver, drivers/dma, or > crypto/async_tx. Ok. > > Below are a few review comments... > > Regards, > Dan > > > +/** > > + * fsl_dma_alloc_descriptor - Allocate descriptor from >

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

2007-09-11 Thread Zhang Wei-r63237
> > If this is experimental, perhaps you should mark the depends line as > such > depends on on DMA_ENGINE && PPC && EXPERIMENTAL I'll add EXPERIMENTAL for MPC83xx only. > > [...] > > >+ > >+fsl_dma_memcpy_issue_pending(chan); > >+while (fsl_dma_is_complete(chan, cookie, NULL, NU

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

2007-09-11 Thread Zhang Wei-r63237
I'll merge them. Thanks! - zw > -Original Message- > From: David Gibson [mailto:[EMAIL PROTECTED] > Sent: Monday, September 10, 2007 11:28 AM > To: Zhang Wei-r63237 > Cc: [EMAIL PROTECTED]; linuxppc-dev@ozlabs.org > Subject: Re: [PATCH 2/5] Add Freescale DMA e

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

2007-09-11 Thread Zhang Wei-r63237
Hi, > --- /dev/null > > +++ b/drivers/dma/fsldma.c > > @@ -0,0 +1,995 @@ > > Thanks for using kernel-doc notation. However, ... > > > +/** > > + * fsl_dma_alloc_descriptor - Allocate descriptor from > channel's DMA pool. > > Function parameters need to be listed & described here. > See Docume

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

2007-09-11 Thread Zhang Wei-r63237
> > On Fri, Sep 07, 2007 at 04:43:35PM +0200, Segher Boessenkool wrote: > > > + l) Freescale DMA > > > > > +- compatible : Should be "fsl,dma". > > > > Please choose some more specific name. "fsl,mpc8540-dma" would > > be a reasonable choice perhaps. > > More precisely, the compatible

RE: Keep On Debugging You

2007-09-05 Thread Zhang Wei-r63237
Oops! Could you give us a live show version? :D Cheers! - zw > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > g] On Behalf Of Timur Tabi > Sent: Wednesday, September 05, 2007 10:54 AM > To: linuxppc-dev@ozlabs.org > Subject: Keep On Debugging You > > I wrot

RE: Please pull powerpc.git merge branch

2007-08-06 Thread Zhang Wei-r63237
Hi, Michael, I get them. Thanks for your work! :) Best Regards, Zhang Wei > -Original Message- > From: Michael Ellerman [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 07, 2007 11:19 AM > To: Zang Roy-r61911 > Cc: Kumar Gala; linuxppc-dev list; Paul Mackerras; Z

RE: Please pull powerpc.git merge branch

2007-08-05 Thread Zhang Wei-r63237
Hi, Paul, How about following patches? [PATCH 1/2] Add sysdev/pci_quirks.c file into PowerPC architecture with ULI chip quirk functions. URL: http://ozlabs.org/pipermail/linuxppc-dev/2007-August/040363.html [PATCH 2/2] Remove ULI chip quirks functions from MPC8641HPCN and MPC8544DS boards. URL: h

RE: [PATCH 1/2] Add sysdev/pci_quirks.c file into PowerPCarchitecture with ULI chip quirk functions.

2007-08-01 Thread Zhang Wei-r63237
Hi, Ben, > > Are we sure that any powerpc machine that uses that ULI chip will need > the same quirk setting ? > We can ensure current platforms (as far as we know, MPC8544DS and MPC8641HPCN) using ULI chips in powerpc of kernel need the same quirk setting. And we hope to make them more generi

RE: [PATCH 3/5 v3] Add the platform device support with RapidIO to MPC8641HPCN platform.

2007-07-30 Thread Zhang Wei-r63237
Hi, Arnd, I can change it as you metioned now. Thanks! -zw > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Arnd Bergmann > Sent: Sunday, July 29, 2007 9:57 PM > To: linuxppc-dev@ozlabs.org > Cc: Zhang Wei-r63237; [EMAIL PRO

RE: [PATCH 1/5 v3] Add the explanation and a sample of RapidIO OF node to the document of booting-without-of.txt file.

2007-07-27 Thread Zhang Wei-r63237
Hi, Kumar, > + RapidIO is a definition of a system interconnect. This node add > > + the support for RapidIO processor in kernel. The node name is > > + suggested to be 'rapidio'. > > + > > + Required properties: > > + > > +- compatible : Using "fsl,rapidio-delta" for Freescale PowerPC

RE: [PATCH 4/5 v3] Add RapidIO support to powerpc architecture.

2007-07-27 Thread Zhang Wei-r63237
Hi, Kumar, > -Original Message- > From: Kumar Gala [mailto:[EMAIL PROTECTED] > On Jul 26, 2007, at 3:42 AM, Zhang Wei wrote: > > > This patch adds the RapidIO support to the powerpc architecture. > > Some files are moved from ppc. OF-tree and OF-device supports are > > added. > > New

RE: [PATCH 1/3] Add a new member name to structure irq_host

2007-07-25 Thread Zhang Wei-r63237
Hi, Ben, Thanks! > Sure, hence the word 'optional' which would provide a default name. > About the default name, since platforms we touched are very limited, we do not know which name should be proper default name. We just assign those default name to 'NULL' for passing the compiling process.

RE: [PATCH 1/3] Add a new member name to structure irq_host

2007-07-24 Thread Zhang Wei-r63237
Hi, Ben, Thanks! Please see my inline comments. > > Well, you would have to look at a cell blade or pSeries machine > device-tree, I don't have one at hand in DTS form... but basically, > those don't have a 1:1 relationship between hosts and nodes. Is there any problem when the relationship be

RE: [PATCH 4/4] Add DMA engine driver for Freescale MPC8xxx processors.

2007-07-12 Thread Zhang Wei-r63237
> -Original Message- > From: Wood Scott-B07421 > > On Tue, Jul 10, 2007 at 05:45:26PM +0800, Zhang Wei wrote: > > +config FSL_DMA > > + bool "Freescale MPC8xxx DMA support" > > + depends on DMA_ENGINE && (PPC_86xx || PPC_85xx) > > Remove the dependency on specific PPC chips... le

RE: [PATCH 2/4] Add dma sector to mpc8641hpcn board dts

2007-07-12 Thread Zhang Wei-r63237
> -Original Message- > From: Segher Boessenkool [mailto:[EMAIL PROTECTED] > > >>> + [EMAIL PROTECTED] > >>> + compatible = "fsl,mpc8xxx-dma"; > >> > >> Please use a real name, not this "xxx" stuff. > > > > Does the "xxx" seems to be an evil name? :-) > > You ar

RE: [PATCH 1/4] Add DMA sector to Documentation/powerpc/booting-without-of.txt file.

2007-07-12 Thread Zhang Wei-r63237
> -Original Message- > From: Segher Boessenkool [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 12, 2007 1:54 AM > To: Wood Scott-B07421 > Cc: Zhang Wei-r63237; linuxppc-dev@ozlabs.org; [EMAIL PROTECTED] > Subject: Re: [PATCH 1/4] Add DMA sector to > Document

RE: [PATCH 1/4] Add DMA sector to Documentation/powerpc/booting-without-of.txt file.

2007-07-12 Thread Zhang Wei-r63237
Hi, > -Original Message- > From: Segher Boessenkool [mailto:[EMAIL PROTECTED] > >> Call it "extended-chain-mode", perhaps? > > > > Is it maybe too long? > > Not really no. It's only 19 characters, and it isn't used > all over the place, so that should be fine. Ok, > > >>> +- res

RE: [PATCH 3/4] Extend the DMA-engine API.

2007-07-11 Thread Zhang Wei-r63237
Hi, Dan, Thanks! I get it. It's so lucky we have the same target. When your patch could be accepted? Cheers, Wei. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Dan Williams > Sent: Thursday, July 12, 2007 12:57 AM > To: Z

RE: [PATCH 1/4] Add DMA sector to Documentation/powerpc/booting-without-of.txt file.

2007-07-11 Thread Zhang Wei-r63237
Hi, > -Original Message- > From: Segher Boessenkool [mailto:[EMAIL PROTECTED] > > > + k) DMA > > + > > + This sector define DMA for dma-engine driver of Freescale > > It's called a "device node" or "node", not a "sector". Ok, "node". > > > +- compatible : Should be "fsl,mpc8

RE: [PATCH 1/4] Add DMA sector to Documentation/powerpc/booting-without-of.txt file.

2007-07-11 Thread Zhang Wei-r63237
Hi, > -Original Message- > From: Wood Scott-B07421 > > On Tue, Jul 10, 2007 at 04:01:19PM +0200, Segher Boessenkool wrote: > > > +- compatible : Should be "fsl,mpc8xxx-dma" > > > > Should _include_, not should _be_. And none of this xxx > > business, of course. > > Especially sin

RE: [PATCH 3/4] Extend the DMA-engine API.

2007-07-11 Thread Zhang Wei-r63237
Hi, Dan, Do you mention here: http://marc.info/?l=linux-raid&m=118290909614463&w=2 ? I see the async_tx is located at crypto/ of the above page, but my patch is for DMA engine in drivers/dma and for DMA engine driver. Thanks! Wei. > -Original Message- > Subject: Re: [PATCH 3/4] Extend t

RE: [PATCH 2/4] Add dma sector to mpc8641hpcn board dts

2007-07-11 Thread Zhang Wei-r63237
> > + [EMAIL PROTECTED] > > "dma-controller" btw. And a space before the "{" (here and > elsewhere) :-) All right! :-) Wei. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

RE: [PATCH 2/4] Add dma sector to mpc8641hpcn board dts

2007-07-11 Thread Zhang Wei-r63237
Hi, Segher, > -Original Message- > From: Segher Boessenkool [mailto:[EMAIL PROTECTED] > > > + [EMAIL PROTECTED] > > + compatible = "fsl,mpc8xxx-dma"; > > Please use a real name, not this "xxx" stuff. Does the "xxx" seems to be an evil name? :-) > > > +

RE: [PATCH 1/5 v2] Add the explanation and a sample of RapidIO DTS sector to the document of booting-without-of.txt file.

2007-06-29 Thread Zhang Wei-r63237
Hi, Segher, > DTS sector to the document of booting-without-of.txt file. > > >>> +- #address-cells : Address representation for > >> "rapidio" devices. > >>> + This field represents the number of cells needed > to represent > >>> + the RapidIO address of the registers. For > >> s

RE: [PATCH 1/5 v2] Add the explanation and a sample of RapidIO DTS sector to the document of booting-without-of.txt file.

2007-06-28 Thread Zhang Wei-r63237
Hi, Segher, > > +- #address-cells : Address representation for > "rapidio" devices. > > + This field represents the number of cells needed to represent > > + the RapidIO address of the registers. For > supporting more than > > + 32-bits RapidIO address, this field should be

RE: [PATCH 3/5 v2] Add the platform device support with RapidIO to MPC8641HPCN platform.

2007-06-27 Thread Zhang Wei-r63237
Hi, Arnd, > > On Wednesday 27 June 2007, Zhang Wei wrote: > > +static struct of_device_id mpc86xx_of_ids[] = { > > +   { .type = "soc", }, > > +   { .compatible = "fsl,rapidio-delta", }, > > +   {}, > > +}; > > + > > +static __init int mpc86xx_of_device_init(void) > > +{ > > +