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

2013-08-22 Thread Mike Turquette
Quoting Tomasz Figa (2013-08-21 14:34:55) > On Wednesday 21 of August 2013 09:50:15 Mark Rutland wrote: > > On Tue, Aug 20, 2013 at 01:06:25AM +0100, Mike Turquette wrote: > > > Quoting Mark Rutland (2013-08-19 02:35:43) > > > > > > > On Sat, Aug 17, 2013 at 04:17:18PM +0100, Tomasz Figa wrote: >

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

2013-08-22 Thread Alexey Kardashevskiy
On 08/19/2013 11:55 AM, Wei Yang wrote: > 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/pow

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

2013-08-22 Thread Wei Yang
On Thu, Aug 22, 2013 at 05:23:34PM +1000, Alexey Kardashevskiy wrote: >On 08/19/2013 11:55 AM, Wei Yang wrote: >> 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 wro

Re: [PATCH 7/7] drivers: base: refactor add_memory_section() to add_memory_block()

2013-08-22 Thread Yasuaki Ishimatsu
(2013/08/22 17:20), Yasuaki Ishimatsu wrote: > (2013/08/21 2:13), Seth Jennings wrote: >> Right now memory_dev_init() maintains the memory block pointer >> between iterations of add_memory_section(). This is nasty. >> >> This patch refactors add_memory_section() to become add_memory_block(). >> Th

Re: [PATCH 1/7] drivers: base: move mutex lock out of add_memory_section()

2013-08-22 Thread Yasuaki Ishimatsu
(2013/08/21 2:24), Seth Jennings wrote: Gah! Forgot the cover letter. This patchset just seeks to clean up and refactor some things in memory.c for better understanding and possibly better performance due do a decrease in mutex acquisitions and refcount churn at boot time. No functional change

Re: [RFC V2 PATCH 3/6] cpuidle/ppc: Add timer offload framework to support deep idle states

2013-08-22 Thread Preeti U Murthy
Hi Ben, On 08/22/2013 08:57 AM, Benjamin Herrenschmidt wrote: > On Wed, 2013-08-14 at 17:26 +0530, Preeti U Murthy wrote: > >> static irqreturn_t timer_action(int irq, void *data) >> { >> -timer_interrupt(); >> +decrementer_timer_interrupt(); >> return IRQ_HANDLED; >> } > > I don

Re: [RFC V2 PATCH 4/6] cpuidle/ppc: Add longnap state to the idle states on powernv

