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

2011-11-11 Thread Li Yang
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.c | 62 +--- 1 files changed, 29

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

2011-11-23 Thread Li Yang
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 Cc: Peter Chen --- drivers/usb/gadget/fsl_udc_core.c | 68 +--- drivers

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

2011-12-14 Thread Li Yang
On Thu, Dec 15, 2011 at 4:15 AM, Scott Wood wrote: > On 12/14/2011 02:41 AM, LiuShuo wrote: >> 于 2011年12月13日 10:46, LiuShuo 写道: >>> 于 2011年12月13日 05:30, Scott Wood 写道: On 12/12/2011 03:19 PM, Artem Bityutskiy wrote: > On Mon, 2011-12-12 at 15:15 -0600, Scott Wood wrote: >> NAND chips

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

2011-12-19 Thread Li Yang
On Sat, Dec 17, 2011 at 1:59 AM, Scott Wood wrote: > On 12/15/2011 08:44 PM, LiuShuo wrote: >> hi Artem, >> Could this patch be applied now and we make a independent patch for  bad >> block information >> migration later? > > This patch is not safe to use without migration. Hi Scott, We agree it

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

2011-12-20 Thread Li Yang
On Tue, Dec 20, 2011 at 12:47 AM, Scott Wood wrote: > On 12/19/2011 05:05 AM, Li Yang wrote: >> On Sat, Dec 17, 2011 at 1:59 AM, Scott Wood wrote: >>> On 12/15/2011 08:44 PM, LiuShuo wrote: >>>> hi Artem, >>>> Could this patch be applied now and we ma

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

2007-12-14 Thread Li Yang
> >> + device_type = "serial"; > >> + compatible = "ns16550"; > >> + reg = <4600 100>; > >> + clock-frequency = <0>; > >> + interrupts = ; > >> + interrupt-parent = < &ipic >; > >> + }; >

[PATCH 1/3] add default device trees for MPC837x MDS board

2008-01-07 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- address comments and use new dts spec. arch/powerpc/boot/dts/mpc8377_mds.dts | 277 +++ arch/powerpc/boot/dts/mpc8378_mds.dts | 263 + arch/powerpc/boot/dts/mpc8379_mds.dts

[PATCH 2/3] add MPC837x USB platform support

2008-01-07 Thread Li Yang
Add chip specific and board specific initialization for MPC837x USB. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/platforms/83xx/mpc837x_mds.c | 48 + arch/powerpc/platforms/83xx/mpc83xx.h |3 ++ arch/powerpc/platforms/83xx

[PATCH 3/3] USB device tree cleanups

2008-01-07 Thread Li Yang
Remove device_type = "usb" Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- Documentation/powerpc/booting-without-of.txt |4 arch/powerpc/boot/dts/mpc8313erdb.dts|1 - arch/powerpc/boot/dts/mpc832x_mds.dts|1 - arch/powerpc/boot/dts/mpc8349emitx.

RE: [PATCH 3/3] USB device tree cleanups

2008-01-07 Thread Li Yang
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Stephen Rothwell > Sent: Tuesday, January 08, 2008 7:10 AM > To: Li Yang > Cc: linuxppc-dev@ozlabs.org; [EMAIL PROTECTED] > Subject: Re: [PATCH 3/3] USB device tree cleanups

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

