Re: [PATCH v2] Integrated Flash Controller support

2011-11-22 Thread Kumar Gala
On Oct 31, 2011, at 4:38 AM, wrote: > From: Liu Shuo > > Integrated Flash Controller supports various flashes like NOR, NAND > and other devices using NOR, NAND and GPCM Machine available on it. > IFC supports four chip selects. > > Signed-off-by: Dipen Dudhat > Signed-off-by: Scott Wood

Re: [PATCH] powerpc: 44x: Add mtd ndfc to the ppx44x defconfig

2011-11-22 Thread Josh Boyer
On Tue, Nov 22, 2011 at 8:34 PM, Benjamin Herrenschmidt wrote: > On Tue, 2011-11-22 at 20:04 -0500, Josh Boyer wrote: >> On Tue, Nov 22, 2011 at 6:50 PM, Tony Breeds wrote: >> > Signed-off-by: Tony Breeds >> >> Acked-by: Josh Boyer >> >> Ben, I don't have anything particularly urgent for 3.2 an

Re: [PATCH] powerpc: 44x: Add mtd ndfc to the ppx44x defconfig

2011-11-22 Thread Tony Breeds
On Wed, Nov 23, 2011 at 12:34:44PM +1100, Benjamin Herrenschmidt wrote: > On Tue, 2011-11-22 at 20:04 -0500, Josh Boyer wrote: > > On Tue, Nov 22, 2011 at 6:50 PM, Tony Breeds > > wrote: > > > Signed-off-by: Tony Breeds > > > > Acked-by: Josh Boyer > > > > Ben, I don't have anything particula

Re: [PATCH] usb/fsl_udc: fix dequeuing a request in progress

2011-11-22 Thread Peter Chen
On Tue, Nov 22, 2011 at 7:48 PM, Peter Chen wrote: >>>It seems to can't get the correct qh pointer, you may still need to use >>>below code to get it >>>       int i = ep_index(ep) * 2 + ep_is_in(ep); >>>       struct ep_queue_head *dQH = &ep->udc->ep_qh[i]; >> >> Thanks for trying.    It will be

Re: [PATCH v3 3/3] mtd/nand : workaround for Freescale FCM to support large-page Nand chip

2011-11-22 Thread LiuShuo
于 2011年11月23日 07:55, Scott Wood 写道: On 11/15/2011 03:29 AM, b35...@freescale.com wrote: From: Liu Shuo Freescale FCM controller has a 2K size limitation of buffer RAM. In order to support the Nand flash chip whose page size is larger than 2K bytes, we read/write 2k data repeatedly by issuing FI

Re: powerpc: dts: Fix canyonlands EMAC interrupt map

2011-11-22 Thread Benjamin Herrenschmidt
On Wed, 2011-11-23 at 12:15 +1100, David Gibson wrote: > On Wed, Nov 23, 2011 at 08:16:40AM +1100, Benjamin Herrenschmidt wrote: > > On Tue, 2011-11-22 at 12:41 +0530, Tanmay Inamdar wrote: > > > Fixing interrupt mapping of EMAC for canyonlands > > > > The previous stuff was odd but was it br

Re: [PATCH] powerpc: 44x: Add mtd ndfc to the ppx44x defconfig

2011-11-22 Thread Benjamin Herrenschmidt
On Tue, 2011-11-22 at 20:04 -0500, Josh Boyer wrote: > On Tue, Nov 22, 2011 at 6:50 PM, Tony Breeds wrote: > > Signed-off-by: Tony Breeds > > Acked-by: Josh Boyer > > Ben, I don't have anything particularly urgent for 3.2 and this seems > like it is well within the 3.2 window (defconfig update

Re: powerpc: dts: Fix canyonlands EMAC interrupt map

2011-11-22 Thread David Gibson
On Wed, Nov 23, 2011 at 08:16:40AM +1100, Benjamin Herrenschmidt wrote: > On Tue, 2011-11-22 at 12:41 +0530, Tanmay Inamdar wrote: > > Fixing interrupt mapping of EMAC for canyonlands > > The previous stuff was odd but was it broken ? > > It was done this way because the EMAC actually has mo

Re: [PATCH] powerpc: 44x: Add mtd ndfc to the ppx44x defconfig

2011-11-22 Thread Josh Boyer
On Tue, Nov 22, 2011 at 6:50 PM, Tony Breeds wrote: > Signed-off-by: Tony Breeds Acked-by: Josh Boyer Ben, I don't have anything particularly urgent for 3.2 and this seems like it is well within the 3.2 window (defconfig updates usually come later). Want to pick this up yourself, or do you wa