2013-08-22 Thread Preeti U Murthy
Hi Ben, On 08/22/2013 08:58 AM, Benjamin Herrenschmidt wrote: > On Wed, 2013-08-14 at 17:26 +0530, Preeti U Murthy wrote: >> This patch hooks into the existing broadcast framework along with the support >> that this patchset introduces for ppc, and the cpuidle driver backend >> for powernv(posted

Re: [PATCH 7/7] drivers: base: refactor add_memory_section() to add_memory_block()

2013-08-22 Thread Yasuaki Ishimatsu
(2013/08/21 2:13), Seth Jennings wrote: > Right now memory_dev_init() maintains the memory block pointer > between iterations of add_memory_section(). This is nasty. > > This patch refactors add_memory_section() to become add_memory_block(). > The refactoring pulls the section scanning out of mem

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

2013-08-22 Thread Mark Brown
On Wed, Aug 21, 2013 at 11:13:16AM +0800, Nicolin Chen wrote: > This patch implements a device-tree-only CPU DAI driver for Freescale > S/PDIF controller that supports stereo playback and record feature. Applied, thanks. signature.asc Description: Digital signature __

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

2013-08-22 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

[PATCH V5 0/5] POWER/cpuidle: Generic IBM-POWER cpuidle driver enabled for PSERIES and POWERNV platforms

2013-08-22 Thread Deepthi Dharwar
This patch series consolidates the backend cpuidle driver for pSeries and powernv platforms with minimal code duplication. Current existing backend driver for pseries has been moved to drivers/cpuidle and has been extended to accommodate powernv idle power mgmt states. As seen in V1 of this patc

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

2013-08-22 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

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

2013-08-22 Thread Deepthi Dharwar
This patch involves moving the current pseries_idle backend driver code from pseries/processor_idle.c to drivers/cpuidle/cpuidle-ibm-power.c. It enables the support for pseries platform, such that going forward the same code with minimal efforts can be re-used for a common driver on powernv This r

[PATCH V5 4/5] POWER/cpuidle: Enable powernv cpuidle support.

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

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

2013-08-22 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

Re: [PATCH v4 01/31] spi: mpc512x: cleanup clock API use

2013-08-22 Thread Mark Brown
On Tue, Aug 06, 2013 at 10:43:41PM +0200, Gerhard Sittig wrote: > cleanup the MPC512x SoC's SPI master's use of the clock API > - get, prepare, and enable the MCLK during probe; disable, unprepare and > put the MCLK upon remove; hold a reference to the clock over the > period of use Applied, t

[PATCH] powerpc/kvm: Handle the boundary condition correctly

2013-08-22 Thread Aneesh Kumar K.V
From: "Aneesh Kumar K.V" We should be able to copy upto count bytes Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/kvm/book3s_64_mmu_hv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kvm/book3s_64_mmu_hv.c b/arch/powerpc/kvm/book3s_64_mmu_hv.c index 7

[PATCH] powerpc/kvm: Copy the pvr value after memset

2013-08-22 Thread Aneesh Kumar K.V
From: "Aneesh Kumar K.V" Otherwise we would clear the pvr value Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/kvm/book3s_hv.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/kvm/book3s_hv.c b/arch/powerpc/kvm/book3s_hv.c index 2efa9dd..dd1b72c 100644

Re: [PATCH v10 2/2] ASoC: fsl: Add S/PDIF machine driver

2013-08-22 Thread Nicolin Chen
Hi Stephen, On Wed, Aug 21, 2013 at 12:30:59PM -0600, Stephen Warren wrote: > I still don't think those two properties are correct. > > Exactly what node will those phandles point at? > > There definitely should not be a DT node for any "dummy CODEC", > irrespective of whether this binding calls

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

2013-08-22 Thread Mark Rutland
On Thu, Aug 22, 2013 at 08:19:10AM +0100, Mike Turquette wrote: > Quoting Tomasz Figa (2013-08-21 14:34:55) > > On Wednesday 21 of August 2013 09:50:15 Mark Rutland wrote: > > > On Tue, Aug 20, 2013 at 01:06:25AM +0100, Mike Turquette wrote: > > > > Quoting Mark Rutland (2013-08-19 02:35:43) > > >

Re: [PATCH V4 3/5] powerpc/cpuidle: Generic powerpc backend cpuidle driver.

2013-08-22 Thread Bartlomiej Zolnierkiewicz
Hi, On Thursday, August 22, 2013 11:00:29 AM Deepthi Dharwar wrote: > 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

Re: [PATCH v4 03/19] powerpc: refactor of_get_cpu_node to support other architectures

2013-08-22 Thread Sudeep KarkadaNagesha
On 22/08/13 07:15, Benjamin Herrenschmidt wrote: > On Tue, 2013-08-20 at 10:30 +0100, Sudeep KarkadaNagesha wrote: >> From: Sudeep KarkadaNagesha >> >> Currently different drivers requiring to access cpu device node are >> parsing the device tree themselves. Since the ordering in the DT need >> no

Re: [PATCH 3/4] powerpc/booke64: Use appropriate -mcpu

2013-08-22 Thread Rojhalat Ibrahim
Just out of curiosity: What's the difference (if any) between -mcpu=e500mc64 and -mcpu=e5500? AFAIK -mcpu=e500mc64 is supported by gcc since at least version 4.6 whereas -mcpu=e5500 is only supported since gcc 4.8. But is there actually any difference? Rojhalat On Tuesday 20 August 2013 21

[GIT PULL v2] DT/core: cpu_ofnode updates for v3.12

2013-08-22 Thread Sudeep KarkadaNagesha
Hi Rafael, Here is the v2 of the pull request for cpu of_node updates for v3.12 It includes ACK for all the new changes since v1(mainly from Ben for PPC). Currently there's trivial conflict with today's linux-next in 3 files. Let me know if you need me to rebase this on any particular branch if ne

Re: [RFC PATCH v2 3/4] powerpc: refactor of_get_cpu_node to support other architectures

2013-08-22 Thread Mark Rutland
On Mon, Aug 19, 2013 at 02:56:10PM +0100, Sudeep KarkadaNagesha wrote: > On 19/08/13 14:02, Rob Herring wrote: > > On 08/19/2013 05:19 AM, Mark Rutland wrote: > >> On Sat, Aug 17, 2013 at 11:09:36PM +0100, Benjamin Herrenschmidt wrote: > >>> On Sat, 2013-08-17 at 12:50 +0200, Tomasz Figa wrote: > >

Re: [PATCH 3/4] powerpc/booke64: Use appropriate -mcpu

2013-08-22 Thread Scott Wood
On Thu, 2013-08-22 at 15:56 +0200, Rojhalat Ibrahim wrote: > Just out of curiosity: What's the difference (if any) between -mcpu=e500mc64 > and -mcpu=e5500? AFAIK -mcpu=e500mc64 is supported by gcc since at least > version 4.6 whereas -mcpu=e5500 is only supported since gcc 4.8. But is there > a

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

2013-08-22 Thread Scott Wood
On Wed, 2013-08-21 at 22:13 -0500, Wang Dongsheng-B40534 wrote: > > > -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] po

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

