Re: [PATCH v6 1/2] ASoC: fsl: Add S/PDIF CPU DAI driver

2013-08-18 Thread Nicolin Chen
On Mon, Aug 19, 2013 at 02:31:47PM +0800, Bhushan Bharat-R65777 wrote: > > > > We here suppose the reset bit would be cleared -- "The software > > > > reset will last > > > > 8 cycles." from RM, so if this happened to be a failure, the whole > > > > IP module won't be normally working as well. > >

RE: [PATCH v6 1/2] ASoC: fsl: Add S/PDIF CPU DAI driver

2013-08-18 Thread Bhushan Bharat-R65777
> -Original Message- > From: Chen Guangyu-B42378 > Sent: Monday, August 19, 2013 11:55 AM > To: Bhushan Bharat-R65777 > Cc: broo...@kernel.org; l...@metafoo.de; p.za...@pengutronix.de; > s.ha...@pengutronix.de; mark.rutl...@arm.com; devicet...@vger.kernel.org; > alsa- > de...@alsa-projec

Re: [PATCH v6 1/2] ASoC: fsl: Add S/PDIF CPU DAI driver

2013-08-18 Thread Nicolin Chen
Hi Bhushan, I'll revise some as you suggest. Just a few replies here. On Mon, Aug 19, 2013 at 12:38:11PM +0800, Bhushan Bharat-R65777 wrote: > > We here suppose the reset bit would be cleared -- "The software reset will > > last > > 8 cycles." from RM, so if this happened to be a failure, the

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 V2 5/6] cpuidle/powerpc: Backend-powerpc idle driver for powernv and pseries.

2013-08-18 Thread Deepthi Dharwar
On 08/07/2013 05:11 AM, Scott Wood wrote: > On Wed, 2013-08-07 at 09:30 +1000, Benjamin Herrenschmidt wrote: >> On Tue, 2013-08-06 at 18:08 -0500, Scott Wood wrote: >>> Here's another example. get_lppaca() will only build on book3s -- and >>> yet we get requests for e500 code to use this file. >>

RE: [PATCH v6 1/2] ASoC: fsl: Add S/PDIF CPU DAI driver

2013-08-18 Thread Bhushan Bharat-R65777
> -Original Message- > From: Chen Guangyu-B42378 > Sent: Monday, August 19, 2013 8:38 AM > To: Bhushan Bharat-R65777 > Cc: broo...@kernel.org; l...@metafoo.de; p.za...@pengutronix.de; > s.ha...@pengutronix.de; mark.rutl...@arm.com; devicet...@vger.kernel.org; > alsa- > de...@alsa-project

[RFC PATCH V3 4/5] powerpc/cpuidle: Enable powernv cpuidle support.

2013-08-18 Thread Deepthi Dharwar
The following patch extends the current powerpc backend idle driver to the powernv platform. Signed-off-by: Deepthi Dharwar --- drivers/cpuidle/cpuidle-powerpc.c | 36 +--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/drivers/cpuidle/cpuidle-po

[RFC PATCH V3 5/5] powernv/cpuidle: Enable idle powernv cpu to call into the cpuidle framework.

2013-08-18 Thread Deepthi Dharwar
This patch enables idle cpu on the powernv platform to hook on to the cpuidle framework, if available, else call on to default idle platform code. Signed-off-by: Deepthi Dharwar --- arch/powerpc/platforms/powernv/setup.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) di

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

2013-08-18 Thread Deepthi Dharwar
This patch involves moving the current pseries_idle backend driver code from pseries/processor_idle.c to drivers/cpuidle/cpuidle-powerpc.c, and making the backend code generic enough to be able to extend this driver code for complete powerpc platform to exploit the cpuidle framework. It enables t

[RFC PATCH V3 2/5] pseries: Move plpar_wrapper.h to powerpc common include/asm location.

2013-08-18 Thread Deepthi Dharwar
As a part of pseries_idle backend driver cleanup to make the code common to both pseries and powernv platforms, it is necessary to move the backend-driver code to drivers/cpuidle. As a pre-requisite for that, it is essential to move plpar_wrapper.h to include/asm. Signed-off-by: Deepthi Dharwar

[RFC PATCH V3 1/5] pseries/cpuidle: Remove dependency of pseries.h file

2013-08-18 Thread Deepthi Dharwar
As a part of pseries_idle cleanup to make the backend driver code common to both pseries and powernv. Remove non-essential smt_snooze_delay declaration in pseries.h header file and pseries.h file inclusion in pseries/processor_idle.c Signed-off-by: Deepthi Dharwar --- arch/powerpc/platforms/pser

[RFC PATCH V3 0/5] powerpc/cpuidle: Generic POWERPC cpuidle driver enabled for POWER and POWERNV platforms

