RE: [PATCH] fsldma: The MPC8377MDS board device tree node for fsldma driver

2008-03-27 Thread Zhang Wei
I'll send it to to. > -Original Message- > From: Kumar Gala [mailto:[EMAIL PROTECTED] > Sent: Friday, March 28, 2008 10:24 AM > To: Dan Williams > Cc: Zhang Wei; Andrew Morton; Linux Kernel; linuxppc-dev@ozlabs.org > Subject: Re: [PATCH] fsldma: The MPC8377MDS bo

RE: [PATCH] fsldma: The MPC8377MDS board device tree node for fsldma driver

2008-03-27 Thread Zhang Wei
3:38 AM > To: Zhang Wei; Andrew Morton > Cc: Linux Kernel; Kumar Gala; linuxppc-dev@ozlabs.org > Subject: Re: [PATCH] fsldma: The MPC8377MDS board device tree > node for fsldma driver > > On Wed, Mar 26, 2008 at 12:42 AM, Zhang Wei > <[EMAIL PROTECTED]> wrote: > &

RE: [PATCH] [POWERPC] Introduce lowmem_end_addr to distiguish fromtotal_lowmem

2008-03-24 Thread Zhang Wei
Hi, Kumar, > -Original Message- > From: [EMAIL PROTECTED] > > total_lowmem represents the amount of low memory not the > physical address > that low memory ends at. If the start of memory is at 0 it > happends that > total_lowmem can be used as both the size and the address that lowme

[PATCH 14/17] Add the RapidIO master port maintance and doorbell window to space resources.

2008-03-11 Thread Zhang Wei
Add the RapidIO master port maintance and doorbell IO windows to RIO space resources. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c | 26 +- include/linux/rio.h |1 + 2 files changed, 22 insertions(+), 5 deletions(-)

[PATCH 17/17] Add the memory mapping support in rionet driver.

2008-03-11 Thread Zhang Wei
The user can select memory mapping mode or message mode in CONFIG. It is also an example to how-to use memory mapping driver for RapidIO. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- drivers/net/Kconfig | 10 ++ drivers/net/rionet.c

[PATCH 15/17] Add RapidIO proc fs for memory mapping debugging.

2008-03-11 Thread Zhang Wei
Get RapidIO space resource by catting /proc/riores. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- drivers/rapidio/Kconfig |8 +++ drivers/rapidio/rio.c | 121 +++ 2 files changed, 129 insertions(+), 0 deletions(-) diff --git a/d

[PATCH 16/17] Change RapidIO doorbell source and target ID field to 16-bit.

2008-03-11 Thread Zhang Wei
Change RapidIO doorbell source and target ID field to 16-bit for support large system size, which max rio devid is 65535. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/p

[PATCH 13/17] Add FSL RapidIO controller memory ops functions.

2008-03-11 Thread Zhang Wei
Add FSL RapidIO controller (MPC85xx, MPC86xx) memory operation functions, which include map inbound/outbound window and unmap incound/outbound window. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c | 204 + 1 files c

[PATCH 12/17] Add RapidIO space allocation bitmap arithmetic.

2008-03-11 Thread Zhang Wei
The bitmap is the simplest RapidIO space allocation arithmetic. It uses the fixed size space for each RapidIO device in the inter-connection network. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c | 11 + drivers/rapidio/Kconfig

[PATCH 11/17] Add memory mapping driver to RapidIO.

2008-03-11 Thread Zhang Wei
other RapidIO device through inbound window. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c |4 +- drivers/rapidio/rio.c | 362 + include/linux/rio.h | 39 + include/linux/rio_drv.h

[PATCH 09/17] Add serial RapidIO controller support, which includes MPC8548, MPC8641.

2008-03-11 Thread Zhang Wei
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c | 75 +++-- include/linux/rio.h |6 +++ 2 files changed, 70 insertions(+), 11 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl

[PATCH 05/17] Add OF-tree support to RapidIO controller driver.

2008-03-11 Thread Zhang Wei
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/kernel/Makefile |1 - arch/powerpc/kernel/rio.c | 52 --- arch/powerpc/sysdev/fsl_rio.c | 110 ++--- arch/powerpc/sysdev/fsl_rio.h | 20 --- 4 files change