Re: [PATCH v3 3/3] mtd/nand : workaround for Freescale FCM to support large-page Nand chip

2011-11-22 Thread Scott Wood
On 11/15/2011 03:29 AM, b35...@freescale.com wrote: > From: Liu Shuo > > Freescale FCM controller has a 2K size limitation of buffer RAM. In order > to support the Nand flash chip whose page size is larger than 2K bytes, > we read/write 2k data repeatedly by issuing FIR_OP_RB/FIR_OP_WB and save >

[PATCH] powerpc: 44x: Add mtd ndfc to the ppx44x defconfig

2011-11-22 Thread Tony Breeds
Signed-off-by: Tony Breeds --- Again appologies for the SPAM trying to send this message. arch/powerpc/configs/ppc44x_defconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/configs/ppc44x_defconfig b/arch/powerpc/configs/ppc44x_defconfig index 6cdf1c0.

Re: your mail

2011-11-22 Thread Tony Breeds
On Wed, Nov 23, 2011 at 10:42:45AM +1100, Tony Breeds wrote: > From 1a44c074e3ce572cbf60d31ac704e6ce42be4708 Mon Sep 17 00:00:00 2001 > From: Tony Breeds > Date: Wed, 23 Nov 2011 10:16:40 +1100 > Subject: [PATCH] powerpc: 44x: Add mtd ndfc to the ppx44x defconfig Sorry all for the SPAM. I screwe

[no subject]

2011-11-22 Thread Tony Breeds
>From 1a44c074e3ce572cbf60d31ac704e6ce42be4708 Mon Sep 17 00:00:00 2001 From: Tony Breeds Date: Wed, 23 Nov 2011 10:16:40 +1100 Subject: [PATCH] powerpc: 44x: Add mtd ndfc to the ppx44x defconfig Signed-off-by: Tony Breeds --- arch/powerpc/configs/ppc44x_defconfig |2 ++ 1 files changed, 2

[no subject]

2011-11-22 Thread Tony Breeds
>From 1a44c074e3ce572cbf60d31ac704e6ce42be4708 Mon Sep 17 00:00:00 2001 From: Tony Breeds Date: Wed, 23 Nov 2011 10:16:40 +1100 Subject: [PATCH] powerpc: 44x: Add mtd ndfc to the ppx44x defconfig Signed-off-by: Tony Breeds --- arch/powerpc/configs/ppc44x_defconfig |2 ++ 1 files changed, 2

Re: Please revert commit dc9372808412edbc653a675a526c2ee6c0c14a91

2011-11-22 Thread Rob Herring
On 11/22/2011 04:43 PM, Grant Likely wrote: > On Tue, Nov 22, 2011 at 3:11 PM, Benjamin Herrenschmidt > wrote: >> Hi Linus ! >> >> Please, revert commit dc9372808412edbc653a675a526c2ee6c0c14a91 >> >> "of/irq: of_irq_find_parent: check for parent equal to child" >> >> This breaks some powerpc platf

Re: Please revert commit dc9372808412edbc653a675a526c2ee6c0c14a91

2011-11-22 Thread Grant Likely
On Tue, Nov 22, 2011 at 3:11 PM, Benjamin Herrenschmidt wrote: > Hi Linus ! > > Please, revert commit dc9372808412edbc653a675a526c2ee6c0c14a91 > > "of/irq: of_irq_find_parent: check for parent equal to child" > > This breaks some powerpc platforms at least. The practice of having a > node provide

Re: curious why mpc85xx/edac/pcie patch series was never picked up

2011-11-22 Thread Benjamin Herrenschmidt
On Tue, 2011-11-22 at 11:40 -0600, Chris Friesen wrote: > We're doing some work with an mpc85xx-based board and someone pointed to > a patch adding PCI/PCIE error interrupt edac support that was proposed > by Lan Chunhe over a year ago: > > http://lists.ozlabs.org/pipermail/linuxppc-dev/2010-Nov

Please revert commit dc9372808412edbc653a675a526c2ee6c0c14a91

2011-11-22 Thread Benjamin Herrenschmidt
Hi Linus ! Please, revert commit dc9372808412edbc653a675a526c2ee6c0c14a91 "of/irq: of_irq_find_parent: check for parent equal to child" This breaks some powerpc platforms at least. The practice of having a node provide an explicit "interrupt-parent" property pointing to itself is an old trick th

Re: powerpc: dts: Fix canyonlands EMAC interrupt map