2013-08-18 Thread Deepthi Dharwar
This patch series consolidates the backend cpuidle driver for pseries and powernv platforms and also enables the new drivers/cpuidle/cpuidle-powerpc.c to include other powerpc drivers with minimal code duplication. Current existing backend driver for pseries has been moved to drivers/cpuidle an

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

2013-08-18 Thread Benjamin Herrenschmidt
On Mon, 2013-08-19 at 13:36 +1000, Benjamin Herrenschmidt wrote: > The semantic of this function is to make data executable. Even if the > implementation has a snooping icache, it *still* needs to make sure > prefetched code is tossed out of the pipeline which is what isync > should provide. > >

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

2013-08-18 Thread Benjamin Herrenschmidt
On Mon, 2013-08-19 at 03:24 +, Wang Dongsheng-B40534 wrote: > > > -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:

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 v6 1/2] ASoC: fsl: Add S/PDIF CPU DAI driver

2013-08-18 Thread Nicolin Chen
Hi Bhushan, Thank you for the comments :) I'll fix some in v7. Here is my some replies to you. On Sat, Aug 17, 2013 at 02:24:19AM +0800, Bhushan Bharat-R65777 wrote: > > This patch add S/PDIF controller driver for Freescale SoC. > > Please give some more description of the driver? I'v

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 > altivec idle state >

Re: [PATCH 2/2] powerpc/iommu: check dev->iommu_group before remove a device from iommu_group

2013-08-18 Thread Wei Yang
On Mon, Aug 19, 2013 at 11:39:49AM +1000, Alexey Kardashevskiy wrote: >On 08/19/2013 11:29 AM, Wei Yang wrote: >> On Fri, Aug 16, 2013 at 08:15:36PM +1000, Alexey Kardashevskiy wrote: >>> On 08/16/2013 08:08 PM, Wei Yang wrote: --- arch/powerpc/kernel/iommu.c |3 ++- 1 files cha

Re: [PATCH 2/2] powerpc/iommu: check dev->iommu_group before remove a device from iommu_group

2013-08-18 Thread Alexey Kardashevskiy
On 08/19/2013 11:29 AM, Wei Yang wrote: > On Fri, Aug 16, 2013 at 08:15:36PM +1000, Alexey Kardashevskiy wrote: >> On 08/16/2013 08:08 PM, Wei Yang wrote: >>> --- >>> arch/powerpc/kernel/iommu.c |3 ++- >>> 1 files changed, 2 insertions(+), 1 deletions(-) >>> >>> diff --git a/arch/powerpc/kern

Re: [PATCH 2/2] powerpc/iommu: check dev->iommu_group before remove a device from iommu_group

2013-08-18 Thread Wei Yang
On Fri, Aug 16, 2013 at 08:15:36PM +1000, Alexey Kardashevskiy wrote: >On 08/16/2013 08:08 PM, Wei Yang wrote: >> --- >> arch/powerpc/kernel/iommu.c |3 ++- >> 1 files changed, 2 insertions(+), 1 deletions(-) >> >> diff --git a/arch/powerpc/kernel/iommu.c b/arch/powerpc/kernel/iommu.c >> inde

Re: [RFC PATCH 1/1] powerpc/embedded6xx: Add support for Motorola/Emerson MVME5100.

2013-08-18 Thread Stephen N Chivers
Scott Wood wrote on 08/13/2013 08:04:30 AM: > From: Scott Wood > To: Stephen N Chivers > Cc: Chris Proctor , Kumar Gala > , , > > Date: 08/13/2013 08:04 AM > Subject: Re: [RFC PATCH 1/1] powerpc/embedded6xx: Add support for > Motorola/Emerson MVME5100. > > On Tue, 2013-08-13 at 08:57 +1100

Re: MPC8315 reboot failure, lockdep splat possibly related?

2013-08-18 Thread Anthony Foiani
Bhushan Bharat-R65777 writes: > Anthony, I would prefer if you can send the patch (In case not then > let me know) Sure, I'll get it sent in a few minutes. Would you like me to put an Acked-by on it for you? Best regards, Anthony Foiani ___ Linuxppc-

RE: MPC8315 reboot failure, lockdep splat possibly related?

2013-08-18 Thread Bhushan Bharat-R65777
> -Original Message- > From: Anthony Foiani [mailto:t...@scrye.com] > Sent: Sunday, August 18, 2013 5:37 AM > To: Bhushan Bharat-R65777 > Cc: linuxppc-dev@lists.ozlabs.org > Subject: Re: MPC8315 reboot failure, lockdep splat possibly related? > > Bhushan Bharat-R65777 writes: > > > You

Re: PCIE device errors after linux kernel upgrade

2013-08-18 Thread ravich
Hi >>Is this still a problem, or have you found a solution in the meantime? I did not found any solution yet >>Where are the "PCIE ERR_CAP_STAT" and similar messages from? PCIE ERR_CAP_STAT is coming from: drivers/edac/mpc85xx_edac.c >>Can you post the complete logs somewhere, maybe in a bugzil