RE: [PATCH] powerpc/smp: Fix Non-boot cpus cannot be bring up.

2014-12-22 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Michael Ellerman [mailto:m...@ellerman.id.au] > Sent: Tuesday, December 23, 2014 9:01 AM > To: Wang Dongsheng-B40534 > Cc: b...@kernel.crashing.org; Wood Scott-B07421; an...@samba.org; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH] powerpc/smp: Fix N

RE: [PATCH] powerpc/smp: Fix Non-boot cpus cannot be bring up.

2014-12-22 Thread dongsheng.w...@freescale.com
TCH] powerpc/smp: Fix Non-boot cpus cannot be bring up. > > On Tue, 2014-12-23 at 02:41 +, dongsheng.w...@freescale.com wrote: > > > -Original Message- > > > From: Michael Ellerman [mailto:m...@ellerman.id.au] > > > Sent: Tuesday, December 23, 20

RE: [PATCH] powerpc/smp: Fix Non-boot cpus cannot be bring up.

2014-12-22 Thread dongsheng.w...@freescale.com
; an...@samba.org; > > linuxppc- d...@lists.ozlabs.org > > Subject: Re: [PATCH] powerpc/smp: Fix Non-boot cpus cannot be bring up. > > > > On Tue, 2014-12-23 at 02:41 +, dongsheng.w...@freescale.com wrote: > > > > -Original Message- > > > >

RE: [PATCH v2 1/2] fsl/corenet_generic: add a particular initialization for platform

2014-04-23 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, April 17, 2014 3:36 AM > To: Wang Dongsheng-B40534 > Cc: Jin Zhengxiong-R64188; haoke...@gmail.com; Kushwaha Prabhakar-B32579; > linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH v2 1/2] fsl/corenet_generic: add a particul

RE: [PATCH v5 4/4] powerpc/85xx: add sysfs for pw20 state and altivec idle

2013-12-15 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Bhushan Bharat-R65777 > Sent: Monday, November 11, 2013 12:11 PM > To: Wang Dongsheng-B40534; Wood Scott-B07421 > Cc: linuxppc-dev@lists.ozlabs.org > Subject: RE: [PATCH v5 4/4] powerpc/85xx: add sysfs for pw20 state and altivec > idle > > > > Those codes jus

RE: [PATCH] powerpc/mpic_timer: fix the time calculation is not accurate

2013-12-29 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, December 28, 2013 8:00 AM > To: Wang Dongsheng-B40534 > Cc: ga...@kernel.crashing.org; linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH] powerpc/mpic_timer: fix the time calculation is not > accurate > > On Mon, 2013-12-

RE: [PATCH v6 1/4] powerpc/fsl: add E6500 PVR and SPRN_PWRMGTCR0 define

2013-12-29 Thread dongsheng.w...@freescale.com
Hi Scott, Could you apply these patches? [v6,1/4] powerpc/fsl: add E6500 PVR and SPRN_PWRMGTCR0 define, http://patchwork.ozlabs.org/patch/302045/ [v6,2/4] powerpc/85xx: add hardware automatically enter altivec idle state, http://patchwork.ozlabs.org/patch/302046/ [v6,3/4] powerpc/85xx: add hard

RE: [PATCH 1/2] powerpc/p1022ds: fix rtc compatible string

2013-12-29 Thread dongsheng.w...@freescale.com
Hi Scott, Could you apply these patches? [1/2] powerpc/p1022ds: fix rtc compatible string, http://patchwork.ozlabs.org/patch/302741/ [2/2] powerpc/p1022ds: add a interrupt for rtc node, http://patchwork.ozlabs.org/patch/302742/ -Dongsheng > -Original Message- > From: Dongsheng Wang [m

RE: [PATCH] powerpc/fsl-booke: Use SPRN_SPRGn rather than mfsprg/mtsprg

2014-01-03 Thread dongsheng.w...@freescale.com
Looks good. I will test it as soon as possible. BTW, there is only SPRG3 need to save. 32bit: SPRG0-SPRG1, SPRG2-SPRG7, SPRG9 be use to deal with exception, those register not need to save.(SPRG8 not be used) Only SPRG3 be used to save current thread_info pointer. -Dongsheng > -Original Mes

