Re: [PATCH 1/3] soc: fsl: add Platform PM driver QorIQ platforms

2018-09-07 Thread Wang, Dongsheng
On 2018/9/7 16:49, Ran Wang wrote: > Hi Dongsheng > >> On 2018/9/5 11:05, Dongsheng Wang wrote: >> >> Please change your comments style. >> >> On 2018/8/31 11:57, Ran Wang wrote: >>> This driver is to provide a independent framework for PM service >>> provider and consumer to configure system level

Re: [PATCH 3/3] soc: fsl: add RCPM driver

2018-09-04 Thread Wang, Dongsheng
Please change your comments style. On 2018/8/31 11:56, Ran Wang wrote: > The NXP's QorIQ Processors based on ARM Core have RCPM module (Run > Control and Power Management), which performs all device-level > tasks associated with power management such as wakeup source control. > > This driver depen

Re: [PATCH 1/3] soc: fsl: add Platform PM driver QorIQ platforms

2018-09-04 Thread Wang, Dongsheng
Please change your comments style. On 2018/8/31 11:57, Ran Wang wrote: > This driver is to provide a independent framework for PM service > provider and consumer to configure system level wake up feature. For > example, RCPM driver could register a callback function on this > platform first, and F

RE: [PATCH v3 1/2] fsl: Add binding for RCPM

2015-10-07 Thread Wang Dongsheng
> > +++ b/Documentation/devicetree/bindings/soc/fsl/rcpm.txt > > @@ -0,0 +1,63 @@ > > +* Run Control and Power Management > > +--- > > +The RCPM performs all device-level tasks associated with device run > > +control and power management. > > + > > +Required

RE: [PATCH v3 1/2] fsl: Add binding for RCPM

2015-09-24 Thread Wang Dongsheng
> On Thu, 2015-09-24 at 21:38 -0500, Wang Dongsheng-B40534 wrote: > > > > +* Freescale RCPM Wakeup Source Device Tree Bindings > > > > +--- > > > > +Required rcpm-wakeup property should be added to a device node if the

RE: [PATCH v3 1/2] fsl: Add binding for RCPM

2015-09-24 Thread Wang Dongsheng
> > +* Freescale RCPM Wakeup Source Device Tree Bindings > > +--- > > +Required rcpm-wakeup property should be added to a device node if the > > device > > +can be used as a wakeup source. > > + > > + - rcpm-wakeup: The value of the property consists of cell

RE: [PATCH v3 1/2] fsl: Add binding for RCPM

2015-09-24 Thread Wang Dongsheng
Hi Shawn, Thanks for your review. > > From: Wang Dongsheng > > > > RCPM is the Run Control and Power Management module performs all > > device-level tasks associated with device run control and power > > management. > > > > Add this for freescal

RE: [PATCH v2] video: fbdev: fsl: Fix the sleep function for FSL DIU module

2015-09-24 Thread Wang Dongsheng
Hi Tomi, Could you apply this patch? > > For deep sleep, the diu module will power off, when wake up from the > > deep sleep, the registers need to be reinitialized. > > > > Signed-off-by: Jason Jin > > Signed-off-by: Wang Dongsheng > > Acked-

RE: [PATCH 04/17] powerpc: mpic: use IRQCHIP_SKIP_SET_WAKE instead of redundant mpic_irq_set_wake

2015-09-22 Thread Wang Dongsheng
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Thomas Gleixner > Sent: Wednesday, September 23, 2015 11:49 AM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; Sudeep Holla; linux...@vger

RE: [PATCH 04/17] powerpc: mpic: use IRQCHIP_SKIP_SET_WAKE instead of redundant mpic_irq_set_wake

2015-09-22 Thread Wang Dongsheng
; > Jia > Hongtao-B38951; Marc Zyngier; linuxppc-dev@lists.ozlabs.org; Wang Dongsheng- > B40534 > Subject: Re: [PATCH 04/17] powerpc: mpic: use IRQCHIP_SKIP_SET_WAKE instead of > redundant mpic_irq_set_wake > > On Mon, 2015-09-21 at 16:47 +0100, Sudeep Holla wrote: > > mpi

RE: [PATCH v2 1/2] fsl: Add binding for RCPM

2015-09-15 Thread Wang Dongsheng
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, September 16, 2015 12:14 PM > To: Wang Dongsheng-B40534 > Cc: Tang Yuantian-B29983; devicet...@vger.kernel.org; linuxppc- > d...@lists.ozlabs.org; robh...@kernel.org; > linux-arm-ker...@lists.infra

RE: [PATCH v2 1/2] fsl: Add binding for RCPM

2015-09-15 Thread Wang Dongsheng
Hi Scott, > -Original Message- > From: Wang Dongsheng-B40534 > Sent: Wednesday, September 16, 2015 10:44 AM > To: Wood Scott-B07421; Tang Yuantian-B29983 > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; > robh...@kernel.org; linux-arm-ker...@lists.infrad