2008-01-07 Thread Li Yang
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Kumar Gala > Sent: Tuesday, January 08, 2008 1:46 PM > To: Li Yang > Cc: linuxppc-dev list; David Gibson > Subject: Re: [PATCH] add MPC837x MDS board default device tree {sn

[PATCH 2/3 v2] add MPC837x USB platform support

2008-01-07 Thread Li Yang
Add chip specific and board specific initialization for MPC837x USB. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/platforms/83xx/mpc837x_mds.c | 51 + arch/powerpc/platforms/83xx/mpc83xx.h |3 ++ arch/powerpc/platforms/83xx

[PATCH 3/3 v2] USB device tree cleanups

2008-01-07 Thread Li Yang
Remove device_type = "usb" Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- Documentation/powerpc/booting-without-of.txt |4 arch/powerpc/boot/dts/mpc8313erdb.dts|1 - arch/powerpc/boot/dts/mpc832x_mds.dts|1 - arch/powerpc/boot/dts/mpc8349emitx.

RE: [PATCH 1/3] add default device trees for MPC837x MDS board

2008-01-07 Thread Li Yang
> -Original Message- > From: Kumar Gala [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 08, 2008 3:37 PM > To: Li Yang > Cc: linuxppc-dev@ozlabs.org; [EMAIL PROTECTED] > Subject: Re: [PATCH 1/3] add default device trees for MPC837x > MDS board > > >

[PATCH] Convert MPC837x device trees to dts-v1

2008-01-08 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8377_mds.dts | 148 --- arch/powerpc/boot/dts/mpc8378_mds.dts | 140 +++--- arch/powerpc/boot/dts/mpc8379_mds.dts | 156 + 3 files c

RE: [PATCH 1/3] add default device trees for MPC837x MDS board

2008-01-09 Thread Li Yang
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Grant Likely > Sent: Wednesday, January 09, 2008 1:54 AM > To: Wood Scott > Cc: Li Yang; linuxppc-dev@ozlabs.org; [EMAIL PROTECTED] > Subject: Re: [PATCH 1/3] add default dev

Re: [PATCH][SDK v1.2] sata: I/O load balancing

2012-01-13 Thread Li Yang
On Fri, Jan 13, 2012 at 4:25 PM, Qiang Liu wrote: > From: Qiang Liu > > Reduce interrupt singnals through reset Interrupt Coalescing Control Reg. > Increase the threshold value of interrupt and timer will reduce the number > of complete interrupt sharply. Improve the system performance effectivel

Re: [PATCH V2 RESEND] fsl-sata: I/O load balancing

2012-02-14 Thread Li Yang
On Wed, Feb 15, 2012 at 1:49 PM, Qiang Liu wrote: Hi Liu Qiang, The patch is fine except for the title and comment. It's too vague to say I/O load balancing. You need explicit description like "add interrupt coalescing support" as title. > Reduce interrupt signals through reset Interrupt Coal

Re: [PATCH V3] fsl-sata: add support for interrupt coalsecing feature

2012-02-14 Thread Li Yang
on different applications. > > Signed-off-by: Qiang Liu Acked-by: Li Yang - Leo ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH 1/2] powerpc/85xx: fix problem that prevents PHYS_64BIT from configurable

2012-02-16 Thread Li Yang
dress manipulating. We should not enable it unless really needed, e.g. use large memory of 4GB or bigger. Signed-off-by: Li Yang --- arch/powerpc/platforms/85xx/Kconfig |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/po

[PATCH 2/2] powerpc/85xx: add a 36-bit corenet default config

2012-02-16 Thread Li Yang
This default config should be used by platforms that only provides 36-bit software support in tree, such as P3041DS, P3060QDS, P4080DS, P5020DS, and etc. Signed-off-by: Li Yang --- arch/powerpc/configs/corenet36_smp_defconfig | 185 ++ 1 files changed, 185 insertions

Re: [PATCH] USB: ehci-fsl: Turn on cache snooping on MPC8xxx

2012-02-16 Thread Li Yang
atch upstream earlier. I remember you asked about it a few months ago. :) Acked-by: Li Yang > --- >  drivers/usb/host/ehci-fsl.c |   23 ++- >  1 files changed, 10 insertions(+), 13 deletions(-) > > diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/eh

Re: [PATCH v5 1/5] powerpc/85xx: implement hardware timebase sync

2012-05-29 Thread Li Yang
ase sync. Firstly, stop all timebases, and transfer > the timebase value of the boot core to the other core. Finally, > start all timebases. > > Only apply to dual-core chips, such as MPC8572, P2020, etc. > > Signed-off-by: Zhao Chenhui > Signed-off-by: Li Yang > ---

Re: ppc/sata-fsl: orphan config value: CONFIG_MPC8315_DS

2012-05-30 Thread Li Yang
On Wed, May 30, 2012 at 6:57 AM, Scott Wood wrote: > On 05/29/2012 05:07 PM, Anthony Foiani wrote: >> Scott Wood writes: >> >>> CONFIG_MPC831x_RDB doesn't mean that you're running on such a board, >>> only that the kernel supports those boards.  It should be a runtime >>> test. >> >> Point taken.

Re: [PATCH v5 4/5] fsl_pmc: Add API to enable device as wakeup event source

2012-06-05 Thread Li Yang
On Wed, Jun 6, 2012 at 2:05 AM, Scott Wood wrote: > On 06/05/2012 11:49 AM, Li Yang-R58472 wrote: >> >> >>>>> On 06/04/2012 06:36 AM, Zhao Chenhui wrote: >>>>>> On Fri, Jun 01, 2012 at 05:08:52PM -0500, Scott Wood wrote: >>>>&

Re: [PATCH v5 4/5] fsl_pmc: Add API to enable device as wakeup event source

2012-06-06 Thread Li Yang
On Thu, Jun 7, 2012 at 2:29 AM, Scott Wood wrote: > On 06/05/2012 11:06 PM, Li Yang wrote: >> On Wed, Jun 6, 2012 at 2:05 AM, Scott Wood wrote: >>> You ignored "what about devices other than ethernet". >> >> No, I haven't.  Other devices are so at le

Re: [PATCH] powerpc/sgmii: Add phy nodes in SGMII mode

2012-07-12 Thread Li Yang
On Thu, Jul 12, 2012 at 8:18 PM, Kumar Gala wrote: > > On Jul 12, 2012, at 5:28 AM, Jia Hongtao-B38951 wrote: > >> Note that this patch works with uboot update. >> Please refer to: >> http://patchwork.ozlabs.org/patch/170627/ >> >> -Hongtao. > > Will RGMII still work with this patch if I dont upda

Re: [PATCH v3 3/4] fsl-dma: change release process of dma descriptor for supporting async_tx

2012-07-16 Thread Li Yang
ma channels, it affects the process of raid operations > due to ack_tx is not checked in fsl dma. The no-acked descriptor is freed > which is submitted just now, as a dependent tx, this freed descriptor trigger > BUG_ON(async_tx_test_ack(depend_tx)) in async_tx_submit(). > > Cc: Dan

Re: [linuxppc-release] [PATCH v3 4/4] fsl-dma: use spin_lock_bh to instead of spin_lock_irqsave