RE: [PATCH] powerpc/fsl-booke: Use SPRN_SPRGn rather than mfsprg/mtsprg

2014-01-05 Thread dongsheng.w...@freescale.com
Reviewed-by: Wang Dongsheng Tested-by: Wang Dongsheng Works well. :) -Dongsheng > -Original Message- > From: Linuxppc-dev [mailto:linuxppc-dev- > bounces+b40534=freescale@lists.ozlabs.org] On Behalf Of > dongsheng.w...@freescale.com > Sent: Friday, January 03, 20

RE: [RFC] linux/pci: move pci_platform_pm_ops to linux/pci.h

2014-01-07 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Monday, January 06, 2014 8:13 PM > To: Bjorn Helgaas > Cc: Wang Dongsheng-B40534; Zang Roy-R61911; Wood Scott-B07421; Kumar Gala; > Linux > PM list; linux-...@vger.kernel.org; linuxppc-dev > Subject: Re: [

RE: [PATCH 1/2] pci: Fix root port bus->self is NULL

2014-01-07 Thread dongsheng.w...@freescale.com
> >> diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index > >> 38e403d..7f2d1ab 100644 > >> --- a/drivers/pci/probe.c > >> +++ b/drivers/pci/probe.c > >> @@ -1472,6 +1472,9 @@ int pci_scan_slot(struct pci_bus *bus, int devfn) > >>if (!dev->is_added) > >>nr++; > >> > >> + if

RE: [PATCH] powerpc/mpic: supply a .disable callback

2014-01-07 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, January 07, 2014 2:39 PM > To: Wang Dongsheng-B40534 > Cc: b...@kernel.crashing.org; linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH] powerpc/mpic: supply a .disable callback > > On Tue, 2014-01-07 at 13:38 +0800, Dongsh

RE: [PATCH 2/2] powerpc/85xx: handle the eLBC error interrupt if it exist in dts

2014-01-07 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, January 07, 2014 2:58 PM > To: Wang Dongsheng-B40534 > Cc: linuxppc-dev@lists.ozlabs.org; Xie Shaohui-B21989; Kumar Gala > Subject: Re: [PATCH 2/2] powerpc/85xx: handle the eLBC error interrupt if it > exist in dts > > On Tu

RE: [PATCH] powerpc/mpic: supply a .disable callback

2014-01-07 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > Sent: Tuesday, January 07, 2014 1:50 PM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH] powerpc/mpic: supply a .disable callback > > On Tue, 2

RE: [PATCH 1/2] pci: Fix root port bus->self is NULL

2014-01-07 Thread dongsheng.w...@freescale.com
R61911; linux- > p...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH 1/2] pci: Fix root port bus->self is NULL > > > > On 2014/1/7 17:51, dongsheng.w...@freescale.com wrote: > >>>> diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index &

RE: [PATCH 2/2] fsl/pci: The new pci suspend/resume implementation

2014-01-07 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Wednesday, January 08, 2014 4:42 AM > To: Wang Dongsheng-B40534 > Cc: bhelg...@google.com; Wood Scott-B07421; ga...@codeaurora.org; Zang Roy- > R61911; linux-...@vger.kernel.org; linuxppc-dev@lists.ozlabs.o

RE: [PATCH 2/2] powerpc/85xx: handle the eLBC error interrupt if it exist in dts

2014-01-07 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, January 08, 2014 4:45 AM > To: Wang Dongsheng-B40534 > Cc: linuxppc-dev@lists.ozlabs.org; Xie Shaohui-B21989; Kumar Gala > Subject: Re: [PATCH 2/2] powerpc/85xx: handle the eLBC error interrupt if it > exist in dts > > On

RE: [v6,4/4] powerpc/85xx: add sysfs for pw20 state and altivec idle

