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

2013-09-03 Thread Aruna Balakrishnaiah
On Wednesday 04 September 2013 07:14 AM, Seiji Aguchi wrote: Aruna, Sorry for the late response. Seiji, Could you let us know the efivars buffer size with which the pstore is registered when the failure occurred. I looked into the issue today. I added some debug message just before pstore_c

Re: [PATCH] powerpc: Add I2C bus multiplexer node for B4 and T4240QDS

2013-09-03 Thread Yang,Wei
On 09/04/2013 12:03 PM, Tang Yuantian-B29983 wrote: > Hi, > I noticed that there are already some nodes in i2c bus. Sorry for my late response, yeah, just as you noticed, some eeprom nodes already are inside i2c bus.:-) Wei > You should at least move the existing node into PCA9547. > > Thanks, >

RE: [PATCH] powerpc: Add I2C bus multiplexer node for B4 and T4240QDS

2013-09-03 Thread Jia Hongtao-B38951
Hi Yuantian, Yes, you are right. Hi Wei, I misunderstood your idea. I agree it and I will submit V2 patch to update it soon. Thanks. -Hongtao > -Original Message- > From: Tang Yuantian-B29983 > Sent: Wednesday, September 04, 2013 12:04 PM > To: Jia Hongtao-B38951; Yang,Wei > Cc: Wood Sco

RE: [PATCH] powerpc: Add I2C bus multiplexer node for B4 and T4240QDS

2013-09-03 Thread Tang Yuantian-B29983
Hi, I noticed that there are already some nodes in i2c bus. You should at least move the existing node into PCA9547. Thanks, Yuantian > -Original Message- > From: Linuxppc-dev [mailto:linuxppc-dev- > bounces+b29983=freescale@lists.ozlabs.org] On Behalf Of Jia Hongtao- > B38951 > Sent

Power PC Build problem

2013-09-03 Thread Jason Rennie
Hi everyone, I apologise if the question is inappropriate for this list but here goes. I'm using buildroot to build for an APC8272ADS (PPC 603e) chip with Intel/Sharp Memory chips on board. I have an old build of the kernel (2.6.18) that does appear to work correctly the relevant portion is -

RE: [PATCH] powerpc: Add I2C bus multiplexer node for B4 and T4240QDS

2013-09-03 Thread Jia Hongtao-B38951
Hi Wei, I totally agree that the i2c nodes topology should end up like you said. But I think adding sub-nodes should step by step. Actually the hardware i2c topology are huge like on T4. So I'd like to adding nodes when we needed. If you think the sub-nodes are needed please send another patch ba

RE: [PATCH] powerpc: Add I2C bus multiplexer node for B4 and T4240QDS

2013-09-03 Thread Tang Yuantian-B29983
Hi, These eeproms are never used by kernel. So no need to add them. Thanks, Yuantian > -Original Message- > From: Linuxppc-dev [mailto:linuxppc-dev- > bounces+b29983=freescale@lists.ozlabs.org] On Behalf Of Yang,Wei > Sent: 2013年9月4日 星期三 9:27 > To: Jia Hongtao-B38951 > Cc: Wood Scot

Re: [PATCH 3/7] powerpc/pci: use pci_is_pcie() to simplify code

2013-09-03 Thread Gavin Shan
>Use pci_is_pcie() to simplify code. > >Signed-off-by: Yijing Wang >Cc: Gavin Shan >Cc: Benjamin Herrenschmidt >Cc: Paul Mackerras >Cc: linuxppc-dev@lists.ozlabs.org >Cc: linux-ker...@vger.kernel.org It looks good to me: Reviewed-by: Gavin Shan Thanks, Gavin >--- > arch/powerpc/kernel/eeh.

Re: [RFC PATCH v1 1/1] powerpc/85xx: Wakeup kexec smp slave cpus in second kernel

2013-09-03 Thread Yang,Wei
On 08/31/2013 05:12 PM, Yu Chen wrote: >From 1ccf579b871dfd5938ce958f729361a203485c74 Mon Sep 17 00:00:00 2001 From: Yu Chen Date: Sat, 31 Aug 2013 23:52:31 +0800 Subject: [PATCH] powerpc/85xx: Wakeup kexec smp slave cpus in second kernel In current 85xx smp kexec implementation,master cpu res

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

2013-09-03 Thread Seiji Aguchi
Aruna, Sorry for the late response. > Seiji, > > Could you let us know the efivars buffer size with which the pstore is > registered when > the failure occurred. I looked into the issue today. I added some debug message just before pstore_compress(). As you can see below, the buffer size is a

Re: [PATCH] powerpc: Add I2C bus multiplexer node for B4 and T4240QDS

2013-09-03 Thread Yang,Wei
On 09/03/2013 03:51 PM, Jia Hongtao wrote: In both B4 and T4240QDS platform PCA9547 I2C bus multiplexer is used. Hi Hongtao, If you want to support I2C bus multiplexer, for T4 and B4QDS platform, since some eeprom devices is connected to PCA9574 I2C bus multiplexer, so these devices should be