2012-07-16 Thread Li Yang
l; herb...@gondor.hengli.com.au; Dan Williams; Li Yang-R58472; >> da...@davemloft.net >> Subject: Re: [linuxppc-release] [PATCH v3 4/4] fsl-dma: use spin_lock_bh >> to instead of spin_lock_irqsave >> >> Qiang Liu wrote: >> > Use spin_lock_bh to instead of spin

Re: [PATCH v8 0/7] power management patch set

2012-07-26 Thread Li Yang
On Fri, Jul 20, 2012 at 8:42 PM, Zhao Chenhui wrote: > Changes for v8: > * Separated the cpu hotplug patch into three patches, as follows > [PATCH v8 1/7] powerpc/smp: use a struct epapr_spin_table to replace macros > [PATCH v8 2/7] powerpc/smp: add generic_set_cpu_up() to set cpu_state as >

Re: [PATCH v8 0/7] power management patch set

2012-07-26 Thread Li Yang
On Fri, Jul 27, 2012 at 1:29 AM, Kumar Gala wrote: > > On Jul 26, 2012, at 9:02 AM, Li Yang wrote: > >> On Fri, Jul 20, 2012 at 8:42 PM, Zhao Chenhui >> wrote: >>> Changes for v8: >>> * Separated the cpu hotplug patch into three patches, as follows >&

Re: [PATCH V3 1/5] powerpc/fsl-pci: Unify pci/pcie initialization code

2012-07-31 Thread Li Yang
AM >>> To: Wood Scott-B07421 >>> Cc: Jia Hongtao-B38951; linuxppc-dev@lists.ozlabs.org; Wood Scott-B07421; >>> Li Yang-R58472 >>> Subject: Re: [PATCH V3 1/5] powerpc/fsl-pci: Unify pci/pcie >>> initialization code >>> >>> >>>

Re: [PATCH V4 2/3] powerpc/swiotlb: Enable at early stage and disable if not necessary

2012-08-03 Thread Li Yang
t;>> To: Jia Hongtao-B38951 >>> Cc: linuxppc-dev@lists.ozlabs.org; Wood Scott-B07421; Li Yang-R58472 >>> Subject: Re: [PATCH V4 2/3] powerpc/swiotlb: Enable at early stage and >>> disable if not necessary >>> >>> >>> On Aug 2, 2012, at 6:42 AM,

Re: [PATCH V5 3/3] powerpc/fsl-pci: Unify pci/pcie initialization code

2012-08-06 Thread Li Yang
ao-B38951 >>> Cc: linuxppc-dev@lists.ozlabs.org; ga...@kernel.crashing.org; Li Yang- >>> R58472; Wood Scott-B07421 >>> Subject: Re: [PATCH V5 3/3] powerpc/fsl-pci: Unify pci/pcie >>> initialization code >>> >>> On 08/03/2012 05:14 AM, Jia Hongtao wrot

Re: [PATCH 5/6] powerpc/fsl-pci: Add pci inbound/outbound PM support

2012-08-08 Thread Li Yang
; To: Jia Hongtao-B38951 >> Cc: Wood Scott-B07421; linuxppc-dev@lists.ozlabs.org; Li Yang-R58472 >> Subject: Re: [PATCH 5/6] powerpc/fsl-pci: Add pci inbound/outbound PM >> support >> >> >>>>>> >> >>>>>> On Jul 24, 2012, at 5:

Re: [PATCH][V4] powerpc/fsl-pci: Add pci inbound/outbound PM support

2012-09-27 Thread Li Yang
t; Power supply for PCI inbound/outbound window registers is off >>>>>>>>>>>> when system go to deep-sleep state. We save the values of >>>>>>>>>>>> registers >>>>>>>> before >>>>>>>>>>>&

Re: [PATCH 2/3] usb: gadget: fsl_qe_udc: do not use tasklet_disable before tasklet_kill

2012-10-31 Thread Li Yang
On Wed, Oct 31, 2012 at 9:26 PM, Felipe Balbi wrote: > On Wed, Oct 31, 2012 at 04:06:00PM +0800, Xiaotian Feng wrote: >> If tasklet_disable() is called before related tasklet handled, >> tasklet_kill will never be finished. tasklet_kill is enough. > > how did you test this ? Why changing FSL drive

[PATCH] powerpc: Fix typos in Freescale copyright claims

2012-11-01 Thread Li Yang
There are many cases that Semiconductor is misspelled. The patch fix these typos. Signed-off-by: Li Yang --- arch/powerpc/include/asm/dbell.h |2 +- arch/powerpc/include/asm/fsl_gtm.h|2 +- arch/powerpc/include/asm/immap_qe.h |2 +- arch/powerpc/include/asm

Re: [PATCH v5 0/4] DMA: Freescale: Add support for 8-channel DMA engine

2013-07-23 Thread Li Yang
On Wed, Jul 24, 2013 at 2:21 PM, wrote: > From: Hongbo Zhang > > Hi Vinod, Dan, Scott and Leo, please have a look at these V2 patches. Looks fine after the rounds of review. Acked-by: Li Yang PS: The original email was in html and rejected by lists thanks to the new gmail compose