2013-08-22 Thread Alex Williamson
On Thu, 2013-08-22 at 15:52 +0800, Wei Yang wrote: > On Thu, Aug 22, 2013 at 05:23:34PM +1000, Alexey Kardashevskiy wrote: > >On 08/19/2013 11:55 AM, Wei Yang wrote: > >> On Mon, Aug 19, 2013 at 11:39:49AM +1000, Alexey Kardashevskiy wrote: > >>> On 08/19/2013 11:29 AM, Wei Yang wrote: > On Fr

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

2013-08-22 Thread Wei Yang
On Thu, Aug 22, 2013 at 09:28:23AM -0600, Alex Williamson wrote: >On Thu, 2013-08-22 at 15:52 +0800, Wei Yang wrote: >> On Thu, Aug 22, 2013 at 05:23:34PM +1000, Alexey Kardashevskiy wrote: >> >On 08/19/2013 11:55 AM, Wei Yang wrote: >> >> On Mon, Aug 19, 2013 at 11:39:49AM +1000, Alexey Kardashevs

[PATCH V3] i2c: move of helpers into the core

2013-08-22 Thread Wolfram Sang
I2C of helpers used to live in of_i2c.c but experience (from SPI) shows that it is much cleaner to have this in the core. This also removes a circular dependency between the helpers and the core, and so we can finally register child nodes in the core instead of doing this manually in each driver. S

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

2013-08-22 Thread Alex Williamson
On Thu, 2013-08-22 at 23:41 +0800, Wei Yang wrote: > On Thu, Aug 22, 2013 at 09:28:23AM -0600, Alex Williamson wrote: > >On Thu, 2013-08-22 at 15:52 +0800, Wei Yang wrote: > >> On Thu, Aug 22, 2013 at 05:23:34PM +1000, Alexey Kardashevskiy wrote: > >> >On 08/19/2013 11:55 AM, Wei Yang wrote: > >> >

Re: [PATCH] powerpc/kvm: Copy the pvr value after memset

2013-08-22 Thread Alexander Graf
On 22.08.2013, at 12:38, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > Otherwise we would clear the pvr value > > Signed-off-by: Aneesh Kumar K.V Thanks, applied to kvm-ppc-queue. Next time please do whitespace changes in a separate patch. Alex > --- > arch/powerpc/kvm/book3s_hv

Re: [PATCH] powerpc/kvm: Handle the boundary condition correctly

2013-08-22 Thread Alexander Graf
On 22.08.2013, at 12:37, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" Isn't this you? > > We should be able to copy upto count bytes Why? Alex > > Signed-off-by: Aneesh Kumar K.V > --- > arch/powerpc/kvm/book3s_64_mmu_hv.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [RFC PATCH v2 3/4] powerpc: refactor of_get_cpu_node to support other architectures

2013-08-22 Thread Sudeep KarkadaNagesha
On 22/08/13 14:59, Mark Rutland wrote: > On Mon, Aug 19, 2013 at 02:56:10PM +0100, Sudeep KarkadaNagesha wrote: >> On 19/08/13 14:02, Rob Herring wrote: >>> On 08/19/2013 05:19 AM, Mark Rutland wrote: On Sat, Aug 17, 2013 at 11:09:36PM +0100, Benjamin Herrenschmidt wrote: > On Sat, 2013-08

Re: [PATCH v10 2/2] ASoC: fsl: Add S/PDIF machine driver

2013-08-22 Thread Stephen Warren
On 08/22/2013 05:40 AM, Nicolin Chen wrote: > Hi Stephen, > > On Wed, Aug 21, 2013 at 12:30:59PM -0600, Stephen Warren wrote: >> I still don't think those two properties are correct. >> >> Exactly what node will those phandles point at? >> >> There definitely should not be a DT node for any "dummy

Re: [PATCH v10 2/2] ASoC: fsl: Add S/PDIF machine driver