RE: [PATCH v2 1/2] fsl: Add binding for RCPM

2015-09-15 Thread Wang Dongsheng
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, September 16, 2015 10:38 AM > To: Tang Yuantian-B29983 > Cc: Wang Dongsheng-B40534; devicet...@vger.kernel.org; linuxppc- > d...@lists.ozlabs.org; robh...@kernel.org; > linux-arm-ker...@lists.infra

RE: [PATCH v2 1/2] fsl: Add binding for RCPM

2015-09-15 Thread Wang Dongsheng
Hi Scott, > -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, September 16, 2015 10:19 AM > To: Wang Dongsheng-B40534 > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; > robh...@kernel.org; linux-arm-ker...@lists.infradead.org; Wang H

RE: [PATCH v2 1/2] fsl: Add binding for RCPM

2015-09-15 Thread Wang Dongsheng
Hi Scott, > -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, September 16, 2015 7:57 AM > To: Wang Dongsheng-B40534 > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; > robh...@kernel.org; linux-arm-ker...@lists.infradead.org; Wang H

RE: [PATCH 1/2] fsl: Add binding for RCPM

2015-09-10 Thread Wang Dongsheng
> -Original Message- > From: Wood Scott-B07421 > Sent: Friday, September 11, 2015 12:47 AM > To: Wang Dongsheng-B40534 > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; Jin Zhengxiong- > R64188; Zhao Chenhui-B35336; Tang Yuantian-B29983; Wang H

RE: [PATCH 1/2] fsl: Add binding for RCPM

2015-09-09 Thread Wang Dongsheng
Hi Scott, Thanks for your review. > -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, September 10, 2015 3:57 AM > To: Wang Dongsheng-B40534 > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; Jin Zhengxiong- > R64188; Zhao Chenhui-B35336; Ta

RE: [PATCH v2] video: fbdev: fsl: Fix the sleep function for FSL DIU module

2015-08-16 Thread Wang Dongsheng
Thanks Timur. @Scott, Could you apply this patch? Regards, -Dongsheng > -Original Message- > From: Timur Tabi [mailto:ti...@tabi.org] > Sent: Saturday, August 15, 2015 11:45 AM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; Jin Zhengxiong-R64188; linuxppc-dev@l

RE: [PATCH v2 1/2] powerpc/85xx: Add binding for SCFG

2015-08-16 Thread Wang Dongsheng
; linuxppc- > d...@lists.ozlabs.org; Wang Dongsheng-B40534 > Subject: [PATCH v2 1/2] powerpc/85xx: Add binding for SCFG > > From: Wang Dongsheng > > SCFG provides SoC specific configuration and status registers for > the chip. Add this for powerpc platform. > > Signed-off-by: Wa

RE: [PATCH] video/fsl: Fix the sleep function for FSL DIU module

2015-08-13 Thread Wang Dongsheng
Hi Tabi, > -Original Message- > From: Timur Tabi [mailto:ti...@tabi.org] > Sent: Tuesday, March 25, 2014 11:55 PM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; Jin Zhengxiong-R64188; Li Yang-Leo-R58472; linuxppc- > d...@lists.ozlabs.org; linux-fb...@vger.kernel

RE: [RESEND] powerpc/diu: adjust DIU initialization entry

2015-07-07 Thread Wang Dongsheng
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, July 08, 2015 10:48 AM > To: Wang Dongsheng-B40534 > Cc: Sun York-R58495; linuxppc-dev@lists.ozlabs.org; Jin Zhengxiong-R64188 > Subject: Re: [RESEND] powerpc/diu: adjust DIU initialization entry > &g

RE: [RESEND] powerpc/diu: adjust DIU initialization entry

2015-07-07 Thread Wang Dongsheng
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, July 08, 2015 10:41 AM > To: Wang Dongsheng-B40534 > Cc: Sun York-R58495; linuxppc-dev@lists.ozlabs.org; Jin Zhengxiong-R64188 > Subject: Re: [RESEND] powerpc/diu: adjust DIU initialization entry > &g

RE: [RESEND] powerpc/diu: adjust DIU initialization entry

2015-07-07 Thread Wang Dongsheng
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, July 08, 2015 5:51 AM > To: Wang Dongsheng-B40534 > Cc: Sun York-R58495; linuxppc-dev@lists.ozlabs.org; Jin Zhengxiong-R64188 > Subject: Re: [RESEND] powerpc/diu: adjust DIU initialization entry > &g

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

2013-10-20 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, October 19, 2013 3:23 AM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; Bhushan Bharat-R65777; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH v5 4/4] powerpc/85xx: add sysfs for pw20 sta

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

2013-10-20 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, October 19, 2013 3:22 AM > To: Wang Dongsheng-B40534 > Cc: Bhushan Bharat-R65777; Wood Scott-B07421; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH v5 4/4] powerpc/85xx: add sysfs for pw20 sta

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

