Re: [RFC] powerpc/mm: honor O_SYNC flag for memory map

2009-11-25 Thread Li Yang
On Wed, Nov 25, 2009 at 7:30 PM, Gabriel Paubert wrote: > On Wed, Nov 25, 2009 at 04:07:46PM +0800, Li Yang wrote: >> On Sun, Nov 22, 2009 at 4:01 AM, Segher Boessenkool >> wrote: >> >>> You need to be a bit more careful tho. You must not allow RAM managed by >

[PATCH] powerpc/mm: honor O_SYNC flag for memory mapping

2009-11-26 Thread Li Yang
cacheable but we can't map it to be cacheable due to the intelligent setting of cacheability. The patch makes the cacheability depend on O_SYNC flag of the file mapped for non-kernel managed memory. Also prints a deprecation warning for mmap users without using O_SYNC. Signed-off-by: Li

Re: [RFC] powerpc/mm: honor O_SYNC flag for memory map

2009-11-30 Thread Li Yang
On Fri, Nov 27, 2009 at 10:30 AM, Paul Mackerras wrote: > Li Yang writes: > >> That's my concern too.  But after all mmap without O_SYNC on I/O >> devices should be deprecated. > > It should?  Why? > > Shouldn't the onus rather be on those proposing an

[PATCH] powerpc/mm: setting mmaped page cache property through device tree

2009-12-01 Thread Li Yang
which is not managed by kernel as cacheable for better performance. Signed-off-by: Li Yang --- Although it will be better if we can come up with a generic solution not only for powerpc arch. Changing the behavior of O_SYNC seems to draw concerns over compatibility of old applications. Suggestion

Re: [PATCH] powerpc/mm: setting mmaped page cache property through device tree

2009-12-01 Thread Li Yang
On Tue, Dec 1, 2009 at 6:58 PM, Benjamin Herrenschmidt wrote: > On Tue, 2009-12-01 at 18:30 +0800, Li Yang wrote: >> The patch adds the ability for powerpc architecture to set page cache >> property of mmaped area through device tree.  This is useful for two >> cases.  Fir

Re: [PATCH] powerpc/mm: setting mmaped page cache property through device tree

2009-12-01 Thread Li Yang
On Tue, Dec 1, 2009 at 10:35 PM, Segher Boessenkool wrote: >> The scenario for the first case is that in a multicore system running >> ASMP which means different OS runs on different cores.  They might >> communicate through a shared memory region.  The region on every OS >> need to be mapped with

Re: [PATCH] powerpc/mm: setting mmaped page cache property through device tree

2009-12-02 Thread Li Yang
On Thu, Dec 3, 2009 at 12:15 PM, Segher Boessenkool wrote: The scenario for the first case is that in a multicore system running ASMP which means different OS runs on different cores.  They might communicate through a shared memory region.  The region on every OS need to be map

[PATCH] powerpc/mm: fix typo of cpumask_clear_cpu()

2009-12-14 Thread Li Yang
The function name of cpumask_clear_cpu was not correct. Reported-by: Jin Qing Signed-off-by: Li Yang --- This also implies that the CONFIG_HOTPLUG_CPU was never tested. We are trying to add cpu hotplug for SMP suspend, but seeing the following error(on 2.6.31 with context patches applied). Any

[PATCH] mpic: fix problem that affinity is not updated

2009-12-16 Thread Li Yang
Since commit 57b150cce8e004ddd36330490a68bfb59b7271e9, desc->affinity of an irq is changed after calling desc->chip->set_affinity. Therefore we need to fix the irq_choose_cpu() not to depend on the desc->affinity for new mask. Signed-off-by: Jiajun Wu Signed-off-by: Li Yang ---

[PATCH] powerpc: fix ioremap_flags() with book3e pte definition

2010-02-04 Thread Li Yang
We can't just clear the user read permission in book3e pte, because that will also clear supervisor read permission. This surely isn't desired. Fix the problem by adding the supervisor read back. Signed-off-by: Li Yang --- arch/powerpc/mm/pgtable_32.c |5 + 1 files

[PATCH] MTD: fix partition scan control logic in physmap_of and fsl_elbc_nand