Re: [PATCH] ppc: bpf_jit: support MOD operation

2013-09-03 Thread Daniel Borkmann
On 09/03/2013 09:58 PM, Vladimir Murzin wrote: On Tue, Sep 03, 2013 at 06:45:50AM +1000, Benjamin Herrenschmidt wrote: On Mon, 2013-09-02 at 19:48 +0200, Vladimir Murzin wrote: Ping On Wed, Aug 28, 2013 at 02:49:52AM +0400, Vladimir Murzin wrote: commit b6069a9570 (filter: add MOD operation)

Please pull 'next' branch of 5xxx tree

2013-09-03 Thread Anatolij Gustschin
Hi Ben ! Please pull mpc5xxx patches for v3.12. There are cleanups for some mpc5121 specific drivers and DTS files in preparation to switch mpc5121 clock support to a clock driver based on common clock framework. Additionally Sebastian fixed the mpc52xx PIC driver so that it builds when using old

Re: [PATCH] ppc: bpf_jit: support MOD operation

2013-09-03 Thread Vladimir Murzin
On Tue, Sep 03, 2013 at 06:45:50AM +1000, Benjamin Herrenschmidt wrote: > On Mon, 2013-09-02 at 19:48 +0200, Vladimir Murzin wrote: > > Ping > > > > On Wed, Aug 28, 2013 at 02:49:52AM +0400, Vladimir Murzin wrote: > > > commit b6069a9570 (filter: add MOD operation) added generic > > > support for

Re: [PATCH v9 12/13] KVM: PPC: Add support for IOMMU in-kernel handling

2013-09-03 Thread Alexey Kardashevskiy
On 09/03/2013 08:53 PM, Gleb Natapov wrote: > On Mon, Sep 02, 2013 at 01:14:29PM +1000, Alexey Kardashevskiy wrote: >> On 09/01/2013 10:06 PM, Gleb Natapov wrote: >>> On Wed, Aug 28, 2013 at 06:50:41PM +1000, Alexey Kardashevskiy wrote: This allows the host kernel to handle H_PUT_TCE, H_PUT_TC

Re: [PATCH v9 12/13] KVM: PPC: Add support for IOMMU in-kernel handling

2013-09-03 Thread Gleb Natapov
On Mon, Sep 02, 2013 at 01:14:29PM +1000, Alexey Kardashevskiy wrote: > On 09/01/2013 10:06 PM, Gleb Natapov wrote: > > On Wed, Aug 28, 2013 at 06:50:41PM +1000, Alexey Kardashevskiy wrote: > >> This allows the host kernel to handle H_PUT_TCE, H_PUT_TCE_INDIRECT > >> and H_STUFF_TCE requests target

[PATCH] powerpc: xmon: Fix printing of set of CPUs in xmon

2013-09-03 Thread Paul Mackerras
Commit 24ec2125f3 ("powerpc/xmon: Use cpumask iterator to avoid warning") replaced a loop from 0 to NR_CPUS-1 with a for_each_possible_cpu() loop, which means that if the last possible cpu is in xmon, we print the wrong value for the end of the range. For example, if 4 cpus are possible, NR_CPUS i

[PATCH] powerpc/fsl/defconfig: enable CONFIG_AT803X_PHY

2013-09-03 Thread Shengzhou Liu
Enable CONFIG_AT803X_PHY to support AR8030/8033/8035 PHY. Signed-off-by: Shengzhou Liu --- arch/powerpc/configs/corenet32_smp_defconfig |1 + arch/powerpc/configs/mpc85xx_defconfig |1 + arch/powerpc/configs/mpc85xx_smp_defconfig |1 + 3 files changed, 3 insertions(+), 0 dele

Re: [PATCH v9 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-09-03 Thread Hongbo Zhang
On 09/02/2013 11:58 PM, Mark Rutland wrote: Hi, On Fri, Aug 30, 2013 at 12:26:19PM +0100, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch adds the device tree nodes for them. Signed-off-by: Hongbo Zhang --- ...

[PATCH] powerpc: Add I2C bus multiplexer node for B4 and T4240QDS

2013-09-03 Thread Jia Hongtao
In both B4 and T4240QDS platform PCA9547 I2C bus multiplexer is used. Signed-off-by: Jia Hongtao --- arch/powerpc/boot/dts/b4qds.dtsi | 4 arch/powerpc/boot/dts/t4240qds.dts | 4 2 files changed, 8 insertions(+) diff --git a/arch/powerpc/boot/dts/b4qds.dtsi b/arch/powerpc/boot/dts/b

[PATCH 3/7] powerpc/pci: use pci_is_pcie() to simplify code

2013-09-03 Thread Yijing Wang
Use pci_is_pcie() to simplify code. Signed-off-by: Yijing Wang Cc: Gavin Shan Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-ker...@vger.kernel.org --- arch/powerpc/kernel/eeh.c |3 +-- arch/powerpc/sysdev/fsl_pci.c |2 +- 2 files changed