Re: [PATCH v5 0/4] DMA: Freescale: Add support for 8-channel DMA engine

2013-07-24 Thread Li Yang
On Wed, Jul 24, 2013 at 2:21 PM, wrote: > From: Hongbo Zhang > > Hi Vinod, Dan, Scott and Leo, please have a look at these V2 patches. > Looks good now after rounds of review. Acked-by: Li Yang > > Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this

Re: [PATCH] DTS: DMA: Fix DMA3 interrupts

2013-12-17 Thread Li Yang
On Wed, Dec 11, 2013 at 2:33 AM, Scott Wood wrote: > On Tue, 2013-12-10 at 18:33 +0800, Hongbo Zhang wrote: >> Scott, >> This issue is due to the non-continuous MPIC register, I think there is >> two ways to fix it. >> >> The first one is as what we are discussing, in fact the Bman/Qman DT >> auth

Re: [PATCH v2 1/2] powerpc/pm: add api to get suspend state which is STANDBY or MEM

2014-05-09 Thread Li Yang
On Wed, Apr 30, 2014 at 6:47 AM, Scott Wood wrote: > On Mon, 2014-04-28 at 13:53 +0800, Leo Li wrote: >> On Sat, Apr 26, 2014 at 5:45 AM, Scott Wood wrote: >> > On Thu, 2014-04-24 at 14:11 +0800, Dongsheng Wang wrote: >> >> From: Wang Dongsheng >> >> >> >> Add set_pm_suspend_state & pm_suspend_s

Re: [PATCH v2 1/2] powerpc/pm: add api to get suspend state which is STANDBY or MEM

2014-05-10 Thread Li Yang
On Sat, May 10, 2014 at 1:09 AM, Scott Wood wrote: > On Fri, 2014-05-09 at 17:33 +0800, Li Yang wrote: >> On Wed, Apr 30, 2014 at 6:47 AM, Scott Wood wrote: >> > On Mon, 2014-04-28 at 13:53 +0800, Leo Li wrote: >> >> On Sat, Apr 26, 2014 at 5:45 AM, Scott Wood >

Re: [PATCH V3] cpufreq: qoriq: Register cooling device based on device tree

2016-02-26 Thread Li Yang
On Fri, Dec 18, 2015 at 4:32 PM, Arnd Bergmann wrote: > On Tuesday 15 December 2015 00:58:26 Rafael J. Wysocki wrote: >> On Thursday, November 26, 2015 05:21:11 PM Jia Hongtao wrote: >> > Register the qoriq cpufreq driver as a cooling device, based on the >> > thermal device tree framework. When t

Re: [PATCH v3 5/5] cpufreq: qoriq: Don't look at clock implementation details

2016-02-26 Thread Li Yang
On Fri, Sep 25, 2015 at 4:50 PM, Rafael J. Wysocki wrote: > On Friday, September 25, 2015 04:17:07 PM Scott Wood wrote: >> On Fri, 2015-09-25 at 23:42 +0200, Rafael J. Wysocki wrote: >> > On Tuesday, September 22, 2015 12:46:54 PM Viresh Kumar wrote: >> > > On 19-09-15, 23:29, Scott Wood wrote: >>

Re: [PATCH v3 5/5] cpufreq: qoriq: Don't look at clock implementation details

2016-02-26 Thread Li Yang
On Fri, Feb 26, 2016 at 12:16 PM, Scott Wood wrote: > On Fri, 2016-02-26 at 12:14 -0600, Li Yang wrote: >> On Fri, Sep 25, 2015 at 4:50 PM, Rafael J. Wysocki >> wrote: >> > On Friday, September 25, 2015 04:17:07 PM Scott Wood wrote: >> > > On Fri, 2015-09-

Re: [PATCH V3] cpufreq: qoriq: Register cooling device based on device tree

2016-02-26 Thread Li Yang
On Fri, Feb 26, 2016 at 2:20 PM, Arnd Bergmann wrote: > On Friday 26 February 2016 12:04:59 Li Yang wrote: >> On Fri, Dec 18, 2015 at 4:32 PM, Arnd Bergmann wrote: >> > On Tuesday 15 December 2015 00:58:26 Rafael J. Wysocki wrote: >> >> On Thursday, November 26

Re: [PATCH V3] cpufreq: qoriq: Register cooling device based on device tree

2016-02-26 Thread Li Yang
On Fri, Feb 26, 2016 at 5:16 PM, Arnd Bergmann wrote: > On Friday 26 February 2016 17:07:09 Li Yang wrote: >> >> I don't have a perfect solution either. But I think this is still >> better than making cpufreq not usable. The cpufreq driver will print >> out an

Re: [PATCH V3] cpufreq: qoriq: Register cooling device based on device tree

2016-02-26 Thread Li Yang
On Fri, Feb 26, 2016 at 5:31 PM, Li Yang wrote: > On Fri, Feb 26, 2016 at 5:16 PM, Arnd Bergmann wrote: >> On Friday 26 February 2016 17:07:09 Li Yang wrote: >>> >>> I don't have a perfect solution either. But I think this is still >>> better than makin

Re: [PATCH V3] cpufreq: qoriq: Register cooling device based on device tree