2011-11-22 Thread Benjamin Herrenschmidt
On Tue, 2011-11-22 at 19:45 +0530, Tanmay Inamdar wrote: > > On Tue, Nov 22, 2011 at 5:00 PM, Josh Boyer wrote: > On Tue, Nov 22, 2011 at 2:11 AM, Tanmay Inamdar > wrote: > > Fixing interrupt mapping of EMAC for canyonlands > > > > Signed-off-by: Tanmay In

Re: powerpc: dts: Fix canyonlands EMAC interrupt map

2011-11-22 Thread Benjamin Herrenschmidt
On Tue, 2011-11-22 at 12:41 +0530, Tanmay Inamdar wrote: > Fixing interrupt mapping of EMAC for canyonlands The previous stuff was odd but was it broken ? It was done this way because the EMAC actually has more interrupts than that which are routed to different UICs, and so doing a local map

Re: [PATCH 2/3] mtd/nand : set Nand flash page address to FBAR and FPAR correctly

2011-11-22 Thread Artem Bityutskiy
On Fri, 2011-11-18 at 10:08 +0800, LiuShuo wrote: > Ok and I want to add another patch before 3/3. > > -LiuShuo > > On Tue, 2011-11-15 at 17:29 +0800, b35...@freescale.com wrote: > >> From: Liu Shuo > >> > >> If we use the Nand flash chip whose number of pages in a block is greater > >> than 64(fo

Re: [PATCH v3 3/3] mtd/nand : workaround for Freescale FCM to support large-page Nand chip

2011-11-22 Thread Artem Bityutskiy
On Tue, 2011-11-15 at 17:29 +0800, b35...@freescale.com wrote: > + /* > +* Freescale FCM controller has a 2K size limitation of buffer > +* RAM, so elbc_fcm_ctrl->buffer have to be used if writesize > +* of chip is greater than 2048. > +

Enabling MBX in MPC5121 - OGLES kernel modules

2011-11-22 Thread Einar Már Björgvinsson
Hi I've been working on enabling the PowerVR GPU core in MPC5121 chip. I've been following the documentation from here: http://www.datasheetarchive.com/indexdl/Datasheet-076/DSAE0026055.pdf This documentation was released in a bundle with MBX libraries and MBX kernel patches. Also have I downl

[PATCH] powerpc: Fix building ppc64 w/hugetlbfs enabled

2011-11-22 Thread Kumar Gala
arch/powerpc/kernel/setup_64.c: In function 'early_setup': arch/powerpc/kernel/setup_64.c:226:2: error: implicit declaration of function 'reserve_hugetlb_gpages' Signed-off-by: Kumar Gala --- arch/powerpc/kernel/setup_64.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a

Re: [PATCH][RFC] fsldma: fix performance degradation by optimizing spinlock use.

2011-11-22 Thread Ira W. Snyder
On Tue, Nov 22, 2011 at 12:55:05PM +0800, b29...@freescale.com wrote: > From: Forrest Shi > > dma status check function fsl_tx_status is heavily called in > a tight loop and the desc lock in fsl_tx_status contended by > the dma status update function. this caused the dma performance >

curious why mpc85xx/edac/pcie patch series was never picked up

2011-11-22 Thread Chris Friesen
We're doing some work with an mpc85xx-based board and someone pointed to a patch adding PCI/PCIE error interrupt edac support that was proposed by Lan Chunhe over a year ago: http://lists.ozlabs.org/pipermail/linuxppc-dev/2010-November/086930.html For some reason this doesn't appear to have

Re: [PATCH v2 1/7] powerpc/85xx: re-enable timebase sync disabled by KEXEC patch

2011-11-22 Thread Kumar Gala
On Nov 22, 2011, at 3:29 AM, Li Yang-R58472 wrote: >> Subject: Re: [PATCH v2 1/7] powerpc/85xx: re-enable timebase sync disabled >> by KEXEC patch >> >> On Fri, Nov 18, 2011 at 08:35:02AM -0600, Kumar Gala wrote: >>> >>> On Nov 16, 2011, at 12:42 PM, Scott Wood wrote: >>> On 11/16/2011 03

Re: powerpc: dts: Fix canyonlands EMAC interrupt map

2011-11-22 Thread Tanmay Inamdar
On Tue, Nov 22, 2011 at 5:00 PM, Josh Boyer wrote: > On Tue, Nov 22, 2011 at 2:11 AM, Tanmay Inamdar wrote: > > Fixing interrupt mapping of EMAC for canyonlands > > > > Signed-off-by: Tanmay Inamdar > > As far as I can tell, your changes aren't really changing anything > just making it a bit cl

Re: powerpc: dts: Fix canyonlands EMAC interrupt map

2011-11-22 Thread Josh Boyer
On Tue, Nov 22, 2011 at 9:15 AM, Tanmay Inamdar wrote: > > On Tue, Nov 22, 2011 at 5:00 PM, Josh Boyer wrote: >> >> On Tue, Nov 22, 2011 at 2:11 AM, Tanmay Inamdar wrote: >> > Fixing interrupt mapping of EMAC for canyonlands >> > >> > Signed-off-by: Tanmay Inamdar >> >> As far as I can tell, yo

Re: [PATCH] usb/fsl_udc: fix dequeuing a request in progress

2011-11-22 Thread Peter Chen
>>It seems to can't get the correct qh pointer, you may still need to use >>below code to get it >>       int i = ep_index(ep) * 2 + ep_is_in(ep); >>       struct ep_queue_head *dQH = &ep->udc->ep_qh[i]; > > Thanks for trying.    It will be much easier if we can dereference QH from > the ep struct

powerpc: dts: Fix canyonlands EMAC interrupt map

2011-11-22 Thread Tanmay Inamdar
Fixing interrupt mapping of EMAC for canyonlands Signed-off-by: Tanmay Inamdar --- arch/powerpc/boot/dts/canyonlands.dts | 16 ++-- 1 files changed, 6 insertions(+), 10 deletions(-) diff --git a/arch/powerpc/boot/dts/canyonlands.dts b/arch/powerpc/boot/dts/canyonlands.dts index 3

Re: powerpc: dts: Fix canyonlands EMAC interrupt map

2011-11-22 Thread Josh Boyer
On Tue, Nov 22, 2011 at 2:11 AM, Tanmay Inamdar wrote: > Fixing interrupt mapping of EMAC for canyonlands > > Signed-off-by: Tanmay Inamdar As far as I can tell, your changes aren't really changing anything just making it a bit clearer, correct? If so, do you mind if I change the commit log to

Re: [PATCH] mtd/nand: Add NAND chip ID to support Micron 4k pagesize NAND chip

2011-11-22 Thread Josh Boyer
On Tue, Nov 22, 2011 at 4:23 AM, Shengzhou Liu wrote: > Add NAND chip ID 0x38 in ids table to support Micron 4k large-page NAND chip. > > Signed-off-by: Shengzhou Liu > --- >  drivers/mtd/nand/nand_ids.c |    1 + You really need to send this to the MTD list and have it go through that tree. jos

[PATCH] mtd/nand: Add NAND chip ID to support Micron 4k pagesize NAND chip

2011-11-22 Thread Shengzhou Liu
Add NAND chip ID 0x38 in ids table to support Micron 4k large-page NAND chip. Signed-off-by: Shengzhou Liu --- drivers/mtd/nand/nand_ids.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c index 00cf1b0..23ed1d2 100

RE: [PATCH] usb/fsl_udc: fix dequeuing a request in progress

2011-11-22 Thread Li Yang-R58472
>Subject: Re: [PATCH] usb/fsl_udc: fix dequeuing a request in progress > >On Fri, Nov 11, 2011 at 08:38:13PM +0800, Li Yang wrote: >> The original implementation of dequeuing a request in progress is not >> correct. Change to use a correct process and also clean up the >> related functions a littl

Re: [PATCH] usb/fsl_udc: fix dequeuing a request in progress

2011-11-22 Thread Peter Chen
On Fri, Nov 11, 2011 at 08:38:13PM +0800, Li Yang wrote: > The original implementation of dequeuing a request in progress > is not correct. Change to use a correct process and also clean > up the related functions a little bit. > > Signed-off-by: Li Yang > --- > drivers/usb/gadget/fsl_udc_core.

RE: [PATCH v2 1/7] powerpc/85xx: re-enable timebase sync disabled by KEXEC patch

2011-11-22 Thread Li Yang-R58472
>Subject: Re: [PATCH v2 1/7] powerpc/85xx: re-enable timebase sync disabled >by KEXEC patch > >On Fri, Nov 18, 2011 at 08:35:02AM -0600, Kumar Gala wrote: >> >> On Nov 16, 2011, at 12:42 PM, Scott Wood wrote: >> >> > On 11/16/2011 03:55 AM, Zhao Chenhui wrote: >> >> From: Li Yang >> >> >> >> The t