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

2009-11-16 Thread Li Yang
Rather than the original intelligent way, we grant user more freedom. This enables user to map cacheable memory not managed by Linux. Signed-off-by: Li Yang le...@freescale.com --- The only direct users of this function is fb_mmap() and /dev/mem mmap. Although I'm not sure if anything

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

2009-11-20 Thread Li Yang
On Fri, Nov 20, 2009 at 5:03 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Fri, 2009-11-20 at 11:00 +0800, Li Yang-R58472 wrote: Because there is no way to set mapped memory as cacheable if the memory is not managed by Linux kernel.  While, it's not rare in real system

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

2009-11-25 Thread Li Yang
On Sun, Nov 22, 2009 at 4:01 AM, Segher Boessenkool seg...@kernel.crashing.org wrote: You need to be a bit more careful tho. You must not allow RAM managed by the kernel to be mapped non-cachable. Even if the user explicitly sets the O_SYNC flag?  IMHO, it's a bug of the application if it

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 paub...@iram.es 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 seg...@kernel.crashing.org wrote: You need to be a bit more careful tho. You must not allow RAM managed

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

2009-11-26 Thread Li Yang
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 Yang le

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 pau...@samba.org 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 incompatible change to the kernel ABI

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

2009-12-01 Thread Li Yang
is not managed by kernel as cacheable for better performance. Signed-off-by: Li Yang le...@freescale.com --- 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

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 b...@kernel.crashing.org 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.  First

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 seg...@kernel.crashing.org 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

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 seg...@kernel.crashing.org 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