2013-08-22 Thread Mark Brown
On Thu, Aug 22, 2013 at 01:56:32PM -0600, Stephen Warren wrote: > On 08/22/2013 05:40 AM, Nicolin Chen wrote: > > Documentation/devicetree/bindings/sound/spdif-receiver.txt > > If I understand correctly, this doc for the dummy codec should be invalid? > Yes, I'm not convinced that binding is a go

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

2013-08-22 Thread Sascha Hauer
On Thu, Aug 22, 2013 at 01:09:31PM +0100, Mark Rutland wrote: > On Thu, Aug 22, 2013 at 08:19:10AM +0100, Mike Turquette wrote: > > Quoting Tomasz Figa (2013-08-21 14:34:55) > > > On Wednesday 21 of August 2013 09:50:15 Mark Rutland wrote: > > > > On Tue, Aug 20, 2013 at 01:06:25AM +0100, Mike Turq

[PATCH] powerpc: Unaligned stores and stmw are broken in PowerISA emulation code

2013-08-22 Thread Tom Musta
To: linuxppc-dev@lists.ozlabs.org Subject: [PATCH] powerpc: Unaligned stores and stmw are broken in PowerISA emulation code From: Tom Musta The stmw instruction was incorrectly decoded as an update form instruction and thus the RA register was being clobbered. Also, the utility routine to write

Ethernet over PCIe driver for Inter-Processor Communication

2013-08-22 Thread Saravanan S
Hi All, I have a custom board with four MPC8640 nodes connected over a transparent PCI express switch . In this configuration one node is configured as host(Root Complex) and others as agents(End Point) .Thus the legacy PCI software works fine . However the mainline kernel lacks any stan

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

2013-08-22 Thread Scott Wood
On Thu, 2013-08-22 at 11:20 +0530, Deepthi Dharwar wrote: > On 08/22/2013 01:38 AM, Scott Wood wrote: > > On Wed, 2013-08-21 at 10:23 +0530, Deepthi Dharwar wrote: > >> On 08/19/2013 11:47 PM, Scott Wood wrote: > >>> What actual functionality is common to all powerpc but not common to > >>> other a

Re: Ethernet over PCIe driver for Inter-Processor Communication

2013-08-22 Thread Scott Wood
On Thu, 2013-08-22 at 21:04 +0530, Saravanan S wrote: > a) I can generate MSI interrupts from End Point to Root Complex over > PCI . But the vice-versa is not possible . However i need a method to > interrupt the End Point from the Root Complex to complete my driver. > Only previous references I

Re: Ethernet over PCIe driver for Inter-Processor Communication

2013-08-22 Thread David Hawkins
Hi S.Saravanan, I have a custom board with four MPC8640 nodes connected over a transparent PCI express switch . In this configuration one node is configured as host(Root Complex) and others as agents(End Point). Thus the legacy PCI software works fine . However the mainline kernel lacks any sta

Re: [PATCH] Device Tree bindings for DSP clusters and DSP CPUs

2013-08-22 Thread Scott Wood
On Wed, 2013-08-21 at 14:55 +0530, Poonam Aggrwal wrote: > Binding for DSP CPU clusters and DSP CPUs for Freescale SOCs which > have DSP CPUs in addition to PowerPC CPUs. For example B4860. > > Signed-off-by: Poonam Aggrwal > --- > .../devicetree/bindings/powerpc/fsl/dsp-cpus.txt | 78 > +++

Re: [PATCH] powerpc/p1010rdb: update phy node in dts

2013-08-22 Thread Scott Wood
On Thu, 2013-08-22 at 12:06 +0800, Shengzhou Liu wrote: > Update phy node according to new P1010RDB-PB board. > > Signed-off-by: Shengzhou Liu > --- > arch/powerpc/boot/dts/p1010rdb.dtsi |6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/powerpc/boot/dts/p10

Re: Ethernet over PCIe driver for Inter-Processor Communication

2013-08-22 Thread Ira W. Snyder
On Thu, Aug 22, 2013 at 02:43:38PM -0700, David Hawkins wrote: > Hi S.Saravanan, > > > I have a custom board with four MPC8640 nodes connected over > > a transparent PCI express switch . In this configuration one node is > > configured as host(Root Complex) and others as agents(End Point). Thus >

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