[PATCH 07/17] Add RapidIO node into MPC8641HPCN dts file

2008-03-11 Thread Zhang Wei
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8641_hpcn.dts | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts b/arch/powerpc/boot/dts/mpc8641_hpcn.dts index 79385bc..4b296af 100644 ---

[PATCH 10/17] Add RapidIO connection info print out and re-training for break connection.

2008-03-11 Thread Zhang Wei
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c | 71 + 1 files changed, 71 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl_rio.c index 935822a..dca8eea 100644 ---

[PATCH 06/17] Change the kernel configurated RapidIO system size to auto-probing.

2008-03-11 Thread Zhang Wei
The RapidIO system size will auto probe in RIO setup. The route table and rionet_active in rionet.c are changed to be allocated dynamically according the system size. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c |6 drivers/net/rionet.c

[PATCH 04/17] Add RapidIO multi mport support.

2008-03-11 Thread Zhang Wei
multi RIO OF-nodes in dts file for multi RapidIO controller in one processor, such as PCI/PCI-Ex host controllers in Freescale's silicon. And the mport operation function declaration should be changed to know which RapidIO controller is target. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]

[PATCH 08/17] Add RapidIO node probing into MPC86xx_HPCN board id table.

2008-03-11 Thread Zhang Wei
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/platforms/86xx/mpc86xx_hpcn.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c index cfbe8c5..4a3e421 100644 ---

[PATCH 03/17] Move include/asm-ppc/rio.h to include/asm-powerpc/rio.h

2008-03-11 Thread Zhang Wei
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- include/asm-powerpc/rio.h | 18 ++ include/asm-ppc/rio.h | 18 -- 2 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 include/asm-powerpc/rio.h delete mode 100644 include/asm-ppc

[PATCH 01/17] Change RIO function mpc85xx_ to fsl_ .

2008-03-11 Thread Zhang Wei
The driver is also fit for Freescale MPC8641 processor. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c | 80 1 files changed, 40 insertions(+), 40 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/p

[PATCH 02/17] Add RapidIO option to kernel configuration.

2008-03-11 Thread Zhang Wei
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/Kconfig| 13 + arch/powerpc/platforms/86xx/Kconfig |1 + 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 1189d8d..88f8b6c 100644

RE: [PATCH 11/17] Add memory mapping driver to RapidIO.

2008-03-11 Thread Zhang Wei
Hi, Stephen, I've updated those patches with fixing up. Thanks! Wei. > -Original Message- > From: Stephen Rothwell [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 05, 2008 10:52 AM > To: Zhang Wei > Cc: linuxppc-dev@ozlabs.org; [EMAIL PROTECTED] > Subject

RE: [PATCH 11/17] Add memory mapping driver to RapidIO.

2008-03-04 Thread Zhang Wei
Hi, Stephen, Thanks! I'm considering to commit a updated patch or new code cleaning patch. How about your idea? Cheers! Wei > -Original Message- > From: Stephen Rothwell [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 04, 2008 6:38 PM > To: Zhang Wei > Cc: [EMAI

[PATCH 17/17] Add the memory mapping support in rionet driver.

2008-03-04 Thread Zhang Wei
The user can select memory mapping mode or message mode in CONFIG. It is also an example to how-to use memory mapping driver for RapidIO. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- drivers/net/Kconfig | 10 ++ drivers/net/rionet.c

[PATCH 16/17] Change RapidIO doorbell source and target ID field to 16-bit.

2008-03-04 Thread Zhang Wei
Change RapidIO doorbell source and target ID field to 16-bit for support large system size, which max rio devid is 65535. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/p

[PATCH 15/17] Add RapidIO proc fs for memory mapping debugging.

2008-03-04 Thread Zhang Wei
Get RapidIO space resource by catting /proc/riores. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- drivers/rapidio/Kconfig |8 +++ drivers/rapidio/rio.c | 119 +++ 2 files changed, 127 insertions(+), 0 deletions(-) diff --git a/d

[PATCH 14/17] Add the RapidIO master port maintance and doorbell window to space resources.