[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 b24...@freescale.com Signed-off-by: Li Yang le...@freescale.com --- 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

[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 b06...@freescale.com Signed-off-by: Li Yang le

[PATCH] powerpc/mpc8313erdb: fix kernel panic because mdio device is not probed

2009-01-21 Thread Li Yang
Probe the new mdio node added by b31a1d8b. Fix kernel panic problem when gianfar driver wants to get the of_platform_device of that mdio. Signed-off-by: Li Yang le...@freescale.com --- Supersede the patch to add simple-bus to gianfar node to fix this problem. arch/powerpc/boot/dts

Re: [PATCH 2/2] powerpc/83xx: Fix TSEC0 workability on MPC8313E-RDB boards

2009-02-08 Thread Li Yang
On Fri, Feb 6, 2009 at 4:10 AM, Anton Vorontsov avoront...@ru.mvista.com wrote: TSEC0 is connected to Vitesse 7385 5-port switch. The switch isn't connected to any mdio bus, the link to the switch is fixed to Full-duplex 1000 Mb/s (no pause). It's a complex case for RDB boards. The revision A

Re: [PATCH] fix the interrupt loss problem on powerpc IPIC (2.6.23)

2009-02-17 Thread Li Yang
On Tue, Feb 17, 2009 at 10:12 PM, Kumar Gala ga...@kernel.crashing.org wrote: On Feb 17, 2009, at 6:44 AM, d...@datangmobile.cn d...@datangmobile.cn wrote: From: Da Yu d...@datangmobile.cn Date: Tue, 17 Feb 2009 19:58:20 +0800 Subject: [PATCH] fix the interrupt loss problem on powerpc IPIC

Re: [PATCH] fix the interrupt loss problem on powerpc IPIC (2.6.23)

2009-02-17 Thread Li Yang
On Tue, Feb 17, 2009 at 10:32 PM, Josh Boyer jwbo...@linux.vnet.ibm.com wrote: On Tue, Feb 17, 2009 at 08:12:33AM -0600, Kumar Gala wrote: On Feb 17, 2009, at 6:44 AM, d...@datangmobile.cn d...@datangmobile.cn wrote: From: Da Yu d...@datangmobile.cn Date: Tue, 17 Feb 2009 19:58:20 +0800

Re: Newby trying to get Ethernet going on MPC83xx series device.

2009-02-18 Thread Li Yang
On Thu, Feb 19, 2009 at 2:58 PM, Dushara Jayasinghe dusha...@optiscan.com wrote: That did it. I based my board specific file on mpc834x_itx.c which had static struct of_device_id __initdata mpc834x_itx_ids[] = { { .compatible = fsl,pq2pro-localbus, }, {

Re: MPC8313E-RDB and USB OTG

2009-02-25 Thread Li Yang
On Thu, Feb 26, 2009 at 3:51 AM, Michael Bergandi mberga...@gmail.com 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

Re: MPC8313E-RDB and USB OTG

2009-02-27 Thread Li Yang
On Thu, Feb 26, 2009 at 9:22 PM, Michael Bergandi mberga...@gmail.com 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

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 avoront...@ru.mvista.com 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

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 scottw...@freescale.com 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 that meets the definition of standby

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 joakim.tjernl...@transmode.se 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

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 joakim.tjernl...@transmode.se wrote: pku@gmail.com wrote on 27/03/2009 10:45:12: On Fri, Mar 27, 2009 at 1:44 AM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: The line:  if ((bd == ugeth-txBd[txQ]) (netif_queue_stopped(dev) ==

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 joakim.tjernl...@transmode.se 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

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 joakim.tjernl...@transmode.se wrote: pku@gmail.com wrote on 30/03/2009 09:36:21: On Fri, Mar 27, 2009 at 7:52 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: pku@gmail.com wrote on 27/03/2009 11:50:09: On Thu, Mar 26,

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 joakim.tjernl...@transmode.se wrote: pku@gmail.com wrote on 27/03/2009 11:50:09: On Thu, Mar 26, 2009 at 8:54 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Also set NAPI weight to 64 as this is a common value. This will make

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 joakim.tjernl...@transmode.se wrote: Anton Vorontsov avoront...@ru.mvista.com 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

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 joakim.tjernl...@transmode.se wrote: pku@gmail.com wrote on 30/03/2009 11:36:36: On Mon, Mar 30, 2009 at 5:21 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: pku@gmail.com wrote on 30/03/2009 10:34:47: On Thu, Mar 26,

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 joakim.tjernl...@transmode.se wrote: pku@gmail.com wrote on 30/03/2009 10:34:47: On Thu, Mar 26, 2009 at 1:51 AM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Anton Vorontsov avoront...@ru.mvista.com wrote on 25/03/2009

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 scottw...@freescale.com 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

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 joakim.tjernl...@transmode.se wrote: Scott Wood scottw...@freescale.com 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

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 h...@denx.de 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 h...@denx.de Acked-by: Li Yang le...@freescale.com ---  drivers/net/ucc_geth.c |    3

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

2009-04-27 Thread Li Yang
. 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: Ira W. Snyder i...@ovro.caltech.edu Acked-by: Li Yang le...@freescale.com

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 dave...@freescale.com 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

[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 le...@freescale.com --- 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

[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 z...@zh-kernel.org Signed-off-by: Li Yang le...@freescale.com --- arch/powerpc/sysdev/fsl_rio.c | 217

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 mich...@ellerman.id.au 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_bin_file', declared

[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 z...@zh-kernel.org Signed-off-by: Li Yang le...@freescale.com --- drivers/rapidio/rio.c | 95 +++ include/linux/rio.h | 25

[PATCH] rio: warn_unused_result warnings fix

2009-04-28 Thread Li Yang
warning: ignoring return value of 'device_add', declared with attribute warn_unused_result warning: ignoring return value of 'sysfs_create_bin_file', declared with attribute warn_unused_result Signed-off-by: Li Yang le...@freescale.com --- drivers/rapidio/rio-scan.c |5 - drivers

[PATCH] rionet: add memory access to simulated Ethernet over rapidio

2009-04-28 Thread Li Yang
Through the newly added IO memory access of Rapidio, sender can write directly to recipient's rx buffer, either by cpu or DMA engine. Signed-off-by: Zhang Wei z...@zh-kernel.org Signed-off-by: Li Yang le...@freescale.com --- drivers/net/Kconfig | 10 ++ drivers/net/rionet.c | 365

[PATCH 0/5] rapidio: adding memory mapping IO support and misc fixes

2009-04-28 Thread Li Yang
The patch series add MMIO support to Linux rapidio and fix a few nits. The patches cross rapidio, netdev, powerpc sub-systems. It will be good for them to go through one tree. Probably Andrew? As the previous rapidio patches are mostly merged by you. - Leo

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

2009-04-29 Thread Li Yang
On Tue, Apr 28, 2009 at 7:39 PM, David Miller da...@davemloft.net wrote: Please number your patches. :-/ There is no way for anyone to be able to tell in what order your changes should be applied. Sorry for that. I thought I have added -n when doing the git-format-patch, but it turns out

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

[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 + arch/powerpc

[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/powerpc/boot

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_lib and

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 initialized as

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: switch to the cpm_muram

[PATCH] powerpc: Fix typo in Ebony default dts

2007-07-10 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 @@ reg = 0

[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/cputable.c

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

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

[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 +- include/asm

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

[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 changed, 864

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

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

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

[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-by: Li Yang [EMAIL

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

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

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

[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 +- include/asm

[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/cputable.c

[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 changed, 864

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

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

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

[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/cputable.c

[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 +- include/asm

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

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

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

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

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

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

[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 8d49942

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

[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 8d49942

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

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

[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 files changed

[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/cputable.c

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

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

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 erratum #2 (RGMII Timing) Hello

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 reset code for the mpc832x MDS

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 On Oct 19, 2007, at 10:35 AM, Grant

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, Li Yang wrote: IPIC controller

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, Li Yang wrote: Signed-off-by: Li

[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 le...@freescale.com --- arch/powerpc/mm/pgtable_32.c |5 + 1 files

[PATCH 1/4] fsl_msi: fix the conflict of virt_msir's chip_data

2010-04-16 Thread Li Yang
, and will cause problem when calling eoi() of the irq. Signed-off-by: Zhao Chenhui b26...@freescale.com Signed-off-by: Li Yang le...@freescale.com --- arch/powerpc/sysdev/fsl_msi.c | 30 +- 1 files changed, 25 insertions(+), 5 deletions(-) diff --git a/arch/powerpc/sysdev

[PATCH 2/4] fsl_msi: enable msi allocation in all banks

2010-04-16 Thread Li Yang
From: Zhao Chenhui b26...@freescale.com Put all fsl_msi banks in a linked list. The list of banks then can be traversed when allocating new msi interrupts. Signed-off-by: Zhao Chenhui b26...@freescale.com Signed-off-by: Li Yang le...@freescale.com --- arch/powerpc/sysdev/fsl_msi.c | 29

[PATCH 3/4] fsl_msi: enable msi sharing through AMP OSes

2010-04-16 Thread Li Yang
From: Zhao Chenhui b26...@freescale.com Make a single PCIe MSI bank shareable through CAMP OSes. The number of MSI used by each core can be configured by dts file. Signed-off-by: Zhao Chenhui b26...@freescale.com Signed-off-by: Li Yang le...@freescale.com --- arch/powerpc/sysdev/fsl_msi.c

[PATCH 4/4] mpc8572ds: change camp dtses for MSI sharing

2010-04-16 Thread Li Yang
Enable the sharing of MSI interrupt through AMP OSes in the mpc8572ds dtses. Signed-off-by: Zhao Chenhui b26...@freescale.com Signed-off-by: Li Yang le...@freescale.com --- arch/powerpc/boot/dts/mpc8572ds_camp_core0.dts | 15 +-- arch/powerpc/boot/dts/mpc8572ds_camp_core1.dts

Re: [PATCH 1/4] fsl_msi: fix the conflict of virt_msir's chip_data

2010-04-18 Thread Li Yang
On 4/19/2010 10:40 AM, Michael Ellerman wrote: On Fri, 2010-04-16 at 15:34 +0800, Li Yang wrote: From: Zhao Chenhuib26...@freescale.com In fsl_of_msi_probe(), the virt_msir's chip_data have been stored the pointer to struct mpic. We add a struct fsl_msi_cascade_data to store the pointer

Re: [PATCH 3/4] fsl_msi: enable msi sharing through AMP OSes

2010-04-19 Thread Li Yang
On Mon, Apr 19, 2010 at 10:34 AM, Michael Ellerman mich...@ellerman.id.au wrote: On Fri, 2010-04-16 at 15:34 +0800, Li Yang wrote: From: Zhao Chenhui b26...@freescale.com Make a single PCIe MSI bank shareable through CAMP OSes. The number of MSI used by each core can be configured by dts file

Re: [PATCH 2/4] fsl_msi: enable msi allocation in all banks

2010-04-19 Thread Li Yang
On Mon, Apr 19, 2010 at 10:46 AM, Michael Ellerman mich...@ellerman.id.au wrote: On Fri, 2010-04-16 at 15:34 +0800, Li Yang wrote: From: Zhao Chenhui b26...@freescale.com Put all fsl_msi banks in a linked list. The list of banks then can be traversed when allocating new msi interrupts. So

  1   2   3   4   5   6   >