2013-10-17 Thread Wang Dongsheng-B40534
> -Original Message- > From: Bhushan Bharat-R65777 > Sent: Thursday, October 17, 2013 2:46 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

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

2013-10-17 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Friday, October 18, 2013 12:52 AM > To: Wang Dongsheng-B40534 > Cc: Bhushan Bharat-R65777; Wood Scott-B07421; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH v5 4/4] powerpc/85xx: add sysfs for pw20 sta

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

2013-10-16 Thread Wang Dongsheng-B40534
> -Original Message- > From: Bhushan Bharat-R65777 > Sent: Thursday, October 17, 2013 2:00 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

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

2013-10-16 Thread Wang Dongsheng-B40534
> -Original Message- > From: Bhushan Bharat-R65777 > Sent: Thursday, October 17, 2013 11:20 AM > 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

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

2013-10-16 Thread Wang Dongsheng-B40534
> -Original Message- > From: Bhushan Bharat-R65777 > Sent: Thursday, October 17, 2013 1:01 AM > 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

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

2013-10-11 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, October 08, 2013 10:50 PM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; Bhushan Bharat-R65777; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH v4 4/4] powerpc/85xx: add sysfs for pw20 sta

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

2013-10-07 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, October 01, 2013 7:06 AM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; Bhushan Bharat-R65777; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH v4 4/4] powerpc/85xx: add sysfs for pw20 sta

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

2013-09-28 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, September 28, 2013 5:33 AM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; Bhushan Bharat-R65777; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH v4 4/4] powerpc/85xx: add sysfs for pw2

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

2013-09-26 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Friday, September 27, 2013 5:37 AM > To: Wang Dongsheng-B40534 > Cc: Bhushan Bharat-R65777; Wood Scott-B07421; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH v4 4/4] powerpc/85xx: add sysfs for pw20 sta

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

2013-09-25 Thread Wang Dongsheng-B40534
> -Original Message- > From: Bhushan Bharat-R65777 > Sent: Thursday, September 26, 2013 12:23 PM > To: Wang Dongsheng-B40534; Wood Scott-B07421 > Cc: linuxppc-dev@lists.ozlabs.org > Subject: RE: [PATCH v4 4/4] powerpc/85xx: add sysfs for pw20 state

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

2013-09-25 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, September 26, 2013 1:57 AM > To: Wang Dongsheng-B40534 > Cc: Bhushan Bharat-R65777; Wood Scott-B07421; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH v4 4/4] powerpc/85xx: add sysfs for pw2

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

2013-09-25 Thread Wang Dongsheng-B40534
> -Original Message- > From: Bhushan Bharat-R65777 > Sent: Wednesday, September 25, 2013 2:23 PM > To: Wang Dongsheng-B40534; Wood Scott-B07421 > Cc: linuxppc-dev@lists.ozlabs.org; Wang Dongsheng-B40534 > Subject: RE: [PATCH v4 4/4] powerpc/85xx: add sysfs for pw20 s

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

2013-09-24 Thread Wang Dongsheng-B40534
> -Original Message- > From: Bhushan Bharat-R65777 > Sent: Wednesday, September 25, 2013 11:43 AM > To: Kumar Gala > Cc: Wang Dongsheng-B40534; Wood Scott-B07421; linuxppc- > d...@lists.ozlabs.org > Subject: RE: [PATCH v4 1/4] powerpc/fsl: add E6500 PVR and SP

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