2008-03-04 Thread Zhang Wei
Add the RapidIO master port maintance and doorbell IO windows to RIO space resources. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c | 26 +- include/linux/rio.h |1 + 2 files changed, 22 insertions(+), 5 deletions(-)

[PATCH 13/17] Add FSL RapidIO controller memory ops functions.

2008-03-04 Thread Zhang Wei
Add FSL RapidIO controller (MPC85xx, MPC86xx) memory operation functions, which include map inbound/outbound window and unmap incound/outbound window. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c | 202 + 1 files c

[PATCH 12/17] Add RapidIO space allocation bitmap arithmetic.

2008-03-04 Thread Zhang Wei
The bitmap is the simplest RapidIO space allocation arithmetic. It uses the fixed size space for each RapidIO device in the inter-connection network. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c | 11 + drivers/rapidio/Kconfig

[PATCH 11/17] Add memory mapping driver to RapidIO.

2008-03-04 Thread Zhang Wei
other RapidIO device through inbound window. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c |4 +- drivers/rapidio/rio.c | 357 + include/linux/rio.h | 39 + include/linux/rio_drv.h

[PATCH 10/17] Add RapidIO connection info print out and re-training for break connection.

2008-03-04 Thread Zhang Wei
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c | 71 + 1 files changed, 71 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl_rio.c index 1535d12..585f7d2 100644 ---

[PATCH 09/17] Add serial RapidIO controller support, which includes MPC8548, MPC8641.

2008-03-04 Thread Zhang Wei
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c | 74 +++- include/linux/rio.h |6 +++ 2 files changed, 70 insertions(+), 10 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl

[PATCH 05/17] Add OF-tree support to RapidIO controller driver.

2008-03-04 Thread Zhang Wei
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/kernel/Makefile |1 - arch/powerpc/kernel/rio.c | 52 --- arch/powerpc/sysdev/fsl_rio.c | 110 ++--- arch/powerpc/sysdev/fsl_rio.h | 20 --- 4 files change

[PATCH 08/17] Add RapidIO node probing into MPC86xx_HPCN board id table.

2008-03-04 Thread Zhang Wei
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/platforms/86xx/mpc86xx_hpcn.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c index cfbe8c5..4a3e421 100644 ---

[PATCH 07/17] Add RapidIO node into MPC8641HPCN dts file

2008-03-04 Thread Zhang Wei
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8641_hpcn.dts | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts b/arch/powerpc/boot/dts/mpc8641_hpcn.dts index 79385bc..4b296af 100644 ---

[PATCH 06/17] Change the kernel configurated RapidIO system size to auto-probing.

2008-03-04 Thread Zhang Wei
The RapidIO system size will auto probe in RIO setup. The route table and rionet_active in rionet.c are changed to be allocated dynamically according the system size. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c |6 + drivers/net/rionet.c

[PATCH 04/17] Add RapidIO multi mport support.

2008-03-04 Thread Zhang Wei
multi RIO OF-nodes in dts file for multi RapidIO controller in one processor, such as PCI/PCI-Ex host controllers in Freescale's silicon. And the mport operation function declaration should be changed to know which RapidIO controller is target. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]

[PATCH 03/17] Move include/asm-ppc/rio.h to include/asm-powerpc/rio.h

2008-03-04 Thread Zhang Wei
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- include/asm-powerpc/rio.h | 18 ++ include/asm-ppc/rio.h | 18 -- 2 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 include/asm-powerpc/rio.h delete mode 100644 include/asm-ppc

[PATCH 01/17] Change RIO function mpc85xx_ to fsl_ .

2008-03-04 Thread Zhang Wei
The driver is also fit for Freescale MPC8641 processor. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c | 80 1 files changed, 40 insertions(+), 40 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/p

[PATCH 02/17] Add RapidIO option to kernel configuration.

2008-03-04 Thread Zhang Wei
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/Kconfig| 13 + arch/powerpc/platforms/86xx/Kconfig |1 + 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 485513c..70789e8 100644

RE: [PATCH 4/6] Add multi mport support.