2014-01-09 Thread dongsheng.w...@freescale.com
> /home/scott/fsl/git/linux/upstream/arch/powerpc/kernel/sysfs.c:326:19: error: > 'PWRMGTCR0_AV_IDLE_CNT' undeclared (first use in this function) > /home/scott/fsl/git/linux/upstream/arch/powerpc/kernel/sysfs.c:329:36: error: > 'PWRMGTCR0_AV_IDLE_CNT_SHIFT' undeclared (first use in this function) >

RE: [PATCH 3/3] powerpc/fsl: Use the new interface to save or restore registers

2014-01-14 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, January 15, 2014 7:30 AM > To: Wang Dongsheng-B40534 > Cc: b...@kernel.crashing.org; Zhao Chenhui-B35336; an...@enomsg.org; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH 3/3] powerpc/fsl: Use the new interface to

RE: [PATCH 2/3] powerpc/85xx: Provide two functions to save/restore the core registers

2014-01-14 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, January 15, 2014 7:51 AM > To: Wang Dongsheng-B40534 > Cc: b...@kernel.crashing.org; Zhao Chenhui-B35336; an...@enomsg.org; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH 2/3] powerpc/85xx: Provide two functions to

RE: [PATCH 3/3] powerpc/fsl: Use the new interface to save or restore registers

2014-01-19 Thread dongsheng.w...@freescale.com
> > > > Use fsl_cpu_state_save/fsl_cpu_state_restore to save/restore registers. > > > > Use the functions to save/restore registers, so we don't need to > > > > maintain the code. > > > > > > > > Signed-off-by: Wang Dongsheng > > > > > > Is there any functional change with this patchset (e.g. susp

RE: [PATCH 2/3] powerpc/85xx: Provide two functions to save/restore the core registers

2014-01-19 Thread dongsheng.w...@freescale.com
> > > What is there that is specfic to a particular core type that can't be > handled > > > from C code? > > > > > > > In the context of the calling, maybe not in C environment.(Deep sleep > > without > > C environment when calling those interfaces) > > Could you provide a concrete example? > :

RE: [PATCH 2/3] powerpc/85xx: Provide two functions to save/restore the core registers

2014-01-20 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, January 21, 2014 9:06 AM > To: Wang Dongsheng-B40534 > Cc: b...@kernel.crashing.org; Zhao Chenhui-B35336; an...@enomsg.org; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH 2/3] powerpc/85xx: Provide two functions to s

RE: [PATCH 2/2] fsl/pci: The new pci suspend/resume implementation

2014-01-20 Thread dongsheng.w...@freescale.com
Any more comments? :) Thanks, -Dongsheng > -Original Message- > From: Linuxppc-dev [mailto:linuxppc-dev- > bounces+b40534=freescale@lists.ozlabs.org] On Behalf Of > dongsheng.w...@freescale.com > Sent: Wednesday, January 08, 2014 3:13 PM > To: Rafael J. Wysocki

RE: [PATCH 2/3] powerpc/85xx: Provide two functions to save/restore the core registers

2014-01-22 Thread dongsheng.w...@freescale.com
> > > > > > The whole point of calling enable_kernel_fp() in C code before > > > suspending is to ensure that the FP state gets saved. If FP is used > > > after that point it is a bug. If you're worried about such bugs, then > > > clear MSR[FP] after calling enable_kernel_fp(), rather than adding

RE: [PATCH 3/3] powerpc/fsl: Use the new interface to save or restore registers

2014-01-22 Thread dongsheng.w...@freescale.com
> > Currently does not support. ok change the name first, if later support, and > > then again to modify the name of this function. > > > > How about 85xx_cpu_state_restore? > > Symbols can't begin with numbers. booke_cpu_state_restore would be > better (it would still provide a place for 44x to

RE: [rtc-linux] [PATCH] rtc/ds3232: Enable ds3232 to work as wakeup source