2016-02-26 Thread Li Yang
On Fri, Feb 26, 2016 at 6:08 PM, Scott Wood wrote: > On Fri, 2016-02-26 at 18:04 -0600, Li Yang wrote: >> On Fri, Feb 26, 2016 at 5:31 PM, Li Yang wrote: >> > On Fri, Feb 26, 2016 at 5:16 PM, Arnd Bergmann wrote: >> > > On Friday 26 February 2016 17:07:09 Li Y

Re: [PATCH] dma driver: fix potential oom issue of fsldma

2016-03-07 Thread Li Yang
The change looks to be correct. But we need better formatting and description. Make the title something like: dmaengine: fsldma: fix memory leak On Thu, Dec 24, 2015 at 1:26 AM, Xuelin Shi wrote: > From: Xuelin Shi > > missing unmap sources and destinations while doing dequeue. How can this

Re: [PATCH] dma driver: fix potential oom issue of fsldma

2016-03-07 Thread Li Yang
On Thu, Dec 24, 2015 at 1:26 AM, Xuelin Shi wrote: > From: Xuelin Shi And please cc dmaengine maintainers and its mailing list when you send next version. > > missing unmap sources and destinations while doing dequeue. > > Signed-off-by: Xuelin Shi > --- > drivers/dma/fsldma.c | 2 ++ > 1 fil

Re: [PATCH][v3] mtd/ifc: Add support for IFC controller version 2.0

2016-03-30 Thread Li Yang
> Upto IFC 1.4 PAGE size is 4 KB and from IFC2.0 PAGE size is 64KB. >> > This patch segregates the IFC global and runtime registers to appropriate >> > PAGE sizes. >> > >> > Signed-off-by: Jaiprakash Singh >> > Signed-off-by: Raghav Dogra >> &g

Re: [PATCH 3/6] QE: Add uqe_serial document to bindings

2016-01-18 Thread Li Yang
On Fri, Jan 8, 2016 at 10:18 AM, Zhao Qiang wrote: > Add uqe_serial document to > Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/uqe_serial.txt As you have submitted patch to move QE code from arch/powerpc into drivers/soc/fsl for the reuse of ARM and powerpc, you should also move the bind

Re: [POWERPC] Add QUICC Engine (QE) infrastructure

2016-01-18 Thread Li Yang
On Wed, Jan 6, 2016 at 5:27 PM, Dan Carpenter wrote: > Hello Li Yang, > > The patch 986585385131: "[POWERPC] Add QUICC Engine (QE) > infrastructure" from Oct 3, 2006, leads to the following static > checker warning: > > drivers/soc/fsl/qe/qe_ic.c:412 qe_ic

Re: [PATCH 3/3] mtd/ifc: Segregate IFC fcm and runtime registers

2016-02-01 Thread Li Yang
On Mon, Feb 1, 2016 at 4:46 AM, Raghav Dogra wrote: A general comment is that you should include the linux-mtd mailing list and it's maintainers for this set of patches. Although the MAINTAINERS file doesn't specify a maintainer for drivers/memory directory, it should be most related to linux-mt

Re: [PATCH] mtd/ifc: Add support for IFC controller version 2.0

2016-02-04 Thread Li Yang
ld be future proof for any page size. > > Signed-off-by: Jaiprakash Singh > Signed-off-by: Raghav Dogra The patch cannot apply on latest 4.5-rc cleanly either. Otherwise, Acked-by: Li Yang > --- > This patch is the new version of following patch with changed title: > http

Re: [PATCH][v2] drivers/memory: Add deep sleep support for IFC

2016-02-04 Thread Li Yang
On Fri, Jan 8, 2016 at 5:18 AM, Raghav Dogra wrote: > Add support of suspend, resume function to support deep sleep. > Also make sure of SRAM initialization during resume. > > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Raghav Dogra > --- > Changes for v2: Copying only the correct regist

Re: [PATCH] mtd/ifc: Add support for IFC controller version 2.0

2016-02-05 Thread Li Yang
On Thu, Feb 4, 2016 at 7:17 PM, Scott Wood wrote: > On Thu, 2016-02-04 at 17:07 -0600, Li Yang wrote: >> On Wed, Feb 3, 2016 at 12:36 AM, Raghav Dogra wrote: >> > The new IFC controller version 2.0 has a different memory map page. >> > Upto IFC 1.4 PAGE size is 4 KB a

Re: [PATCH] mtd/ifc: Add support for IFC controller version 2.0

2016-02-05 Thread Li Yang
On Fri, Feb 5, 2016 at 12:23 PM, Scott Wood wrote: > On Fri, 2016-02-05 at 12:05 -0600, Li Yang wrote: >> On Thu, Feb 4, 2016 at 7:17 PM, Scott Wood wrote: >> > On Thu, 2016-02-04 at 17:07 -0600, Li Yang wrote: >> > > On Wed, Feb 3, 2016 at 12:36 AM, Raghav Dogra

RE: [2.6 patch] sata_fsl.c: fix 8315DS workaround