2008-02-28 Thread Li Yang
The generic rule for partition scan is to try all supported partition types before an usable partition table is found. However the original code returns unsuccessful when there is an error in any of the partition types. Signed-off-by: Li Yang <[EMAIL PROTECTED]> Cc: Stefan Roese <[EMAIL

[PATCH 2/2] Add local bus device nodes to MPC837xMDS device trees.

2008-03-06 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8377_mds.dts | 66 + arch/powerpc/boot/dts/mpc8378_mds.dts | 66 + arch/powerpc/boot/dts/mpc8379_mds.dts | 66 +

[PATCH 1/2] fix wrong USB phy type in mpc837xmds dts

2008-03-06 Thread Li Yang
Due to chip constraint MPC837x USB DR module can only use ULPI and serial PHY interfaces. The patch fixes the wrong type in dts. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8377_mds.dts |4 ++-- arch/powerpc/boot/dts/mpc8378_mds.dts |4 ++-- arch/powerp

RE: [PATCH v2][POWERPC] qe_lib and ucc_geth: switch to the cpm_muram implementation

2008-04-16 Thread Li Yang
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Anton Vorontsov > Sent: Thursday, April 17, 2008 2:22 AM > To: Kumar Gala > Cc: Wood Scott; linuxppc-dev@ozlabs.org; Jeff Garzik; Tabi > Timur; [EMAIL PROTECTED] > Subject: [PATCH v2][POWERPC] qe_li

RE: A question about the 8250/16550 Driver

2008-04-17 Thread Li Yang
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of 旭 罗 > Sent: Thursday, April 17, 2008 3:32 PM > To: Linu PPC Mail list > Cc: Wood Scott > Subject: A question about the 8250/16550 Driver > > Hello: > I have founded that the serial can't be init

RE: [PATCH v2][POWERPC] qe_lib and ucc_geth: switch to the cpm_muram implementation

2008-04-17 Thread Li Yang
> -Original Message- > From: Wood Scott > Sent: Thursday, April 17, 2008 10:11 PM > To: Li Yang > Cc: [EMAIL PROTECTED]; Kumar Gala; > linuxppc-dev@ozlabs.org; Jeff Garzik; Tabi Timur; > [EMAIL PROTECTED] > Subject: Re: [PATCH v2][POWERPC] qe_lib and ucc_geth: sw

RE: [PATCH] MTD: fix partition scan control logic in physmap_ofand fsl_elbc_nand

2008-04-25 Thread Li Yang
> -Original Message- > From: David Woodhouse [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 23, 2008 2:49 AM > To: Li Yang > Cc: [EMAIL PROTECTED]; Stefan Roese; > linuxppc-dev@ozlabs.org > Subject: Re: [PATCH] MTD: fix partition scan control logic in > phy

RE: USB @ MPC834x

2008-05-29 Thread Li Yang
> -Original Message- > From: Andre Schwarz [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 29, 2008 5:51 PM > To: Wood Scott; Li Yang > Cc: linux-ppc list > Subject: USB @ MPC834x > > Scott, Li, > > I'm sorry to bother you again ... but after bring

RE: [PATCH] fix mpc83xx spi prescale modulus calculate

2008-06-20 Thread Li Yang
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Chen Gong > Sent: Friday, June 20, 2008 5:38 PM > To: linuxppc-dev@ozlabs.org > Cc: Chen Gong > Subject: [PATCH] fix mpc83xx spi prescale modulus calculate > > Signed-off-by: Chen Gong <[EMAIL PROTE

[PATCH 2.6.23] 83xx USB platform code rework

2007-07-03 Thread Li Yang
Add 831x USB platform setup code and rework 834x USB platform setup code. Move USB platform code to usb.c for different boards with CPU of the same series to share the USB initialization code. Signed-off-by: Li Yang <[EMAIL PROTECTED]> Signed-off-by: Kim Phillips <[EMAIL PROTECTED]>

[PATCH] powerpc: Fix typo in Ebony default dts

2007-07-09 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- diff --git a/arch/powerpc/boot/dts/ebony.dts b/arch/powerpc/boot/dts/ebony.dts index 0ec02f4..59bbae2 100644 --- a/arch/powerpc/boot/dts/ebony.dts +++ b/arch/powerpc/boot/dts/ebony.dts @@ -31,8 +31,8 @@ re

[PATCH 1/9] add e300c4 entry to cputable

2007-10-10 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/kernel/cputable.c | 13 - 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index b1f8000..d80c365 100644 --- a/arch/powerpc/kernel/cput

[PATCH 7/9] ipic: clean up unsupported ack operations

2007-10-10 Thread Li Yang
IPIC controller doesn't support ack operations. The pending registers are read-only. The patch removes ack operations which are not needed. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/ipic.c | 40 ++-- 1 files changed, 2

[PATCH 8/9] add MPC837x MDS default kernel configuration

2007-10-10 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/configs/mpc837x_mds_defconfig | 878 1 files changed, 878 insertions(+), 0 deletions(-) create mode 100644 arch/powerpc/configs/mpc837x_mds_defconfig diff --git a/arch/powerpc/configs/mpc837x_mds_def

[PATCH 2/9] ipic: add new interrupts introduced by new chip

2007-10-10 Thread Li Yang
These interrupts are introduced by the latest Freescale SoC such as MPC837x. The patch also adds comment to interrupts. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/ipic.c | 224 ++-- arch/powerpc/sysdev/ipic.h |7 +- i

[PATCH 4/9] add platform support for MPC837x MDS board

2007-10-10 Thread Li Yang
The MPC837x MDS is a new member of Freescale MDS reference system. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/platforms/83xx/Kconfig | 12 arch/powerpc/platforms/83xx/Makefile |1 + arch/powerpc/platforms/83xx/mpc837x_mds.c

[PATCH 6/9] add documentation for SerDes nodes

2007-10-10 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- Documentation/powerpc/booting-without-of.txt | 29 ++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt index f

[PATCH 3/9] add Freescale SerDes PHY support

2007-10-10 Thread Li Yang
The SerDes(serializer/deserializer) PHY block is a new SoC block used in Freescale chips to support multiple serial interfaces, such as PCI Express, SGMII, SATA. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/platforms/Kconfig |4 + arch/powerpc/sysdev/Makefile

[PATCH 9/9] add MPC837x MDS board default device tree

2007-10-10 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8377_mds.dts | 288 ++ arch/powerpc/boot/dts/mpc8378_mds.dts | 268 arch/powerpc/boot/dts/mpc8379_mds.dts | 308 + 3 files c

[PATCH 5/9] add documentation for SATA nodes

2007-10-10 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- Documentation/powerpc/booting-without-of.txt | 32 ++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt index 7

[PATCH 3/9 v2] add Freescale SerDes PHY support

2007-10-11 Thread Li Yang
The SerDes(serializer/deserializer) PHY block is a new SoC block used in Freescale chips to support multiple serial interfaces, such as PCI Express, SGMII, SATA. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/platforms/Kconfig |4 + arch/powerpc/sysdev/Makefile

[PATCH 4/9 v2] add platform support for MPC837x MDS board

2007-10-11 Thread Li Yang
The MPC837x MDS is a new member of Freescale MDS reference system. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/platforms/83xx/Kconfig | 12 arch/powerpc/platforms/83xx/Makefile |1 + arch/powerpc/platforms/83xx/mpc837x_mds.c

[PATCH v3 8/9] add MPC837x MDS default kernel configuration

2007-10-12 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/configs/mpc837x_mds_defconfig | 878 1 files changed, 878 insertions(+), 0 deletions(-) create mode 100644 arch/powerpc/configs/mpc837x_mds_defconfig diff --git a/arch/powerpc/configs/mpc837x_mds_def

[PATCH v3 0/9] Add MPC837x generic support and MPC837xE MDS support

2007-10-12 Thread Li Yang
The patch series has been re-built to apply on the latest Linus' HEAD after pulling Paul's for-2.6.24. All comments on list are addressed. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[PATCH v2] drivers/ata: add support to Freescale 3.0Gbps SATA Controller

2007-10-12 Thread Li Yang
From: Ashish Kalra <[EMAIL PROTECTED]> This patch adds support for Freescale 3.0Gbps SATA Controller supporting Native Command Queueing(NCQ), device hotplug, and ATAPI. This controller can be found on MPC8315 and MPC8378. Signed-off-by: Ashish Kalra <[EMAIL PROTECTED]> Signed-off

[PATCH v3 7/9] ipic: clean up unsupported ack operations

2007-10-12 Thread Li Yang
IPIC controller doesn't support ack operations. The pending registers are read-only. The patch removes ack operations which are not needed. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/ipic.c | 40 ++-- 1 files changed, 2

[PATCH v3 5/9] add documentation for SATA nodes

2007-10-12 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- Documentation/powerpc/booting-without-of.txt | 32 ++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt index a

[PATCH v3 4/9] add platform support for MPC837x MDS board

2007-10-12 Thread Li Yang
The MPC837x MDS is a new member of Freescale MDS reference system. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/platforms/83xx/Kconfig | 12 arch/powerpc/platforms/83xx/Makefile |1 + arch/powerpc/platforms/83xx/mpc837x_mds.c

[PATCH v3 2/9] ipic: add new interrupts introduced by new chip

2007-10-12 Thread Li Yang
These interrupts are introduced by the latest Freescale SoC such as MPC837x. The patch also adds comment to interrupts. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/ipic.c | 224 ++-- arch/powerpc/sysdev/ipic.h |7 +- i

[PATCH v3 1/9] add e300c4 entry to cputable

2007-10-12 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/kernel/cputable.c | 13 - 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index d3fb7d0..03b973f 100644 --- a/arch/powerpc/kernel/cput

[PATCH v3 9/9] add MPC837x MDS board default device tree

2007-10-12 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8377_mds.dts | 288 ++ arch/powerpc/boot/dts/mpc8378_mds.dts | 268 arch/powerpc/boot/dts/mpc8379_mds.dts | 308 + 3 files c

[PATCH v3 6/9] add documentation for SerDes nodes

2007-10-12 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- Documentation/powerpc/booting-without-of.txt | 29 ++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt index 8

[PATCH v3 3/9] add Freescale SerDes PHY support

2007-10-12 Thread Li Yang
The SerDes(serializer/deserializer) PHY block is a new SoC block used in Freescale chips to support multiple serial interfaces, such as PCI Express, SGMII, SATA. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/platforms/Kconfig |3 + arch/powerpc/sysdev/Makefile

[PATCH v4 3/9] add Freescale SerDes PHY support

2007-10-15 Thread Li Yang
The SerDes(serializer/deserializer) PHY block is a new SoC block used in Freescale chips to support multiple serial interfaces, such as PCI Express, SGMII, SATA. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/platforms/Kconfig |3 + arch/powerpc/sysdev/Makefile

[PATCH v4 9/9] add MPC837x MDS board default device tree

2007-10-15 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8377_mds.dts | 281 +++ arch/powerpc/boot/dts/mpc8378_mds.dts | 263 + arch/powerpc/boot/dts/mpc8379_mds.dts | 299 + 3 files c

[PATCH v5 9/9] add MPC837x MDS board default device tree

2007-10-18 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- diff --git a/arch/powerpc/boot/dts/mpc8377_mds.dts b/arch/powerpc/boot/dts/mpc8377_mds.dts new file mode 100644 index 000..8530de6 --- /dev/null +++ b/arch/powerpc/boot/dts/mpc8377_mds.dts @@ -0,0 +1,282 @@ +/* + * MPC8377E MDS Device Tree

[PATCH v6 1/9] add e300c4 entry to cputable

2007-10-18 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/kernel/cputable.c | 13 - 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index d3fb7d0..03b973f 100644 --- a/arch/powerpc/kernel/cput

[PATCH v6 2/9] ipic: add new interrupts introduced by new chip

2007-10-18 Thread Li Yang
These interrupts are introduced by the latest Freescale SoC such as MPC837x. The patch also adds comment to interrupts. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/ipic.c | 224 ++-- arch/powerpc/sysdev/ipic.h |7 +- i

[PATCH v6 3/9] add Freescale SerDes PHY support

2007-10-18 Thread Li Yang
The SerDes(serializer/deserializer) PHY block is a new SoC block used in Freescale chips to support multiple serial interfaces, such as PCI Express, SGMII, SATA. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/platforms/Kconfig |3 + arch/powerpc/sysdev/Makefile

[PATCH v6 4/9] add platform support for MPC837x MDS board

2007-10-18 Thread Li Yang
The MPC837x MDS is a new member of Freescale MDS reference system. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/platforms/83xx/Kconfig | 12 arch/powerpc/platforms/83xx/Makefile |1 + arch/powerpc/platforms/83xx/mpc837x_mds.c

[PATCH v6 5/9] add documentation for SATA nodes

2007-10-18 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- Documentation/powerpc/booting-without-of.txt | 32 ++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt index a

[PATCH v6 7/9] ipic: clean up unsupported ack operations

2007-10-18 Thread Li Yang
IPIC controller doesn't support ack operations. The pending registers are read-only. The patch removes ack operations which are not needed. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/ipic.c | 40 ++-- 1 files changed, 2

[PATCH v6 9/9] add MPC837x MDS board default device tree

2007-10-18 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8377_mds.dts | 282 +++ arch/powerpc/boot/dts/mpc8378_mds.dts | 264 + arch/powerpc/boot/dts/mpc8379_mds.dts | 300 + 3 files c

[PATCH v6 resend 9/9] add MPC837x MDS board default device tree

2007-10-18 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- Fix a typo in previous one. arch/powerpc/boot/dts/mpc8377_mds.dts | 282 +++ arch/powerpc/boot/dts/mpc8378_mds.dts | 264 + arch/powerpc/boot/dts/mpc8379_mds.dts

[PATCH v6 8/9] add MPC837x MDS default kernel configuration

2007-10-18 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/configs/mpc837x_mds_defconfig | 878 1 files changed, 878 insertions(+), 0 deletions(-) create mode 100644 arch/powerpc/configs/mpc837x_mds_defconfig diff --git a/arch/powerpc/configs/mpc837x_mds_def

[PATCH v6 6/9] add documentation for SerDes nodes

2007-10-18 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- Documentation/powerpc/booting-without-of.txt | 29 ++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt index 8

[PATCH v7 8/9] add MPC837x MDS default kernel configuration

2007-10-19 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/configs/mpc837x_mds_defconfig | 878 1 files changed, 878 insertions(+), 0 deletions(-) create mode 100644 arch/powerpc/configs/mpc837x_mds_defconfig diff --git a/arch/powerpc/configs/mpc837x_mds_def

[PATCH v7 7/9] ipic: clean up unsupported ack operations

2007-10-19 Thread Li Yang
IPIC controller doesn't support ack operations. The pending registers are read-only. The patch removes ack operations which are not needed. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/ipic.c | 40 ++-- 1 files changed, 2

[PATCH v7 6/9] add documentation for SerDes nodes

2007-10-19 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- Documentation/powerpc/booting-without-of.txt | 29 ++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt index 8

[PATCH v7 4/9] add platform support for MPC837x MDS board

2007-10-19 Thread Li Yang
The MPC837x MDS is a new member of Freescale MDS reference system. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/platforms/83xx/Kconfig | 12 +++ arch/powerpc/platforms/83xx/Makefile |1 + arch/powerpc/platforms/83xx/mpc837x_mds.c

[PATCH v7 3/9] add Freescale SerDes PHY support

2007-10-19 Thread Li Yang
The SerDes(serializer/deserializer) PHY block is a new SoC block used in Freescale chips to support multiple serial interfaces, such as PCI Express, SGMII, SATA. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/platforms/Kconfig |7 ++ arch/powerpc/sysdev/Makefile

[PATCH v7 2/9] ipic: add new interrupts introduced by new chip

2007-10-19 Thread Li Yang
These interrupts are introduced by the latest Freescale SoC such as MPC837x. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/ipic.c | 138 ++-- arch/powerpc/sysdev/ipic.h |7 +- include/asm-powerpc/ipic.h | 12 ++-- 3

[PATCH v7 1/9] add e300c4 entry to cputable

2007-10-19 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/kernel/cputable.c | 13 - 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index d3fb7d0..03b973f 100644 --- a/arch/powerpc/kernel/cput

[PATCH v7 5/9] add documentation for SATA nodes

2007-10-19 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- Documentation/powerpc/booting-without-of.txt | 32 ++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt index a

[PATCH v7 0/9] Add MPC837x generic support and MPC837xE MDS support

2007-10-19 Thread Li Yang
Also includes a patch cleaning up IPIC, which could improve the performance. Hope this is the lucky version with the acceptable DTS's. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[PATCH v7 9/9] add MPC837x MDS board default device tree

2007-10-19 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- Updated pci node. arch/powerpc/boot/dts/mpc8377_mds.dts | 282 +++ arch/powerpc/boot/dts/mpc8378_mds.dts | 264 + arch/powerpc/boot/dts/mpc8379_mds.dts

RE: [PATCH 0/5] fixups for mpc8360 rev. 2.1 erratum #2 (RGMII Timing)

2007-11-20 Thread Li Yang
> -Original Message- > From: Phillips Kim > Sent: Tuesday, November 06, 2007 2:16 AM > To: Li Yang-r58472; Kumar Gala; [EMAIL PROTECTED]; > linuxppc-dev@ozlabs.org > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: [PATCH 0/5] fixups for mpc8360 rev. 2.1 erratu

RE: [PATCH] powerpc: mpc832x mds: Fix board PHY reset code

2007-11-20 Thread Li Yang
> -Original Message- > From: Phillips Kim > Sent: Tuesday, November 20, 2007 9:05 AM > To: Kumar Gala; linuxppc-dev@ozlabs.org > Cc: Van Ackeren Peter; Li Yang > Subject: [PATCH] powerpc: mpc832x mds: Fix board PHY reset code > > currently the board-level PHY re

RE: [PATCH v7 3/9] add Freescale SerDes PHY support

2007-11-20 Thread Li Yang
> -Original Message- > From: Kumar Gala [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 21, 2007 11:32 AM > To: Li Yang > Cc: Paul Mackerras; linuxppc-dev@ozlabs.org; Grant Likely > Subject: Re: [PATCH v7 3/9] add Freescale SerDes PHY support > > > O

RE: [PATCH v7 7/9] ipic: clean up unsupported ack operations

2007-11-30 Thread Li Yang
> -Original Message- > From: Kumar Gala [mailto:[EMAIL PROTECTED] > Sent: Friday, November 30, 2007 8:36 AM > To: Li Yang > Cc: linuxppc-dev@ozlabs.org > Subject: Re: [PATCH v7 7/9] ipic: clean up unsupported ack operations > > > On Oct 19, 2007, at 6:38 AM,

RE: [PATCH v7 9/9] add MPC837x MDS board default device tree

2007-11-30 Thread Li Yang
> -Original Message- > From: Kumar Gala [mailto:[EMAIL PROTECTED] > Sent: Friday, November 30, 2007 8:44 AM > To: Li Yang > Cc: linuxppc-dev@ozlabs.org > Subject: Re: [PATCH v7 9/9] add MPC837x MDS board default device tree > > > On Oct 19, 2007, at 6:38 AM, L

RE: [PATCH 1/3] [POWERPC] Add docs for Freescale 83xx SATA device tree nodes

2007-12-02 Thread Li Yang
> -Original Message- > From: Kumar Gala [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 21, 2007 1:13 PM > To: linuxppc-dev@ozlabs.org > Cc: Segher Boessenkool; Li Yang > Subject: [PATCH 1/3] [POWERPC] Add docs for Freescale 83xx > SATA device tree nodes >

[PATCH] ipic: change ack operation that register is accessed only when needed

2007-12-03 Thread Li Yang
Only external interrupts in edge detect mode support ack operation. Therefore, in most cases ack is not needed. The patch makes ipic ack only when it's needed. This could boost over all system performance. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- Replaces patch: [PATCH 7/9]

[PATCH] add MPC837x MDS default kernel configuration

2007-12-03 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- Updated to remove CONFIG_SERDES. arch/powerpc/configs/mpc837x_mds_defconfig | 875 1 files changed, 875 insertions(+), 0 deletions(-) create mode 100644 arch/powerpc/configs/mpc837x_mds_defconfig diff --git

RE: [PATCH] ipic: change ack operation that register is accessedonly when needed

2007-12-03 Thread Li Yang
> -Original Message- > From: Benjamin Herrenschmidt [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 04, 2007 5:02 AM > To: Li Yang > Cc: [EMAIL PROTECTED]; linuxppc-dev@ozlabs.org > Subject: Re: [PATCH] ipic: change ack operation that register > is acc

RE: [PATCH] ipic: change ack operation that register isaccessedonly when needed

2007-12-03 Thread Li Yang
> -Original Message- > From: Benjamin Herrenschmidt [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 04, 2007 10:16 AM > To: Li Yang > Cc: [EMAIL PROTECTED]; linuxppc-dev@ozlabs.org > Subject: RE: [PATCH] ipic: change ack operation that register > isaccessedonly w

[PATCH] ipic: ack only for edge interrupts

2007-12-04 Thread Li Yang
Only external interrupts in edge detect mode support ack operation. Therefore, in most cases ack is not needed. The patch makes ipic ack only when it's needed. This could boost over all system performance. Signed-off-by: Li Yang <[EMAIL PROTECTED]> Cc: Benjamin Herrenschmidt <[E

RE: [PATCH 2/2] powerpc: Add IPIC MSI support

2007-12-04 Thread Li Yang
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Li Tony > Sent: Tuesday, December 04, 2007 6:39 PM > To: Gala Kumar; Phillips Kim; [EMAIL PROTECTED]; linuxppc-dev > Subject: [PATCH 2/2] powerpc: Add IPIC MSI support > > Modified based on discussi

[PATCH] add MPC837x MDS board default device tree

2007-12-05 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- Update SATA nodes; remove serdes nodes; add aliases and labels. arch/powerpc/boot/dts/mpc8377_mds.dts | 270 +++ arch/powerpc/boot/dts/mpc8378_mds.dts | 256 + arch/powerpc/bo

Re: MPC8313E-RDB and USB OTG

2009-02-25 Thread Li Yang
On Thu, Feb 26, 2009 at 3:51 AM, Michael Bergandi wrote: > Hi all, > > I am hoping someone can shed some light on the state of the USB support in > the > 2.6.28 kernel for USB OTG on the MPC8313E RDB. The configuration options are > a bit different than the ones from the provided LTIB kernel--- fo

Re: MPC8313E-RDB and USB OTG

2009-02-27 Thread Li Yang
On Thu, Feb 26, 2009 at 9:22 PM, Michael Bergandi wrote: > Leo, sorry for sending this twice. Forgot to cc the list. > >> > I am hoping someone can shed some light on the state of the USB support >> > in >> > the >> > 2.6.28 kernel for USB OTG on the MPC8313E RDB. The configuration options >> > ar

Re: [PATCH RFC] powerpc/83xx: Move gianfar mdio nodes under the ethernet nodes

2009-03-03 Thread Li Yang
On Wed, Mar 4, 2009 at 3:38 AM, Anton Vorontsov wrote: > Currently it doesn't matter where the mdio nodes are placed, but with > power management support (i.e. when sleep = <> properties will take > effect), mdio nodes placement will become important: mdio controller > is a part of the ethernet bl

Re: suspend-to-mem on the mpc8349e-mitx-gp?

2009-03-25 Thread Li Yang
On Tue, Mar 24, 2009 at 12:54 AM, Scott Wood wrote: > On Sun, Mar 22, 2009 at 10:45:23PM -0700, Li Yang-R58472 wrote: >> > I don't think so, in this case.  The user is not asking for >> > "sleep" or deep sleep"; they are asking for a power state >>

Re: [PATCH] ucc_geth: Rework the TX logic.

2009-03-27 Thread Li Yang
On Fri, Mar 27, 2009 at 1:44 AM, Joakim Tjernlund wrote: > The line: >  if ((bd == ugeth->txBd[txQ]) && (netif_queue_stopped(dev) == 0)) >       break; > in ucc_geth_tx() didn not make sense to me. Rework & cleanup > this logic to something understandable. > --- > > Reworked the patch according to

Re: [PATCH] ucc_geth: Rework the TX logic.

2009-03-27 Thread Li Yang
On Fri, Mar 27, 2009 at 6:23 PM, Joakim Tjernlund wrote: > pku@gmail.com wrote on 27/03/2009 10:45:12: >> On Fri, Mar 27, 2009 at 1:44 AM, Joakim Tjernlund >> wrote: >> > The line: >> >  if ((bd == ugeth->txBd[txQ]) && (netif_queue_stopped(dev) == 0)) >> >       break; >> > in ucc_geth_tx() d

Re: [PATCH 1/2] ucc_geth: Move freeing of TX packets to NAPI context.

2009-03-27 Thread Li Yang
On Thu, Mar 26, 2009 at 8:54 PM, Joakim Tjernlund wrote: > Also set NAPI weight to 64 as this is a common value. > This will make the system alot more responsive while > ping flooding the ucc_geth ethernet interaface. > > Signed-off-by: Joakim Tjernlund > --- >  drivers/net/ucc_geth.c |   32

Re: [PATCH 1/2] ucc_geth: Move freeing of TX packets to NAPI context.

2009-03-30 Thread Li Yang
On Mon, Mar 30, 2009 at 3:48 PM, Joakim Tjernlund wrote: > pku@gmail.com wrote on 30/03/2009 09:36:21: >> >> On Fri, Mar 27, 2009 at 7:52 PM, Joakim Tjernlund >> wrote: >> > pku@gmail.com wrote on 27/03/2009 11:50:09: >> >> >> >> On Thu, Mar 26, 2009 at 8:54 PM, Joakim Tjernlund >> >> wr

Re: [PATCH 1/2] ucc_geth: Move freeing of TX packets to NAPI context.

2009-03-30 Thread Li Yang
On Fri, Mar 27, 2009 at 7:52 PM, Joakim Tjernlund wrote: > pku@gmail.com wrote on 27/03/2009 11:50:09: >> >> On Thu, Mar 26, 2009 at 8:54 PM, Joakim Tjernlund >> wrote: >> > Also set NAPI weight to 64 as this is a common value. >> > This will make the system alot more responsive while >> > pi

Re: [PATCH] ucc_geth: Move freeing of TX packets to NAPI context.

2009-03-30 Thread Li Yang
On Thu, Mar 26, 2009 at 1:51 AM, Joakim Tjernlund wrote: > Anton Vorontsov wrote on 25/03/2009 15:25:40: >> On Wed, Mar 25, 2009 at 02:30:49PM +0100, Joakim Tjernlund wrote: >> > >>From 1c2f23b1f37f4818c0fd0217b93eb38ab6564840 Mon Sep 17 00:00:00 > 2001 >> > From: Joakim Tjernlund >> > Date: Tue

Re: [PATCH] ucc_geth: Move freeing of TX packets to NAPI context.

2009-03-30 Thread Li Yang
On Mon, Mar 30, 2009 at 6:01 PM, Joakim Tjernlund wrote: > pku@gmail.com wrote on 30/03/2009 11:36:36: >> >> On Mon, Mar 30, 2009 at 5:21 PM, Joakim Tjernlund >> wrote: >> > pku@gmail.com wrote on 30/03/2009 10:34:47: >> >> >> >> On Thu, Mar 26, 2009 at 1:51 AM, Joakim Tjernlund >> >> wr

Re: [PATCH] ucc_geth: Move freeing of TX packets to NAPI context.

2009-03-30 Thread Li Yang
On Mon, Mar 30, 2009 at 5:21 PM, Joakim Tjernlund wrote: > pku@gmail.com wrote on 30/03/2009 10:34:47: >> >> On Thu, Mar 26, 2009 at 1:51 AM, Joakim Tjernlund >> wrote: >> > Anton Vorontsov wrote on 25/03/2009 > 15:25:40: >> >> On Wed, Mar 25, 2009 at 02:30:49PM +0100, Joakim Tjernlund wrote

Re: [PATCH] ucc_geth: Rework the TX logic.

2009-03-31 Thread Li Yang
On Tue, Mar 31, 2009 at 1:22 AM, Scott Wood wrote: > Joakim Tjernlund wrote: >> >> gianfar does not seem to use in_/out_ functions for the BDs. Works just >> fine that too it seems. > > It does now that it has explicit barriers in a few places.  Before they were > added, it would sometimes fail un

Re: [PATCH] ucc_geth: Rework the TX logic.

2009-03-31 Thread Li Yang
On Tue, Mar 31, 2009 at 5:07 PM, Joakim Tjernlund wrote: > Scott Wood wrote on 30/03/2009 21:32:23: >> >> Joakim Tjernlund wrote: >> >> different since descriptors are in MURAM which is ioremap()ed -- > though >> >> switching to a cacheable mapping with barriers should be a > performance >> >> im

Re: [PATCH] [net, 83xx] ucc_geth.c: Fix upsmr setting in RMII mode

2009-04-21 Thread Li Yang
On Tue, Apr 21, 2009 at 4:36 PM, Heiko Schocher wrote: > If using the UCC on a MPC8360 in RMII mode, don;t set > UCC_GETH_UPSMR_RPM bit in the upsmr register. > > Signed-off-by: Heiko Schocher Acked-by: Li Yang > --- >  drivers/net/ucc_geth.c |    3 ++- >  1 files change

Re: [PATCH] fsldma: use PCI Read Multiple command

2009-04-27 Thread Li Yang
over the PCI bus. Using DMA to transfer between blocks of > local SDRAM showed no change in performance with this patch. The dmatest > driver was also used to verify the correctness of the transfers, and showed > no errors. > > Signed-off-by: Ir

Re: [PATCH] fsldma: use PCI Read Multiple command

2009-04-27 Thread Li Yang
On Mon, Apr 27, 2009 at 5:09 PM, Liu Dave-R63238 wrote: >> By default, the Freescale 83xx DMA controller uses the PCI Read Line >> command when reading data over the PCI bus. Setting the >> controller to use the PCI Read Multiple command instead allows the >> controller to read much larger bursts

[PATCH] powerpc/fsl_rio: use LAW address from device tree

2009-04-28 Thread Li Yang
Instead of fixed address in old code. Signed-off-by: Li Yang --- arch/powerpc/sysdev/fsl_rio.c | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl_rio.c index abdb124..fa0720f 100644 --- a/arch/powerpc

[PATCH] powerpc: add memory map support to Freescale RapioIO block

2009-04-28 Thread Li Yang
The RIO memory map functions are used to support direct IO memory access to RapidIO space. The patch adds its support for Freescale RapidIO block driver. Signed-off-by: Zhang Wei Signed-off-by: Li Yang --- arch/powerpc/sysdev/fsl_rio.c | 217 - 1 files

Re: [PATCH] rio: warn_unused_result warnings fix

2009-04-28 Thread Li Yang
On Tue, Apr 28, 2009 at 6:51 PM, Michael Ellerman wrote: > On Tue, 2009-04-28 at 18:15 +0800, Li Yang wrote: >> warning: ignoring return value of 'device_add', declared with attribute >> warn_unused_result >> warning: ignoring return value of 'sysfs_create_bi

[PATCH] rapidio: add common mapping APIs for RapidIO memory access

2009-04-28 Thread Li Yang
Add the mapping functions used to support direct IO memory access of rapidIO. Signed-off-by: Zhang Wei Signed-off-by: Li Yang --- drivers/rapidio/rio.c | 95 +++ include/linux/rio.h | 25 include/linux/rio_drv.h | 24

<    1   2   3   4   5   6   >