2014-02-25 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Andrew Morton [mailto:a...@linux-foundation.org] > Sent: Wednesday, February 26, 2014 6:07 AM > To: rtc-li...@googlegroups.com > Cc: Wang Dongsheng-B40534; a.zu...@towertech.it; Zhao Chenhui-B35336; > linuxppc- > d...@lists.ozlabs.org > Subject: Re: [rtc-linu

RE: [rtc-linux] [PATCH] rtc/ds3232: Enable ds3232 to work as wakeup source

2014-02-25 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, February 26, 2014 11:21 AM > To: Wang Dongsheng-B40534 > Cc: Andrew Morton; rtc-li...@googlegroups.com; b...@kernel.crashing.org; > a.zu...@towertech.it; Zhao Chenhui-B35336; linuxppc-dev@lists.ozlabs.org > Subject: Re: [rt

RE: [2/2] fsl/pci: The new pci suspend/resume implementation

2014-03-19 Thread dongsheng.w...@freescale.com
Hi Scott, I will send v2 patch to fix your comment. Thanks for your review. :) > -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, March 20, 2014 5:01 AM > To: Wang Dongsheng-B40534 > Cc: bhelg...@google.com; r...@rjwysocki.net; roy.z...@freescale.com; > ga...@codeaurora.org;

RE: [PATCH] powerpc/irq: Remove HAVE_IRQ_EXIT_ON_IRQ_STACK feature at powerpc platform

2014-03-28 Thread dongsheng.w...@freescale.com
Thanks Kevin. Your patch works normal. :) I still have some confused. I think when __do_softirq always get a interrupt, the hard stack will be run out, isn't it? Regards, -Dongsheng > -Original Message- > From: Kevin Hao [mailto:haoke...@gmail.com] > Sent: Friday, March 28, 2014 4:18 PM

RE: [PATCH 2/2] Make the diu driver work without board level initilization

2014-03-31 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Linuxppc-dev [mailto:linuxppc-dev- > bounces+b40534=freescale@lists.ozlabs.org] On Behalf Of Jason Jin > Sent: Thursday, March 27, 2014 7:38 PM > To: Wood Scott-B07421; ti...@tabi.org > Cc: linux-fb...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; Li Yan

RE: [PATCH bisect 2/2] ASoC: fsl_sai: Separately enable interrupts for Tx and Rx streams

2014-03-31 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Linuxppc-dev [mailto:linuxppc-dev- > bounces+b40534=freescale@lists.ozlabs.org] On Behalf Of Nicolin Chen > Sent: Tuesday, April 01, 2014 11:17 AM > To: broo...@kernel.org > Cc: alsa-de...@alsa-project.org; Xiubo Li-B47053; > linuxppc-dev@lists.ozlabs.org

RE: [PATCH bisect 2/2] ASoC: fsl_sai: Separately enable interrupts for Tx and Rx streams

2014-03-31 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Nicolin Chen [mailto:guangyu.c...@freescale.com] > Sent: Tuesday, April 01, 2014 11:14 AM > To: Wang Dongsheng-B40534 > Cc: broo...@kernel.org; alsa-de...@alsa-project.org; Xiubo Li-B47053; > linuxppc- > d...@lists.ozlabs.org; linux-ker...@vger.kernel.org; ti

RE: [PATCH bisect 2/2] ASoC: fsl_sai: Separately enable interrupts for Tx and Rx streams

2014-03-31 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Nicolin Chen [mailto:guangyu.c...@freescale.com] > Sent: Tuesday, April 01, 2014 11:38 AM > To: Wang Dongsheng-B40534 > Cc: broo...@kernel.org; alsa-de...@alsa-project.org; Xiubo Li-B47053; > linuxppc- > d...@lists.ozlabs.org; linux-ker...@vger.kernel.org; ti

RE: [PATCH] cpuidle: add freescale e500 family porcessors idle support

2014-04-02 Thread dongsheng.w...@freescale.com
Hi Daniel, Thanks for your review. I will fix your comments. BTW, fix Rafael's email. :) > > +#include > > +#include > > +#include > > +#include > > +#include > > + > > +#include > > +#include > > +#include > > + > > +static unsigned int max_idle_state; > > +static struct cpuidle_state *

RE: [PATCH] cpuidle: add freescale e500 family porcessors idle support