2013-08-22 Thread Mike Turquette
Quoting Sascha Hauer (2013-08-22 14:00:35) > On Thu, Aug 22, 2013 at 01:09:31PM +0100, Mark Rutland wrote: > > On Thu, Aug 22, 2013 at 08:19:10AM +0100, Mike Turquette wrote: > > > Quoting Tomasz Figa (2013-08-21 14:34:55) > > > > On Wednesday 21 of August 2013 09:50:15 Mark Rutland wrote: > > > >

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

2013-08-22 Thread Tomasz Figa
On Thursday 22 of August 2013 15:43:31 Mike Turquette wrote: > Quoting Sascha Hauer (2013-08-22 14:00:35) > > > On Thu, Aug 22, 2013 at 01:09:31PM +0100, Mark Rutland wrote: > > > On Thu, Aug 22, 2013 at 08:19:10AM +0100, Mike Turquette wrote: > > > > Quoting Tomasz Figa (2013-08-21 14:34:55) > >

Detecting LD/ST instruction

2013-08-22 Thread Sukadev Bhattiprolu
I am working on implementing the 'perf mem' command for Power systems. This would for instance, let us know where in the memory hierarchy (L1, L2, Local RAM etc) the data for a load/store instruction was found (hit). On Power7, if the mcmcra[DCACHE_MISS] is clear _and_ the instruction is a load/s

Re: [GIT PULL v2] DT/core: cpu_ofnode updates for v3.12

2013-08-22 Thread Rafael J. Wysocki
On Thursday, August 22, 2013 02:57:56 PM Sudeep KarkadaNagesha wrote: > Hi Rafael, > > Here is the v2 of the pull request for cpu of_node updates for v3.12 > It includes ACK for all the new changes since v1(mainly from Ben for > PPC). Currently there's trivial conflict with today's linux-next in 3

RE: [RFC PATCH v2 04/11] pstore: Add compression support to pstore

2013-08-22 Thread Luck, Tony
<1>[ 383.209057] RIP [] sysrq_handle_crash+0x16/0x20 <4>[ 383.209057] RSP <4>[ 383.209057] CR2: <4>[ 383.209057] ---[ end trace 04a1cddad37b4b33 ]--- <3>[ 383.209057] pstore: compression failed for Part 2 returned -5 <3>[ 383.209057] pstore: Capture uncompressed oops/panic

Re: Detecting LD/ST instruction

2013-08-22 Thread Michael Neuling
> I am working on implementing the 'perf mem' command for Power > systems. This would for instance, let us know where in the memory > hierarchy (L1, L2, Local RAM etc) the data for a load/store > instruction was found (hit). > > On Power7, if the mcmcra[DCACHE_MISS] is clear _and_ the > instructio

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

2013-08-22 Thread Wei Yang
On Thu, Aug 22, 2013 at 10:17:20AM -0600, Alex Williamson wrote: >On Thu, 2013-08-22 at 23:41 +0800, Wei Yang wrote: >> >> >> >> Alex, >> >> >> >> Sorry for not including you in the very beginning, which may spend you >> >> more >> >> efforts to track previous mails in this thread. >> >> >> >>

Re: [PATCH 1/3 V5] mmc:core: parse voltage from device-tree

2013-08-22 Thread Anton Vorontsov
On Wed, Aug 14, 2013 at 01:46:11PM +0800, Haijun Zhang wrote: > Add function to support get voltage from device-tree. > If there are voltage-range specified in device-tree node, this function > will parse it and return the available voltage mask. > > Signed-off-by: Haijun Zhang Acked-by: Anton V

Re: [PATCH V3] mmc:of_spi: Update the code of getting voltage-ranges

2013-08-22 Thread Anton Vorontsov
On Mon, Aug 12, 2013 at 09:39:05AM +0800, Haijun Zhang wrote: > Using function mmc_of_parse_voltage() to get voltage-ranges. > > Signed-off-by: Haijun Zhang > --- Acked-by: Anton Vorontsov ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org ht

Re: [PATCH 3/3 V3] mmc:esdhc: add support to get voltage from device-tree

2013-08-22 Thread Anton Vorontsov
On Mon, Aug 12, 2013 at 09:39:04AM +0800, Haijun Zhang wrote: > Add suppport to get voltage from device-tree node for esdhc host, > if voltage-ranges was specified in device-tree node we can get > ocr_mask instead of read from host capacity register. If not voltages > still can be get from host cap

Re: [PATCH 2/3 V3] mmc:sdhc: get voltage from sdhc host

2013-08-22 Thread Anton Vorontsov
On Mon, Aug 12, 2013 at 09:39:06AM +0800, Haijun Zhang wrote: > We use host->ocr_mask to hold the voltage get from device-tree > node, In case host->ocr_mask was available, we use host->ocr_mask > as the final available voltage can be used by MMC/SD/SDIO card. > > Signed-off-by: Haijun Zhang > --