2013-09-24 Thread Wang Dongsheng-B40534
> >> /* > >> * For the 8xx processors, all of them report the same PVR family for > >> * the PowerPC core. The various versions of these processors must be > >> diff -- git a/arch/powerpc/include/asm/reg_booke.h > >> b/arch/powerpc/include/asm/reg_booke.h > >> index ed8f836..4a6457e 100644 > >> -

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

2013-09-17 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, September 17, 2013 5:09 AM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; ga...@kernel.crashing.org; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH v3 4/4] powerpc/85xx: add sysfs for pw2

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

2013-09-12 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Friday, September 13, 2013 2:07 AM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; ga...@kernel.crashing.org; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH v3 4/4] powerpc/85xx: add sysfs for pw2

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

2013-09-11 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, September 12, 2013 7:04 AM > To: Wang Dongsheng-B40534 > Cc: ga...@kernel.crashing.org; linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH v3 4/4] powerpc/85xx: add sysfs for pw20 state and > altivec i

RE: [PATCH v3 2/4] powerpc/85xx: add hardware automatically enter altivec idle state

2013-09-11 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, September 12, 2013 6:43 AM > To: Wang Dongsheng-B40534 > Cc: ga...@kernel.crashing.org; linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH v3 2/4] powerpc/85xx: add hardware automatically > enter altiv

RE: [PATCH v2 2/3] powerpc/85xx: add hardware automatically enter altivec idle state

2013-08-27 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wang Dongsheng-B40534 > Sent: Tuesday, August 27, 2013 4:42 PM > To: Wood Scott-B07421; ga...@kernel.crashing.org > Cc: linuxppc-dev@lists.ozlabs.org; Wang Dongsheng-B40534 > Subject: [PATCH v2 2/3] powerpc/85xx: add hardware automatical

RE: [PATCH 1/2] powerpc/85xx: add hardware automatically enter altivec idle state

2013-08-25 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Friday, August 23, 2013 11:31 PM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; Kumar Gala; Zhao Chenhui-B35336; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH 1/2] powerpc/85xx: add hardwar

RE: [PATCH V5 3/5] POWER/cpuidle: Generic IBM-POWER backend cpuidle driver.

2013-08-22 Thread Wang Dongsheng-B40534
> diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig > index 0e2cd5c..e805dcd 100644 > --- a/drivers/cpuidle/Kconfig > +++ b/drivers/cpuidle/Kconfig Maybe drivers/cpuidle/Kconfig.powerpc is better? Like arm. > +obj-$(CONFIG_CPU_IDLE_IBM_POWER) += cpuidle-ibm-power.o > diff --git a/dr

RE: [PATCH 1/2] powerpc/85xx: add hardware automatically enter altivec idle state

2013-08-22 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, August 22, 2013 11:19 PM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; Kumar Gala; Zhao Chenhui-B35336; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH 1/2] powerpc/85xx: add hardwar

RE: [PATCH 1/2] powerpc/85xx: add hardware automatically enter altivec idle state

2013-08-21 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, August 20, 2013 8:39 AM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; Kumar Gala; linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH 1/2] powerpc/85xx: add hardware automatically enter > altiv

RE: [RFC PATCH V3 3/5] powerpc/cpuidle: Generic powerpc backend cpuidle driver.

2013-08-18 Thread Wang Dongsheng-B40534
I think we should move the states and handle function to arch/power/platform* The states and handle function is belong to backend driver, not for this, different platform have different state. Different platforms to make their own deal with these states. I think we cannot put all the status of di

RE: [PATCH] powerpc: add the missing required isync for the coherent icache flush

2013-08-18 Thread Wang Dongsheng-B40534
> -Original Message- > From: Linuxppc-dev [mailto:linuxppc-dev- > bounces+b40534=freescale@lists.ozlabs.org] On Behalf Of Kevin Hao > Sent: Thursday, August 15, 2013 7:56 PM > To: Benjamin Herrenschmidt > Cc: linuxppc > Subject: [PATCH] powerpc: add the missing required isync for the

RE: [PATCH 1/2] powerpc/85xx: add hardware automatically enter altivec idle state

2013-08-18 Thread Wang Dongsheng-B40534
Thanks for your feedback. > -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, August 17, 2013 12:51 AM > To: Kumar Gala > Cc: Wang Dongsheng-B40534; linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH 1/2] powerpc/85xx: add hardware automatically enter &g

RE: [PATCH 2/2] powerpc/hibernate: add restore mmu context after resume

2013-08-07 Thread Wang Dongsheng-B40534
> -Original Message- > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > Sent: Saturday, July 13, 2013 7:07 AM > To: Wood Scott-B07421 > Cc: Wang Dongsheng-B40534; Wood Scott-B07421; johan...@sipsolutions.net; > an...@enomsg.org; ga...@kernel.crashing.

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

2013-07-30 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, July 31, 2013 3:38 AM > To: Wang Dongsheng-B40534 > Cc: r...@sisk.pl; daniel.lezc...@linaro.org; b...@kernel.crashing.org; Li > Yang-R58472; Zhao Chenhui-B35336; linux...@vger.kernel.org; linuxppc- >

RE: [PATCH V2 4/6] cpuidle/pseries: Move the pseries_idle backend driver to sysdev.

2013-07-30 Thread Wang Dongsheng-B40534
Hi Preeti, > -Original Message- > From: Preeti U Murthy [mailto:pre...@linux.vnet.ibm.com] > Sent: Wednesday, July 31, 2013 12:00 PM > To: Wang Dongsheng-B40534 > Cc: Deepthi Dharwar; b...@kernel.crashing.org; daniel.lezc...@linaro.org; > linux-ker...@vge

RE: [PATCH V2 5/6] cpuidle/powerpc: Backend-powerpc idle driver for powernv and pseries.

2013-07-30 Thread Wang Dongsheng-B40534
> > -static int pseries_cpuidle_add_cpu_notifier(struct notifier_block *n, > +static int powerpc_cpuidle_add_cpu_notifier(struct notifier_block *n, > unsigned long action, void *hcpu) > { > int hotcpu = (unsigned long)hcpu; > struct cpuidle_device *dev = > -

RE: [PATCH V2 4/6] cpuidle/pseries: Move the pseries_idle backend driver to sysdev.

2013-07-30 Thread Wang Dongsheng-B40534
.vnet.ibm.com; pre...@linux.vnet.ibm.com; > sva...@linux.vnet.ibm.com; linuxppc-dev@lists.ozlabs.org > Cc: r...@sisk.pl; Wang Dongsheng-B40534; linux...@vger.kernel.org > Subject: [PATCH V2 4/6] cpuidle/pseries: Move the pseries_idle backend > driver to sysdev. > > Move pseries_idle backen

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

2013-07-30 Thread Wang Dongsheng-B40534
> -Original Message- > From: Daniel Lezcano [mailto:daniel.lezc...@linaro.org] > Sent: Tuesday, July 30, 2013 5:51 PM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; r...@sisk.pl; b...@kernel.crashing.org; Li Yang- > R58472; Zhao Chenhui-B35336; linux...@vger.ke

RE: [PATCH] cpuidle: fix unremovable issue for module driver

2013-07-30 Thread Wang Dongsheng-B40534
> -Original Message- > From: Daniel Lezcano [mailto:daniel.lezc...@linaro.org] > Sent: Tuesday, July 30, 2013 5:28 PM > To: Wang Dongsheng-B40534 > Cc: r...@sisk.pl; linux...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH] cpuidle: fix unremovabl

RE: [RFC 1/2] fsl/pm: combined the idle(PH&PW) state

2013-07-29 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, July 30, 2013 1:22 AM > To: Wang Dongsheng-B40534 > Cc: b...@kernel.crashing.org; ga...@kernel.crashing.org; Zhao Chenhui- > B35336; Li Yang-R58472; Wang Dongsheng-B40534 > Subject: Re: [RFC 1/2] fsl/pm:

RE: [RFC 2/2] powerpc/cputable: add wait feature for CPU kernel features

2013-07-29 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, July 30, 2013 1:27 AM > To: Wang Dongsheng-B40534 > Cc: b...@kernel.crashing.org; ga...@kernel.crashing.org; Zhao Chenhui- > B35336; Li Yang-R58472; Wang Dongsheng-B40534 > Subject: Re: [RFC 2/2] power

RE: [PATCH 1/2] cpuidle: fix cpu idle driver as a module can not remove

2013-07-23 Thread Wang Dongsheng-B40534
> -Original Message- > From: Rafael J. Wysocki [mailto:r...@sisk.pl] > Sent: Wednesday, July 24, 2013 5:33 AM > To: Wang Dongsheng-B40534 > Cc: daniel.lezc...@linaro.org; linux...@vger.kernel.org; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH 1/2] cpuidle

RE: [PATCH 2/2] cpuidle: export cpuidle_idle_call symbol

2013-07-23 Thread Wang Dongsheng-B40534
> -Original Message- > From: Rafael J. Wysocki [mailto:r...@sisk.pl] > Sent: Wednesday, July 24, 2013 5:33 AM > To: Wang Dongsheng-B40534 > Cc: daniel.lezc...@linaro.org; linux...@vger.kernel.org; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH

RE: [PATCH v2 1/2] powerpc: add Book E support to 64-bit hibernation

2013-07-12 Thread Wang Dongsheng-B40534
> From: Wood Scott-B07421 > Sent: Saturday, July 13, 2013 5:49 > To: Wang Dongsheng-B40534 > Cc: b...@kernel.crashing.org; linuxppc-dev@lists.ozlabs.org; Wang > Dongsheng-B40534 > Subject: Re: [PATCH v2 1/2] powerpc: add Book E support to 64-bit hibernation > > O

RE: [PATCH 2/2] powerpc/hibernate: add restore mmu context after resume

2013-07-11 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, July 11, 2013 5:43 AM > To: Wang Dongsheng-B40534 > Cc: Wang Dongsheng-B40534; b...@kernel.crashing.org; Wood Scott-B07421; > johan...@sipsolutions.net; an...@enomsg.org; ga...@kernel.crashing.o

RE: [PATCH 2/2] powerpc/hibernate: add restore mmu context after resume

2013-07-10 Thread Wang Dongsheng-B40534
Hi scott & ben, About this patch do you have any suggestions? Thanks - dongsheng > -Original Message- > From: Wang Dongsheng-B40534 > Sent: Sunday, June 09, 2013 6:38 PM > To: b...@kernel.crashing.org > Cc: johan...@sipsolutions.net; an...@enomsg.org; Wood

RE: [PATCH 1/2] powerpc: add Book E support to 64-bit hibernation

2013-07-10 Thread Wang Dongsheng-B40534
> -Original Message- > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > Sent: Wednesday, July 10, 2013 5:52 PM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; johan...@sipsolutions.net; an...@enomsg.org; > ga...@kernel.crashing.org; linuxppc-de

RE: [RFC 2/2] powerpc/cputable: add wait feature for CPU kernel features

2013-07-10 Thread Wang Dongsheng-B40534
> -Original Message- > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > Sent: Wednesday, July 10, 2013 5:33 PM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; ga...@kernel.crashing.org; Zhao Chenhui-B35336; Li > Yang-R58472; linuxppc-dev@lists.oz

RE: [PATCH 1/2] powerpc: add Book E support to 64-bit hibernation

2013-07-10 Thread Wang Dongsheng-B40534
Hi scott, Could you apply this patch? Thanks. -dongsheng > -Original Message- > From: Wang Dongsheng-B40534 > Sent: Sunday, June 09, 2013 6:38 PM > To: b...@kernel.crashing.org > Cc: johan...@sipsolutions.net; an...@enomsg.org; Wood Scott-B07421; > ga...@kernel.cras

RE: [RFC 2/2] powerpc/cputable: add wait feature for CPU kernel features

2013-07-10 Thread Wang Dongsheng-B40534
> -Original Message- > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > Sent: Wednesday, July 10, 2013 5:23 PM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; ga...@kernel.crashing.org; Zhao Chenhui-B35336; Li > Yang-R58472 > Subject: Re: [RFC

RE: [PATCH v3 1/4] powerpc/mpic: add irq_set_wake support

2013-06-30 Thread Wang Dongsheng-B40534
> -Original Message- > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > Sent: Monday, July 01, 2013 10:49 AM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; ga...@kernel.crashing.org; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH v3 1

RE: [PATCH v3 1/4] powerpc/mpic: add irq_set_wake support

2013-06-30 Thread Wang Dongsheng-B40534
nal Message----- > From: Wang Dongsheng-B40534 > Sent: Sunday, June 09, 2013 4:20 PM > To: 'Benjamin Herrenschmidt' > Cc: linuxppc-dev@lists.ozlabs.org; Wood Scott-B07421; > ga...@kernel.crashing.org > Subject: RE: [PATCH v3 1/4] powerpc/mpic: add irq_set_wake support

RE: [PATCH 1/2] powerpc: add Book E support to 64-bit hibernation

2013-06-16 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Friday, June 14, 2013 12:51 AM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; b...@kernel.crashing.org; > johan...@sipsolutions.net; an...@enomsg.org; ga...@kernel.crashing.org; > linuxppc-dev@lists.ozl

RE: [PATCH 1/2] powerpc: add Book E support to 64-bit hibernation

2013-06-13 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, June 13, 2013 6:04 AM > To: Wang Dongsheng-B40534 > Cc: b...@kernel.crashing.org; johan...@sipsolutions.net; an...@enomsg.org; > ga...@kernel.crashing.org; linuxppc-dev@lists.ozlabs.org; Wang Dongsheng-

RE: [PATCH v2 2/2] powerpc/hibernate: PPC64 fix user threads access to kernel space

2013-06-09 Thread Wang Dongsheng-B40534
Sorry, Please ignore this patch. This is replaced. Replace by: http://patchwork.ozlabs.org/patch/250033/ - dongsheng > -Original Message- > From: Wang Dongsheng-B40534 > Sent: Sunday, June 09, 2013 1:23 PM > To: b...@kernel.crashing.org; johan...@sipsolutions.net; an...@eno

RE: [PATCH v2 1/2] powerpc: add Book E support to 64-bit hibernation

2013-06-09 Thread Wang Dongsheng-B40534
Sorry, Please ignore this patch. This is replaced. Replace by: http://patchwork.ozlabs.org/patch/250032/ - dongsheng > -Original Message- > From: Wang Dongsheng-B40534 > Sent: Sunday, June 09, 2013 1:21 PM > To: johan...@sipsolutions.net; an...@enomsg.org; Wood Scott-B07

[PATCH 2/2] powerpc/hibernate: add restore mmu context after resume

2013-06-09 Thread Wang Dongsheng
add restore_mmu_context to replace switch_mmu_context in restore_processor_state, because the switch_mmu_context will do a whole pile of stuff that are probably completely unnecessary. There just need to restore the existing process context, and invalidate TLB for boot core. Signed-off-by: Wang

[PATCH 1/2] powerpc: add Book E support to 64-bit hibernation

2013-06-09 Thread Wang Dongsheng
tual address to real address. More registers are saved in BookE-64bit.(TCR, SPRGx, ...) Signed-off-by: Wang Dongsheng --- * History: * Wood Scott(A): Please investigate the issue of whether we are loading *kernel module code in this step * R: Kernel will allocate the memory for mo

RE: [PATCH] powerpc/mpc85xx: fix non-bootcpu cannot up after hibernation resume

2013-06-09 Thread Wang Dongsheng-B40534
Hi kumar, Could you apply this patche? Thanks. -dongsheng > -Original Message- > From: Anton Vorontsov [mailto:an...@scarybugs.org] On Behalf Of Anton > Vorontsov > Sent: Friday, May 24, 2013 1:34 AM > To: Wang Dongsheng-B40534 > Cc: pau...@samba.or

RE: [PATCH v3 1/4] powerpc/mpic: add irq_set_wake support

2013-06-09 Thread Wang Dongsheng-B40534
Hi ben, Could you apply these patches? Thanks. :) - dongsheng > -Original Message- > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > Sent: Monday, May 13, 2013 1:00 PM > To: Wang Dongsheng-B40534 > Cc: linuxppc-dev@lists.ozlabs.org; Wood Sco

RE: [PATCH v2 2/2] powerpc/hibernate: PPC64 fix user threads access to kernel space

2013-06-09 Thread Wang Dongsheng-B40534
> -Original Message- > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > Sent: Sunday, June 09, 2013 3:46 PM > To: Wang Dongsheng-B40534 > Cc: johan...@sipsolutions.net; an...@enomsg.org; Wood Scott-B07421; > ga...@kernel.crashing.org; linuxppc-de

RE: [PATCH v2 2/2] powerpc/hibernate: PPC64 fix user threads access to kernel space

2013-06-09 Thread Wang Dongsheng-B40534
> -Original Message- > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > Sent: Sunday, June 09, 2013 2:44 PM > To: Wang Dongsheng-B40534 > Cc: johan...@sipsolutions.net; an...@enomsg.org; Wood Scott-B07421; > ga...@kernel.crashing.org; linuxppc-de

[PATCH v2 2/2] powerpc/hibernate: PPC64 fix user threads access to kernel space

2013-06-08 Thread Wang Dongsheng
consistency reason, PPC64 using the same way. Signed-off-by: Wang Dongsheng --- arch/powerpc/kernel/swsusp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/kernel/swsusp.c b/arch/powerpc/kernel/swsusp.c index eae33e1..1930e44 100644 --- a/arch/powerpc/kernel/swsusp.c +++ b/arch/pow

[PATCH v2 1/2] powerpc: add Book E support to 64-bit hibernation

2013-06-08 Thread Wang Dongsheng
tual address to real address. More registers are saved in BookE-64bit.(TCR, SPRGx, ...) Signed-off-by: Wang Dongsheng --- v2: * Add: _tlbil_all * * The boot core get a virtual address, when the boot process, * the virtual address corresponds to a physical address. After * hibernation resume me

RE: [PATCH] powerpc/mpc85xx: fix non-bootcpu cannot up after hibernation resume

2013-05-23 Thread Wang Dongsheng-B40534
Thanks anton. > -Original Message- > From: Anton Vorontsov [mailto:an...@scarybugs.org] On Behalf Of Anton > Vorontsov > Sent: Friday, May 24, 2013 1:34 AM > To: Wang Dongsheng-B40534 > Cc: pau...@samba.org; r...@sisk.pl; b...@kernel.crashing.org; > johan...@sipsolu

RE: [PATCH v3 1/4] powerpc/mpic: add irq_set_wake support

2013-05-14 Thread Wang Dongsheng-B40534
Thanks ben. :) - dongsheng. > -Original Message- > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > Sent: Monday, May 13, 2013 1:00 PM > To: Wang Dongsheng-B40534 > Cc: linuxppc-dev@lists.ozlabs.org; Wood Scott-B07421; > ga...@kernel.crashing.org > S

RE: [PATCH] powerpc/mpc85xx: fix non-bootcpu cannot up after hibernation resume

2013-05-14 Thread Wang Dongsheng-B40534
I send to a wrong email address "Anton Vorontsov " Add Anton Vorontsov to this email. Thanks all. > -Original Message- > From: Wang Dongsheng-B40534 > Sent: Tuesday, May 14, 2013 4:06 PM > To: avoront...@ru.mvista.com > Cc: pau...@samba.org; r...@sisk.pl;

[PATCH] powerpc/mpc85xx: fix non-bootcpu cannot up after hibernation resume

2013-05-14 Thread Wang Dongsheng
: timeout waiting for core 1 to reset smp: failed starting cpu 1 (rc -2) Error taking CPU1 up: -2 Signed-off-by: Wang Dongsheng diff --git a/arch/powerpc/kernel/swsusp_booke.S b/arch/powerpc/kernel/swsusp_booke.S index 11a3930..9503249 100644 --- a/arch/powerpc/kernel/swsusp_booke.S +++ b/arch/powerpc

RE: [PATCH v3 1/4] powerpc/mpic: add irq_set_wake support

2013-05-12 Thread Wang Dongsheng-B40534
object http://patchwork.ozlabs.org/patch/234936/ [v3,4/4] powerpc/fsl: add MPIC timer wakeup support http://patchwork.ozlabs.org/patch/234937/ Thanks. > -Original Message- > From: Wang Dongsheng-B40534 > Sent: Friday, May 03, 2013 9:54 AM > To: 'ga...@kernel.crashing.org

RE: [PATCH v3 1/4] powerpc/mpic: add irq_set_wake support

2013-05-02 Thread Wang Dongsheng-B40534
Hi Kumar, Could you apply these patches? Thanks. > -Original Message- > From: Wang Dongsheng-B40534 > Sent: Tuesday, April 23, 2013 6:10 PM > To: ga...@kernel.crashing.org > Cc: linuxppc-dev@lists.ozlabs.org; Wood Scott-B07421 > Subject: RE: [PATCH v3 1/4] powerpc/mpic

RE: [PATCH v3 1/4] powerpc/mpic: add irq_set_wake support

2013-04-23 Thread Wang Dongsheng-B40534
://patchwork.ozlabs.org/patch/234936/ [v3,4/4] powerpc/fsl: add MPIC timer wakeup support http://patchwork.ozlabs.org/patch/234937/ > -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, April 17, 2013 7:30 AM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B0742

RE: [PATCH v3 1/4] powerpc/mpic: add irq_set_wake support

2013-04-16 Thread Wang Dongsheng-B40534
Hi scott, Could you ACK these patches? [PATCH v3 2/4] powerpc/mpic: add global timer support [PATCH v3 3/4] powerpc/mpic: create mpic subsystem object [PATCH v3 4/4] powerpc/fsl: add MPIC timer wakeup support Thanks. > -Original Message- > From: Wang Dongsheng-B40534 > Sent

[PATCH v3 4/4] powerpc/fsl: add MPIC timer wakeup support

2013-04-08 Thread Wang Dongsheng
The driver provides a way to wake up the system by the MPIC timer. For example, echo 5 > /sys/devices/system/mpic/timer_wakeup echo standby > /sys/power/state After 5 seconds the MPIC timer will generate an interrupt to wake up the system. Signed-off-by: Wang Dongsheng Signed-off-by

[PATCH v3 3/4] powerpc/mpic: create mpic subsystem object

2013-04-08 Thread Wang Dongsheng
Register a mpic subsystem at /sys/devices/system/ Signed-off-by: Wang Dongsheng --- arch/powerpc/include/asm/mpic.h | 2 ++ arch/powerpc/sysdev/mpic.c | 8 2 files changed, 10 insertions(+) diff --git a/arch/powerpc/include/asm/mpic.h b/arch/powerpc/include/asm/mpic.h index

[PATCH v3 2/4] powerpc/mpic: add global timer support

2013-04-08 Thread Wang Dongsheng
timers. Timer cascade fields allow configuration of up to two 63-bit timers. But These two groups of timers cannot be cascaded together. It can be used as a wakeup source for low power modes. It also could be used as periodical timer for protocols, drivers and etc. Signed-off-by: Wang Dongsheng

[PATCH v3 1/4] powerpc/mpic: add irq_set_wake support

2013-04-08 Thread Wang Dongsheng
Add irq_set_wake support. Just add IRQF_NO_SUSPEND to desc->action->flag. So the wake up interrupt will not be disable in suspend_device_irqs. Signed-off-by: Wang Dongsheng --- v3: * Modify: Change "EINVAL" to "ENXIO" in mpic_irq_set_wake() v2: * Add: Check freescale

RE: [PATCH v2 1/4] powerpc/mpic: add irq_set_wake support

2013-04-06 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wang Dongsheng-B40534 > Sent: Wednesday, April 03, 2013 10:49 AM > To: Wood Scott-B07421 > Cc: linuxppc-dev@lists.ozlabs.org > Subject: RE: [PATCH v2 1/4] powerpc/mpic: add irq_set_wake support > > > > > -Original

RE: [PATCH] powerpc: add Book E support to 64-bit hibernation

2013-04-06 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, April 04, 2013 4:16 AM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; Johannes Berg; linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH] powerpc: add Book E support to 64-bit hibernation > >

RE: [PATCH] powerpc: add Book E support to 64-bit hibernation

2013-04-02 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, April 03, 2013 8:35 AM > To: Wang Dongsheng-B40534 > Cc: Wood Scott-B07421; Johannes Berg; linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH] powerpc: add Book E support to 64-bit hibernation > >

RE: [PATCH v2 1/4] powerpc/mpic: add irq_set_wake support

2013-04-02 Thread Wang Dongsheng-B40534
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, April 03, 2013 8:37 AM > To: Wang Dongsheng-B40534 > Cc: linuxppc-dev@lists.ozlabs.org; Wang Dongsheng-B40534 > Subject: Re: [PATCH v2 1/4] powerpc/mpic: add irq_set_wake support > > On 04/0

[PATCH v2 4/4] powerpc/fsl: add MPIC timer wakeup support

2013-04-02 Thread Wang Dongsheng
The driver provides a way to wake up the system by the MPIC timer. For example, echo 5 > /sys/devices/system/mpic/timer_wakeup echo standby > /sys/power/state After 5 seconds the MPIC timer will generate an interrupt to wake up the system. Signed-off-by: Wang Dongsheng Signed-off-by

  1   2   >