2008-02-17 Thread Zhang Wei
Hi, Matt, So glad to see you again! > -Original Message- > From: Matt Porter [mailto:[EMAIL PROTECTED] > On Thu, Jan 31, 2008 at 02:30:13PM +0800, Zhang Wei wrote: > > > -Original Message- > > > From: Kumar Gala [mailto:[EMAIL PROTECTED] > >

RE: [PATCH 5/6] Add OF-tree support to RapidIO controller driver.

2008-02-17 Thread Zhang Wei
> -Original Message- > From: Kumar Gala [mailto:[EMAIL PROTECTED] > > > On Feb 4, 2008, at 11:44 PM, Stephen Rothwell wrote: > > >> > >> + aw = *(u32 *)of_get_property(dev->node, "#address-cells", NULL); > >> + sw = *(u32 *)of_get_property(dev->node, "#size-cells", NULL); > > > > W

RE: [PATCH 1/2] Add RapidIO node into MPC8641HPCN dts file

2008-01-31 Thread Zhang Wei
Hi, Jon, > -Original Message- > From: Loeliger Jon > > Zhang Wei wrote: > > Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> > > --- > > arch/powerpc/boot/dts/mpc8641_hpcn.dts | 13 + > > 1 files changed, 13 insertions(+), 0 delet

RE: [PATCH 4/6] Add multi mport support.

2008-01-31 Thread Zhang Wei
Hi, Phil, > -Original Message- > From: Phil Terry [mailto:[EMAIL PROTECTED] > > On Thu, 2008-01-31 at 14:30 +0800, Zhang Wei wrote: > > > > > > > > I consider each RIO controller will has its own network, > the device IDs > > should be &

RE: [PATCH 1/2] Add RapidIO node into MPC8641HPCN dts file

2008-01-31 Thread Zhang Wei
> -Original Message- > From: Loeliger Jon > > Zhang Wei wrote: > > Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> > > --- > > arch/powerpc/boot/dts/mpc8641_hpcn.dts | 13 + > > 1 files changed, 13 insertions(+), 0 deletions(-) &

RE: [PATCH 1/2] Add RapidIO node into MPC8641HPCN dts file

2008-01-31 Thread Zhang Wei
Hi, Jon, > -Original Message- > From: Loeliger Jon > > Zhang Wei wrote: > > Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> > > --- > > arch/powerpc/boot/dts/mpc8641_hpcn.dts | 13 + > > 1 files changed, 13 insertions(+), 0 delet

RE: [PATCH 1/2] Add RapidIO node into MPC8641HPCN dts file

2008-01-30 Thread Zhang Wei
Sorry for wrong sending name of this and next email. Best Regards, Wei. > -Original Message- > From: y [mailto:y] > Sent: Thursday, January 31, 2008 3:45 PM > To: [EMAIL PROTECTED] > Cc: linuxppc-dev@ozlabs.org; Zhang Wei > Subject: [PATCH 1/2] Add RapidIO node in

[PATCH 2/2] Add RapidIO node probing into MPC86xx_HPCN board id table.

2008-01-30 Thread Zhang Wei
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/platforms/86xx/mpc86xx_hpcn.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c index cfbe8c5..4a3e421 100644 ---

[PATCH 1/2] Add RapidIO node into MPC8641HPCN dts file

2008-01-30 Thread Zhang Wei
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8641_hpcn.dts | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts b/arch/powerpc/boot/dts/mpc8641_hpcn.dts index 556a9ca..1a0fce5 100644 ---

RE: [PATCH 1/6] Change RIO function mpc85xx_ to fsl_ .

2008-01-30 Thread Zhang Wei
ilto:[EMAIL PROTECTED] > Sent: Wednesday, January 30, 2008 10:44 PM > To: Zhang Wei > Cc: [EMAIL PROTECTED]; > [EMAIL PROTECTED]; linuxppc-dev@ozlabs.org > Subject: Re: [PATCH 1/6] Change RIO function mpc85xx_ to fsl_ . > > Can you post a device tree update as well. >

RE: [PATCH 4/6] Add multi mport support.

2008-01-30 Thread Zhang Wei
> -Original Message- > From: Kumar Gala [mailto:[EMAIL PROTECTED] > > On Jan 31, 2008, at 12:15 AM, Kumar Gala wrote: > > > > > On Jan 30, 2008, at 11:57 PM, Zhang Wei wrote: > > > >> > >> > >>> -Origin

RE: [PATCH 4/6] Add multi mport support.

2008-01-30 Thread Zhang Wei
> -Original Message- > From: Kumar Gala [mailto:[EMAIL PROTECTED] > > On Jan 30, 2008, at 4:30 AM, Zhang Wei wrote: > > > Change lots of static variable to mport private. And add > mport to some > > function declaration. > > Can you explai

RE: [PATCH 3/6] Move include/asm-ppc/rio.h to include/asm-powerpc/rio.h

2008-01-30 Thread Zhang Wei
> -Original Message- > From: Kumar Gala [mailto:[EMAIL PROTECTED] > On Jan 30, 2008, at 4:30 AM, Zhang Wei wrote: > > > Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> > > --- > > include/asm-powerpc/rio.h | 18 ++

[PATCH 6/6] Change the kernel configurated RapidIO system size to auto-probing.

2008-01-30 Thread Zhang Wei
The RapidIO system size will auto probe in RIO setup. The route table and rionet_active in rionet.c are changed to be allocated dynamically according the system size. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c |6 + drivers/net/rionet.c

[PATCH 1/6] Change RIO function mpc85xx_ to fsl_ .

2008-01-30 Thread Zhang Wei
The driver is also fit for Freescale MPC8641 processor. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c | 80 1 files changed, 40 insertions(+), 40 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/p

[PATCH 5/6] Add OF-tree support to RapidIO controller driver.

2008-01-30 Thread Zhang Wei
Now, RapidIO driver for powerpc architecture is also support OF-device. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/kernel/Makefile |1 - arch/powerpc/kernel/rio.c | 52 - arch/powerpc/sysdev/fsl_rio.c

[PATCH 4/6] Add multi mport support.

2008-01-30 Thread Zhang Wei
Change lots of static variable to mport private. And add mport to some function declaration. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c | 353 +++-- drivers/rapidio/rio-access.c | 10 +- include/linux

[PATCH 3/6] Move include/asm-ppc/rio.h to include/asm-powerpc/rio.h

2008-01-30 Thread Zhang Wei
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- include/asm-powerpc/rio.h | 18 ++ include/asm-ppc/rio.h | 18 -- 2 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 include/asm-powerpc/rio.h delete mode 100644 include/asm-ppc

[PATCH 2/6] Add RapidIO option to kernel configuration.

2008-01-30 Thread Zhang Wei
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/Kconfig| 13 + arch/powerpc/platforms/86xx/Kconfig |1 + 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 47fe256..ad07964 100644

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

2008-01-04 Thread Zhang Wei
a quick note about some more trivial things. > > On Fri, 21 Dec 2007 17:58:43 +0800 Zhang Wei > <[EMAIL PROTECTED]> wrote: > > > > +struct rio_priv { > > + volatile void __iomem *regs_win; > > + volatile struct rio_atmu_regs __iomem *atmu_regs;

[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 +- d

[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

RE: [0/3] Add RapidIO support to powerpc architecture with memory mapping

2007-12-19 Thread Zhang Wei
I've sent it... Oops, it's be blocked by big size. Thanks! I'll resend it. Cheers! Wei > -Original Message- > From: Randy Vinson [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 20, 2007 6:52 AM > To: Zhang Wei > Cc: linuxppc-dev@ozlabs.org &g

[PATCH 3/3] Add memory mapping support to rionet driver.

2007-12-13 Thread Zhang Wei
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- drivers/net/Kconfig | 10 ++ drivers/net/rionet.c | 337 +- 2 files changed, 345 insertions(+), 2 deletions(-) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index e8d69b0..b1129cc

[PATCH 1/3] Move arch/ppc/syslib/ppc85xx_rio.c to arch/powerpc/sysdev/fsl_rio.c

2007-12-13 Thread Zhang Wei
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c | 932 + 1 files changed, 932 insertions(+), 0 deletions(-) create mode 100644 arch/powerpc/sysdev/fsl_rio.c diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/

[0/3] Add RapidIO support to powerpc architecture with memory mapping

2007-12-13 Thread Zhang Wei
rionet driver. Best Regards, Zhang Wei ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

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

[PATCH 2/2 v2] Add DMA engine and SOC device support to mpc8641hpcn board

2007-10-30 Thread Zhang Wei
Add DMA engine and SOC device support to mpc8641hpcn board Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> Signed-off-by: Ebony Zhu <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8641_hpcn.dts | 32 arch/powerpc/platforms/86xx/mpc86xx_h

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

2007-10-30 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 | 59 +++

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

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

2007-09-07 Thread Zhang Wei
PC8540/60, MPC8555, MPC8548, MPC8641 and so on. The support for MPC83xx(MPC8349, MPC8360) is experimental. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> Signed-off-by: Ebony Zhu <[EMAIL PROTECTED]> --- drivers/dma/Kconfig |8 + drivers/dma/Makefile |1

[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/platform

[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

[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/MAINT

[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 +++

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

2007-09-07 Thread Zhang Wei
] Add DMA of-node to mpc8641hpcn board dts [PATCH 4/5] Add of-device and DMA bus support to MPC8641HPCN board. [PATCH 5/5] Add DMA engine driver for Freescale MPC85xx processors. Best Regards, Zhang Wei ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org

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
/linuxppc-dev/2007-July/039897.html [PATCH 3/3] Add irq debugfs and virq_mapping for getting the virq URL: http://ozlabs.org/pipermail/linuxppc-dev/2007-July/039895.html Thanks! Best Regards, Zhang Wei > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED

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

[PATCH 2/2] Remove ULI chip quirks functions from MPC8641HPCN and MPC8544DS boards.

2007-08-01 Thread Zhang Wei
Remove ULI chip quirks functions from MPC8641HPCN and MPC8544DS boards. Use common quirks functions instead. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> Signed-off-by: Roy Zang <[EMAIL PROTECTED]> --- arch/powerpc/platforms/85xx/Kconfig|1 + arch/powerpc/platforms/85xx/

[PATCH 1/2] Add sysdev/pci_quirks.c file into PowerPC architecture with ULI chip quirk functions.

2007-08-01 Thread Zhang Wei
Add sysdev/pci_quirks.c file into PowerPC architecture with ULI chip quirk functions. We add generic quirk functions for ULI chips from individual platform into arch/powerpc/sysdev/pci_quirks.c file. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> Signed-off-by: Roy Zang <[EMAIL

[PATCH 0/2] Use common quirks routines for ULI chips

2007-08-01 Thread Zhang Wei
functions from MPC8641HPCN and MPC8544DS boards. Best Regards, Zhang Wei ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

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

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

2007-07-26 Thread Zhang Wei
changed to master port private variables. Multi master ports are supported. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/Kconfig |8 + arch/powerpc/kernel/Makefile |1 + arch/powerpc/kernel/rio.c | 64 ++ arch/powerpc/sysdev/Makefile |1 + arch/p

[PATCH 5/5 v3] Add the memory management driver to RapidIO.

2007-07-26 Thread Zhang Wei
This patch adds the memory management driver to RapidIO. The RapidIO system size is changed to automatically detection. Add the memory mapping driver to RapidIO basic driver. Multi master ports are supported. Add a simple Bitmap RapidIO space allocator driver. Signed-off-by: Zhang Wei <[EM

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

2007-07-26 Thread Zhang Wei
Add the platform device support with RapidIO to MPC8641HPCN platform. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/platforms/86xx/mpc86xx_hpcn.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpc

[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-26 Thread Zhang Wei
Add the explanation and a sample of RapidIO OF node to the document of booting-without-of.txt file. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- Documentation/powerpc/booting-without-of.txt | 37 ++ 1 files changed, 37 insertions(+), 0 deletions(-) diff -

[PATCH 2/5 v3] Add RapidIO OF-node to the MPC8641HPCN board dts file.

2007-07-26 Thread Zhang Wei
Add RapidIO OF-node to the MPC8641HPCN board dts file. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8641_hpcn.dts | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts b/arch/powerpc/bo

  1   2   >