2008-08-04 Thread Li Yang
> -Original Message- > From: Adrian Bunk [mailto:[EMAIL PROTECTED] > Sent: Monday, August 04, 2008 4:46 PM > To: Kalra Ashish; Li Yang; Jeff Garzik; [EMAIL PROTECTED] > Cc: linuxppc-dev@ozlabs.org; [EMAIL PROTECTED]; > Robert P. J. Day > Subject: [2.6 patch] s

[PATCH 1/6] powerpc: update flash size and partition in mpc8272ads dts

2008-08-05 Thread Li Yang
Make the flash size 8M to be consistent with the module comes with board. Add predefined partitions for the flash. Add ethernet port aliases. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8272ads.dts | 38 + 1 files chang

[PATCH 2/6] powerpc: export cpm2_immr symbol for CPM2 drivers to compile as module

2008-08-05 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/cpm2.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/sysdev/cpm2.c b/arch/powerpc/sysdev/cpm2.c index f1c3395..021480e 100644 --- a/arch/powerpc/sysdev/cpm2.c +++ b/arch/powerpc/sysde

[PATCH 3/6] powerpc: update QE/CPM2 headers for USB support

2008-08-05 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/include/asm/immap_cpm2.h |9 +++-- arch/powerpc/include/asm/immap_qe.h |9 +++-- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/arch/powerpc/include/asm/immap_cpm2.h b/arch/powerpc/inclu

[PATCH 4/6] powerpc: add USB peripheral support to MPC8272ADS

2008-08-05 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8272ads.dts |8 arch/powerpc/platforms/82xx/mpc8272_ads.c | 25 + arch/powerpc/platforms/82xx/pq2ads.h |3 +++ 3 files changed, 36 insertions(+), 0 deletions(-) diff

[PATCH 5/6] powerpc: add USB peripheral support to MPC836xMDS

2008-08-05 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc836x_mds.dts | 15 ++- arch/powerpc/platforms/83xx/mpc836x_mds.c | 19 - arch/powerpc/platforms/83xx/mpc83xx.h |1 + arch/powerpc/platforms/83xx/usb.c

[PATCH 6/6] powerpc: add 82xx platform level support to SEC engine

2008-08-05 Thread Li Yang
Initialize base and size of SEC memory region and bus priority for SEC. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/include/asm/immap_cpm2.h |7 +-- arch/powerpc/platforms/82xx/mpc8272_ads.c |1 + arch/powerpc/platforms/82xx/pq2.c

[PATCH] net/fs_enet: remove redundant messages for performance

2008-08-05 Thread Li Yang
Currently when we do a packet flood to the Ethernet port, the console reports error every time when a packet is dropped. This is too redundant and cost performance. Remove message for this type of event. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- drivers/net/fs_enet/mac-fcc.c |2

Re: [PATCH 5/6] powerpc: add USB peripheral support to MPC836xMDS

2008-08-06 Thread Li Yang
On Wed, 2008-08-06 at 12:29 -0500, Scott Wood wrote: > On Wed, Aug 06, 2008 at 03:04:44PM +0800, Li Yang wrote: > > [EMAIL PROTECTED] { > > - compatible = "qe_udc"; > > + compatible = "fsl,qe_udc

Re: [PATCH 4/6] powerpc: add USB peripheral support to MPC8272ADS

2008-08-06 Thread Li Yang
On Wed, 2008-08-06 at 12:19 -0500, Scott Wood wrote: > On Wed, Aug 06, 2008 at 03:04:43PM +0800, Li Yang wrote: > > Signed-off-by: Li Yang <[EMAIL PROTECTED]> > > --- > > arch/powerpc/boot/dts/mpc8272ads.dts |8 > > arch/powerpc/pl

Re: [PATCH 5/6] powerpc: add USB peripheral support to MPC836xMDS

2008-08-07 Thread Li Yang
Hi Anton, On Wed, 2008-08-06 at 16:07 +0400, Anton Vorontsov wrote: > Hello Li, > > On Wed, Aug 06, 2008 at 03:04:44PM +0800, Li Yang wrote: > > Signed-off-by: Li Yang <[EMAIL PROTECTED]> > > --- > > arch/powerpc/boot/dts/mpc836x_mds.dts | 15 ++-

Re: [PATCH 2/6] powerpc: export cpm2_immr symbol for CPM2 drivers to compile as module

2008-08-07 Thread Li Yang
On Wed, 2008-08-06 at 19:24 +0400, Anton Vorontsov wrote: > On Wed, Aug 06, 2008 at 03:04:41PM +0800, Li Yang wrote: > > Signed-off-by: Li Yang <[EMAIL PROTECTED]> > > --- > > arch/powerpc/sysdev/cpm2.c |1 + > > 1 files changed, 1 insertions(+), 0 deleti

Re: [PATCH] usb: add Freescale QE/CPM USB peripheral controller driver

2008-08-29 Thread Li Yang
On Thu, 2008-08-28 at 17:04 +0200, Arnd Bergmann wrote: > On Thursday 28 August 2008, Li Yang wrote: > > Some of Freescale SoC chips have a QE or CPM co-processor which > > supports full speed USB. The driver adds device mode support > > of both QE and CPM USB controller to L

Re: [PATCH] usb: add Freescale QE/CPM USB peripheral controller driver

2008-08-29 Thread Li Yang
On Thu, 2008-08-28 at 11:39 -0500, Scott Wood wrote: > On Thu, Aug 28, 2008 at 05:43:33PM +0800, Li Yang wrote: > > +config USB_GADGET_FSL_QE > > + boolean "Freescale QE/CPM USB Device Controller" > > + depends on FSL_SOC && (QUICC_ENGINE || CPM) &g

Re: [PATCH] usb: add Freescale QE/CPM USB peripheral controller driver

2008-09-02 Thread Li Yang
On Mon, Sep 1, 2008 at 9:52 PM, Anton Vorontsov <[EMAIL PROTECTED]> wrote: > On Thu, Aug 28, 2008 at 05:43:33PM +0800, Li Yang wrote: >> Some of Freescale SoC chips have a QE or CPM co-processor which >> supports full speed USB. The driver adds device mode support >

Re: [PATCH] usb: add Freescale QE/CPM USB peripheral controller driver

2008-09-02 Thread Li Yang
On Tue, Sep 2, 2008 at 1:11 AM, Anton Vorontsov <[EMAIL PROTECTED]> wrote: > On Thu, Aug 28, 2008 at 05:43:33PM +0800, Li Yang wrote: >> Some of Freescale SoC chips have a QE or CPM co-processor which >> supports full speed USB. The driver adds device mode support >

Re: [PATCH v3] usb: add Freescale QE/CPM USB peripheral controller driver

2008-09-02 Thread Li Yang
On Tue, Sep 2, 2008 at 8:01 PM, Arnd Bergmann <[EMAIL PROTECTED]> wrote: > On Tuesday 02 September 2008, Li Yang wrote: >> Some of Freescale SoC chips have a QE or CPM co-processor which >> supports full speed USB. The driver adds device mode support >> of both QE and

Re: UCC GETH does not work on my MPC8360EA

2008-09-18 Thread Li Yang
On Thu, Sep 18, 2008 at 8:43 PM, Wolfgang Grandegger <[EMAIL PROTECTED]> wrote: > Li Yang-R58472 wrote: >>> -Original Message- >>> From: [EMAIL PROTECTED] >>> [mailto:[EMAIL PROTECTED] >>> On Behalf Of Wolfgang Grandegger >>> Sent: Wedn

Re: Merge linuxppc-embedded with linuxppc-dev

2008-09-24 Thread Li Yang
On Tue, Sep 23, 2008 at 6:20 AM, Grant Likely <[EMAIL PROTECTED]> wrote: > On Mon, Sep 22, 2008 at 4:11 PM, Mike Frysinger <[EMAIL PROTECTED]> wrote: >> On Mon, Sep 22, 2008 at 18:08, Grant Likely <[EMAIL PROTECTED]> wrote: >>> Jeremy, >>> >>> Can we eliminate the linuxppc-embedded mailing list and

Re: [PATCH v2] fsl-dma: allow Freescale Elo DMA driver to be compiled as a module

2008-09-24 Thread Li Yang
Not a critical problem. But module_init() are preferred for modules. > +module_exit(of_fsl_dma_exit); > + > +MODULE_DESCRIPTION("Freescale Elo / Elo Plus DMA driver"); > +MODULE_LICENSE("GPL"); Acked-by: Li Yang <[EMAIL PROTECTED]> - Leo ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH] pata_platform struct resource signness fix

2008-09-25 Thread Li Yang
On Thu, Sep 25, 2008 at 4:54 PM, Wang Jian <[EMAIL PROTECTED]> wrote: > The alternative fix can be. This one is better as 0 is defined as 'invalid irq' for all architectures. Added linux-ide and Anton to cc. - Leo > > diff --git a/drivers/ata/pata_of_platform.c b/drivers/ata/pata_of_platform.c

Re: [PATCH v2 1/4] fsl_rio: fix compile errors

2010-08-31 Thread Li Yang
On Wed, Sep 1, 2010 at 5:39 AM, Kumar Gala wrote: > > On Jun 18, 2010, at 1:24 AM, Li Yang wrote: > >> Fixes the following compile problem on E500 platforms: >> arch/powerpc/sysdev/fsl_rio.c: In function 'fsl_rio_mcheck_exception': >> arch/powerpc/sy

[PATCH] fsldma: add support to 36-bit physical address

2010-09-21 Thread Li Yang
Signed-off-by: Li Yang --- drivers/dma/fsldma.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c index cea08be..9163552 100644 --- a/drivers/dma/fsldma.c +++ b/drivers/dma/fsldma.c @@ -1,7 +1,7 @@ /* * Freescale MPC85xx

Re: [PATCH][v2] powerpc/fsl: 85xx: add cache-sram support

2010-10-14 Thread Li Yang
Oct 13, 2010 at 8:00 PM, wrote: > From: Harninder Rai > > It adds cache-sram support in P1/P2 QorIQ platforms as under: > >    * A small abstraction over powerpc's remote heap allocator >    * Exports mpc85xx_cache_sram_alloc()/free() APIs >    * Supports only one contiguous SRAM window >    *

Re: [PATCH RFC] PPC: /dev/mem: All RAM is cacheable, not just the kernel's.

2010-10-19 Thread Li Yang
On Tue, Oct 19, 2010 at 6:32 AM, Scott Wood wrote: > If mem= is used on the kernel command line to create reserved regions > for userspace to map using /dev/mem, let it be mapped cacheable as long > as it is within the memory region described in the device tree. > > Signed-off-by: Scott Wood > --

[PATCH v2] fsldma: add support to 36-bit physical address

2010-11-11 Thread Li Yang
Expand the dma_mask of fsldma device to 36-bit, indicating that the DMA engine can deal with 36-bit physical address and does not need the SWIOTLB to create bounce buffer for it when doing dma_map_*(). Signed-off-by: Li Yang --- Add more detailed commit message drivers/dma/fsldma.c |4

[PATCH] ucc_geth: fix ucc halt problem in half duplex mode

2010-11-26 Thread Li Yang
threshold size can cause UCC to halt), setting UTFTT less than [(UTFS x (M - 8)/M) - 128] will prevent this from happening (M is the minimum buffer size). The patch changes UTFTT back to 256. Signed-off-by: Li Yang Cc: Jean-Denis Boyer Cc: Andreas Schmitz Cc: Anton Vorontsov --- drivers/net

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

2010-12-03 Thread Li Yang
The timebase sync is not only necessary when using KEXEC. It should also be used by normal boot up and cpu hotplug. Remove the ifdef added by the KEXEC patch. Fix a problem that cpu hotplugging freezes the whole system. Signed-off-by: Jin Qing Singed-off-by: Li Yang --- arch/powerpc

[PATCH 2/7] powerpc/85xx: add HOTPLUG_CPU support

2010-12-03 Thread Li Yang
. This patch brings the bootpage and spin-table from bootloader into kernel because the bootpage in bootloader might have been lost at runtime. Also add support to boot from physical address larger than 32-bit. Signed-off-by: Yutaka Ando Signed-off-by: Li Yang --- arch/powerpc/Kconfig

[PATCH 7/7] P2020ds: add event button handler

2010-12-03 Thread Li Yang
This can be used as a wakeup source for power management. Signed-off-by: Li Yang --- arch/powerpc/boot/dts/p2020ds.dts|9 - arch/powerpc/platforms/85xx/mpc85xx_ds.c | 26 +- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/arch

[PATCH 3/7] powerpc/85xx: add the deep sleep support

2010-12-03 Thread Li Yang
equal to the Suspend-to-RAM state of Linux Power Management. echo mem > /sys/power/state to enter deep sleep mode. Signed-off-by: Dave Liu Signed-off-by: Li Yang Signed-off-by: Jin Qing Cc: Scott Wood --- arch/powerpc/kernel/l2cr_85xx.S | 53 +++ arch/powerpc/platforms/85xx/susp

[PATCH 5/7] powerpc: add the mpic timer support

2010-12-03 Thread Li Yang
There are global timers in the MPIC interrupt controller. The patch adds support to the timers. The timer can generate interrupt which can be used as a wakeup event. Signed-off-by: Dave Liu Signed-off-by: Li Yang --- arch/powerpc/include/asm/mpic.h |1 + arch/powerpc/sysdev/Makefile

[PATCH 6/7] fsl_pmc: update device bindings

2010-12-03 Thread Li Yang
Signed-off-by: Li Yang --- Documentation/powerpc/dts-bindings/fsl/pmc.txt | 63 +-- 1 files changed, 36 insertions(+), 27 deletions(-) diff --git a/Documentation/powerpc/dts-bindings/fsl/pmc.txt b/Documentation/powerpc/dts-bindings/fsl/pmc.txt index 07256b7..d84b4f8

[PATCH 4/7] powerpc/85xx: add support to JOG feature using cpufreq interface

2010-12-03 Thread Li Yang
Some 85xx silicons like MPC8536 and P1022 has the JOG PM feature. The patch adds the support to change CPU frequency using the standard cpufreq interface. Signed-off-by: Dave Liu Signed-off-by: Li Yang --- arch/powerpc/platforms/85xx/Makefile |1 + arch/powerpc/platforms/85xx/cpufreq.c

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

2010-12-03 Thread Li Yang
On Sat, Dec 4, 2010 at 12:40 AM, Kumar Gala wrote: > > On Dec 3, 2010, at 6:34 AM, Li Yang wrote: > >> The timebase sync is not only necessary when using KEXEC.  It should also >> be used by normal boot up and cpu hotplug.  Remove the ifdef added by >> the KEXEC pat

[PATCH] fsldma: fix issue of slow dma

2010-12-08 Thread Li Yang
From: Forrest Shi Fixed fsl dma slow issue by initializing dma mode register with bandwidth control. It boosts dma performance and should works with 85xx board. Signed-off-by: Forrest Shi Signed-off-by: Li Yang --- drivers/dma/fsldma.c |6 -- drivers/dma/fsldma.h |9 - 2

Re: [PATCH 7/7] P2020ds: add event button handler

2010-12-13 Thread Li Yang
On Tue, Dec 14, 2010 at 5:56 AM, Timur Tabi wrote: > On Fri, Dec 3, 2010 at 6:34 AM, Li Yang wrote: >> This can be used as a wakeup source for power management. > > This patch doesn't actually add wake-up support. Any enabled IRQ is a valid wake-up source for standby. The p

[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 --- The only direct users of this function is fb_mmap() and /dev/mem mmap. Although I'm not sure if anything is depending o

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 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 sys

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 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 uses O_SYNC on mai

  1   2   3   4   5   6   >