[PATCH] iommu: WARN_ON when removing a device with no iommu_group associated

2013-08-22 Thread Wei Yang
When removing a device from the system, iommu_group driver will try to disconnect it from its group. While in some cases, one device may not associated with any iommu_group. For example, not enough DMA address space. In the generic bus notification, it will check dev->iommu_group before calling io

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 hardware automatically enter > alt

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 v7 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-08-22 Thread Hongbo Zhang
On 08/22/2013 07:16 AM, Stephen Warren wrote: On 08/21/2013 05:00 PM, Scott Wood wrote: On Wed, 2013-08-21 at 16:40 -0600, Stephen Warren wrote: On 07/29/2013 04:49 AM, hongbo.zh...@freescale.com wrote: +- reg : +- interrupts: s/interrupts/specifier/ D

Re: [PATCH] powerpc/kvm: Handle the boundary condition correctly

2013-08-22 Thread Aneesh Kumar K.V
Alexander Graf writes: > On 22.08.2013, at 12:37, Aneesh Kumar K.V wrote: > >> From: "Aneesh Kumar K.V" > > Isn't this you? Yes. The patches are generated using git format-patch and sent by git send-email. That's how it always created patches for me. I am not sure if there is a config I can cha

Re: [PATCH] iommu: WARN_ON when removing a device with no iommu_group associated

2013-08-22 Thread Alex Williamson
[+cc iommu] On Fri, 2013-08-23 at 09:55 +0800, Wei Yang wrote: > When removing a device from the system, iommu_group driver will try to > disconnect it from its group. While in some cases, one device may not > associated with any iommu_group. For example, not enough DMA address space. > > In the

Re: [PATCH 0/2] fs: supply inode uid/gid setting interface

2013-08-22 Thread Greg KH
On Fri, Aug 23, 2013 at 10:48:36AM +0800, Rui Xiang wrote: > This patchset implements an accessor functions to set uid/gid > in inode struct. Just finish code clean up. Why? ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs

Re: [PATCH] powerpc/kvm: Handle the boundary condition correctly

2013-08-22 Thread Benjamin Herrenschmidt
On Fri, 2013-08-23 at 09:01 +0530, Aneesh Kumar K.V wrote: > Alexander Graf writes: > > > On 22.08.2013, at 12:37, Aneesh Kumar K.V wrote: > > > >> From: "Aneesh Kumar K.V" > > > > Isn't this you? > > Yes. The patches are generated using git format-patch and sent by > git send-email. That's how

Re: [PATCH 2/3 V3] mmc:sdhc: get voltage from sdhc host

2013-08-22 Thread Zhang Haijun
Hi, Chris Could help give some advice on this patch set ? Thanks in advance. On 08/23/2013 09:48 AM, Anton Vorontsov wrote: On Mon, Aug 12, 2013 at 09:39:06AM +0800, Haijun Zhang wrote: We use host->ocr_mask to hold the voltage get from device-tree node, In case host->ocr_mask was available,

Re: [PATCH 2/2] fs: use inode_set_user to set uid/gid of inode

2013-08-22 Thread David Miller
From: Rui Xiang Date: Fri, 23 Aug 2013 10:48:38 +0800 > Use the new interface to set i_uid/i_gid in inode struct. > > Signed-off-by: Rui Xiang For the networking bits: Acked-by: David S. Miller ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlab

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

2013-08-22 Thread Sascha Hauer
On Fri, Aug 23, 2013 at 12:49:19AM +0200, Tomasz Figa wrote: > On Thursday 22 of August 2013 15:43:31 Mike Turquette wrote: > > Quoting Sascha Hauer (2013-08-22 14:00:35) > > > > > On Thu, Aug 22, 2013 at 01:09:31PM +0100, Mark Rutland wrote: > > > > On Thu, Aug 22, 2013 at 08:19:10AM +0100, Mike

Re: [PATCH 2/4 V2] mmc: esdhc: workaround for dma err in the last system transaction

2013-08-22 Thread Zhang Haijun
Hi, Anton and all Is there any advice on these two patches ? [PATCH 2/4 V2] mmc: esdhc: workaround for dma err in the last system transaction [PATCH 3/4 V3] mmc: esdhc: Correct host version of T4240-R1.0-R2.0. [PATCH 1/4 V4] powerpc/85xx: Add support for 85xx cpu type detection This patch is