2014-04-03 Thread dongsheng.w...@freescale.com
ux...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH] cpuidle: add freescale e500 family porcessors idle > support > > On 04/03/2014 05:20 AM, dongsheng.w...@freescale.com wrote: > > Hi Daniel, > > > > Thanks for your review. I will

RE: [PATCH 1/2] powerpc/mpc85xx: add two functions to get suspend state which is standby or mem

2014-04-14 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, April 15, 2014 7:27 AM > To: Wang Dongsheng-B40534 > Cc: Jin Zhengxiong-R64188; Li Yang-Leo-R58472; Zhao Chenhui-B35336; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH 1/2] powerpc/mpc85xx: add two functions to get s

RE: [PATCH 2/2] fsl/mpic_timer: make mpic_timer to support deep sleep feature

2014-04-14 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, April 15, 2014 7:36 AM > To: Wang Dongsheng-B40534 > Cc: Jin Zhengxiong-R64188; Li Yang-Leo-R58472; Zhao Chenhui-B35336; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH 2/2] fsl/mpic_timer: make mpic_timer to support

RE: [PATCH 2/2] fsl/pci: fix EP device sometimes hangup when system resume from sleep

2014-04-15 Thread dongsheng.w...@freescale.com
Hi all, Please ignore this patch. :( I will resend it. Because I found when e1000 card plug in P1020 PCIe slot 2, we need more delay time to let EP device return back. Regards, -Dongsheng > -Original Message- > From: Dongsheng Wang [mailto:dongsheng.w...@freescale.com] > Sent: Tuesday,

RE: [PATCH v2 1/2] fsl/corenet_generic: add a particular initialization for platform

2014-04-15 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, April 16, 2014 3:39 AM > To: Wang Dongsheng-B40534 > Cc: Jin Zhengxiong-R64188; haoke...@gmail.com; Kushwaha Prabhakar-B32579; > linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH v2 1/2] fsl/corenet_generic: add a particu

RE: [PATCH 2/2] fsl/mpic_timer: make mpic_timer to support deep sleep feature

2014-04-15 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, April 16, 2014 5:06 AM > To: Wang Dongsheng-B40534 > Cc: Jin Zhengxiong-R64188; Li Yang-Leo-R58472; Zhao Chenhui-B35336; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH 2/2] fsl/mpic_timer: make mpic_timer to suppor

Powerpc: e1000e cannot work normally after system resume from sleep(standby)

2014-04-17 Thread dongsheng.w...@freescale.com
Hi all, Now I'm developing Freescale PCIe power management feature. The following is my PCIe suspend/resume code. when I test system wake up from sleep(STANDBY), I got below calltrace. Looks like e1000e cannot transfer data, maybe watchdog has some issue. Or maybe some of the other causes. I t

RE: [PATCH] fsl/smp: add low power boot support to replace spin boot

2015-01-14 Thread dongsheng.w...@freescale.com
Hi all, U-boot patch link: http://patchwork.ozlabs.org/patch/429265/ Regards, -Dongsheng > -Original Message- > From: Dongsheng Wang [mailto:dongsheng.w...@freescale.com] > Sent: Thursday, January 15, 2015 2:06 PM > To: Wood Scott-B07421; Sun York-R58495; Li Yang-Leo-R58472 > Cc: linuxpp

RE: [PATCH] fsl/smp: add low power boot support to replace spin boot

2015-01-15 Thread dongsheng.w...@freescale.com
Thanks for your review. > -Original Message- > From: Sun York-R58495 > Sent: Friday, January 16, 2015 1:09 AM > To: Wang Dongsheng-B40534; Wood Scott-B07421; Li Yang-Leo-R58472 > Cc: linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH] fsl/smp: add low power boot support to replace spin bo

RE: [PATCH] powerpc/fsl: add power_off support for fsl platform

2015-02-26 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, February 25, 2015 10:30 AM > To: Wang Dongsheng-B40534 > Cc: Jin Zhengxiong-R64188; Li Yang-Leo-R58472; Jia Hongtao-B38951; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH] powerpc/fsl: add power_off support for fsl