[PATCH] powerpc: use of_node_init() for the fakenode in msi_bitmap.c

2014-04-02 Thread Li Zhong
This patch uses of_node_init() to initialize the kobject in the fake node used in test_of_node(), to avoid following kobject warning. [0.897654] kobject: '(null)' (c007ca183a08): is not initialized, yet kobject_put() is being called. [0.897682] [ cut here ] [

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

2014-04-02 Thread Daniel Lezcano
On 04/03/2014 05:20 AM, dongsheng.w...@freescale.com wrote: 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

Re: MPC8641 based custom board Kernel stuck at 1000Mhz core clock

2014-04-02 Thread sanjeev sharma
Are you able to capture kernel logs ? Regards Sanjeev Sharma On Thu, Mar 27, 2014 at 10:01 PM, wrote: > On Thu, 27 Mar 2014 16:04:37 +0530, Ashish said: > > Hi, > > > > I am using MPC8641-HPCN based custom board and able to boot linux at > > MPX clock 400Mhz and core clock 800mhz. When I am

Re: [PATCH] ASoC: fsl_sai: Add imx6sx platform support

2014-04-02 Thread Nicolin Chen
On Wed, Apr 02, 2014 at 08:52:08PM +0100, Mark Brown wrote: > On Tue, Apr 01, 2014 at 07:34:09PM +0800, Nicolin Chen wrote: > > The next coming i.MX6 Solo X SoC also contains SAI module while we use > > imp_pcm_init() for i.MX platform. > > I've applied this, though obviously it'd be better if we

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 v2] powernv: kvm: make _PAGE_NUMA take effect

2014-04-02 Thread Liu ping fan
Hi Alex, could you help to pick up this patch? since v3.14 kernel can enable numa fault for powerpc. Thx, Fan On Mon, Jan 27, 2014 at 5:11 PM, Alexander Graf wrote: > > On 21.01.2014, at 10:42, Aneesh Kumar K.V > wrote: > >> Liu Ping Fan writes: >> >>> To make sure that on host, the pages ma

[PATCH 0/2] powerpc/perf: fixup 2 patches from the 24x7 series

2014-04-02 Thread Cody P Schafer
mpe: these are fixups for 2 patches already in your merge tree (and in benh's next branch). f3e622941a7cec587c00c0d17ea31514457c63c8 powerpc/perf: Add support for the hv 24x7 interface edd354ea4a6774bf9f380b0acf30e699070f4e8a powerpc/perf: Add support for the hv gpci (get performance counter in

[PATCH 1/2] fixup: "powerpc/perf: Add support for the hv 24x7 interface"

2014-04-02 Thread Cody P Schafer
Make the "not enabled" message less awful. Signed-off-by: Cody P Schafer --- arch/powerpc/perf/hv-24x7.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/perf/hv-24x7.c b/arch/powerpc/perf/hv-24x7.c index 297c9105..3246ea2 100644 --- a/arch/powerpc/perf/hv-24x7.c

[PATCH 2/2] fixup: "powerpc/perf: Add support for the hv gpci (get performance counter info) interface"

2014-04-02 Thread Cody P Schafer
Make the "not enabled" message less awful. Signed-off-by: Cody P Schafer --- arch/powerpc/perf/hv-gpci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/perf/hv-gpci.c b/arch/powerpc/perf/hv-gpci.c index 278ba7b..f6c471d 100644 --- a/arch/powerpc/perf/hv-gpci.c +

Re: [PATCH RFC v10 0/6] MPC512x DMA slave s/g support, OF DMA lookup

2014-04-02 Thread Alexander Popov
Hello 20.03.2014 18:48 "Alexander Popov" wrote: > Changes in v10: > Part 2/6: > - don't use direction field of dma_slave_config in mpc_dma_device_control() > but store settings in mpc_dma_chan for both DMA_DEV_TO_MEM and > DMA_MEM_TO_DEV cases; then retrieve the needed values in > m

Re: [PATCH] ASoC: fsl_sai: Add imx6sx platform support

2014-04-02 Thread Mark Brown
On Tue, Apr 01, 2014 at 07:34:09PM +0800, Nicolin Chen wrote: > The next coming i.MX6 Solo X SoC also contains SAI module while we use > imp_pcm_init() for i.MX platform. I've applied this, though obviously it'd be better if we had dmaengine support for this SoC so that it was just a compatible st

Re: [PATCH v2] spi: add "spi-lsb-first" to devicetree

2014-04-02 Thread Mark Brown
On Tue, Apr 01, 2014 at 05:10:50PM +0800, Zhao Qiang wrote: > add optional property devicetree for SPI slave nodes > into devicetree so that LSB mode can be enabled by devicetree. Applied, thanks. signature.asc Description: Digital signature ___ Linuxp

Re: [RFC PATCH] hugetlb: ensure hugepage access is denied if hugepages are not supported

2014-04-02 Thread Nishanth Aravamudan
On 26.03.2014 [08:58:15 -0700], Nishanth Aravamudan wrote: > On 24.03.2014 [16:02:56 -0700], Nishanth Aravamudan wrote: > > In KVM guests on Power, if the guest is not backed by hugepages, we see > > the following in the guest: > > > > AnonHugePages: 0 kB > > HugePages_Total: 0 > > H

Re: [PATCH 6/7] DMA: Freescale: use spin_lock_bh instead of spin_lock_irqsave

2014-04-02 Thread Vinod Koul
On Mon, Mar 31, 2014 at 12:08:55PM +0800, Hongbo Zhang wrote: > > On 03/29/2014 09:45 PM, Vinod Koul wrote: > >On Fri, Mar 28, 2014 at 02:33:37PM +0800, Hongbo Zhang wrote: > >>On 03/26/2014 03:01 PM, Vinod Koul wrote: > >>>On Thu, 2014-01-16 at 13:47 +0800, hongbo.zh...@freescale.com wrote: > >>>

[bug report] bad error path in fsl_open_inb_mbox()

2014-04-02 Thread Dan Carpenter
Hello PPC devs, Smatch has the following warning: arch/powerpc/sysdev/fsl_rmu.c:884 fsl_open_inb_mbox() error: buffer overflow 'rmu->msg_tx_ring.virt_buffer' 2048 <= 2048 arch/powerpc/sysdev/fsl_rmu.c 861 for (i = 0; i < rmu->msg_rx_ring.size; i++) 862

[PATCH] powerpc/mm: numa pte should be handled via slow path in get_user_pages_fast

2014-04-02 Thread Aneesh Kumar K.V
From: "Aneesh Kumar K.V" We need to handle numa pte via the slow path Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/mm/gup.c | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/powerpc/mm/gup.c b/arch/powerpc/mm/gup.c index c5f734e20b0f..d8746684f606 100644 --- a/arch/po

Re: [RFC PATCH] powerpc/le: enable RTAS events support

2014-04-02 Thread Greg Kurz
On Tue, 1 Apr 2014 12:26:32 +0200 Geert Uytterhoeven wrote: > On Mon, Mar 31, 2014 at 5:02 PM, Nathan Fontenot > wrote: > > struct rtas_error_log { > > - unsigned long version:8;/* Architectural version */ > > - unsigned long severity:3; /* Severity lev

Re: [PATCH v2 2/2] ARM: dts: Append clock bindings for sai2 on VF610 platform

2014-04-02 Thread Nicolin Chen
Hi Shawn, Thanks for the comments, but... On Wed, Apr 02, 2014 at 09:03:04PM +0800, Shawn Guo wrote: > On Wed, Apr 02, 2014 at 06:10:20PM +0800, Nicolin Chen wrote: > > Since we added fours clock to the DT binding, we should update the current > > SAI dts/dtsi so as not to break their function

Re: [PATCH v2 2/2] ARM: dts: Append clock bindings for sai2 on VF610 platform

2014-04-02 Thread Shawn Guo
On Wed, Apr 02, 2014 at 06:10:20PM +0800, Nicolin Chen wrote: > Since we added fours clock to the DT binding, we should update the current > SAI dts/dtsi so as not to break their functions. > > Signed-off-by: Nicolin Chen > --- > arch/arm/boot/dts/vf610.dtsi | 6 -- > 1 file changed, 4 inser

Re: [PATCH REPOST v5 1/3] powernv, cpufreq: Select CPUFreq related Kconfig options for powernv

2014-04-02 Thread Benjamin Herrenschmidt
On Wed, 2014-04-02 at 13:03 +0200, Rafael J. Wysocki wrote: > > To be honest pretty urgent. It's a new drop-in driver so it > shouldn't > > be a huge deal. > > > > We have distros really waiting for this to hit upstream... But I'll > > leave that decision to you :-) > > Well, I've already sent a

Re: [PATCH REPOST v5 1/3] powernv, cpufreq: Select CPUFreq related Kconfig options for powernv

2014-04-02 Thread Rafael J. Wysocki
On Wednesday, April 02, 2014 03:23:28 PM Benjamin Herrenschmidt wrote: > On Wed, 2014-04-02 at 00:03 +0200, Rafael J. Wysocki wrote: > > > Rafael, are you going to take these or should I send them to Linus ? > > > > > > (I'd rather you take them :-) > > > > I can do that, but the timing is pretty

Re: [PATCH] gpio: ge: Convert to platform driver

2014-04-02 Thread Alexander Shiyan
Wed, 2 Apr 2014 18:41:55 +0900 от Alexandre Courbot : > On Sun, Mar 30, 2014 at 2:14 PM, Alexander Shiyan wrote: > > This patch converts GE I/O FPGA GPIO driver to platform driver. > > > > Signed-off-by: Alexander Shiyan > > --- > > Only compile tested. > > Could we get a couple of Tested-by by

[PATCH v2 2/2] ARM: dts: Append clock bindings for sai2 on VF610 platform

2014-04-02 Thread Nicolin Chen
Since we added fours clock to the DT binding, we should update the current SAI dts/dtsi so as not to break their functions. Signed-off-by: Nicolin Chen --- arch/arm/boot/dts/vf610.dtsi | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/a

[PATCH v2 1/2] ASoC: fsl_sai: Add clock controls for SAI

2014-04-02 Thread Nicolin Chen
The SAI mainly has the following clocks: bus clock control and configuration registers and to generate synchronous interrupts and DMA requests. mclk1, mclk2, mclk3 to generate the bit clock when the receiver or transmitter is configured for an internally generated bit clock. S

[PATCH v2 0/2] ASoC: fsl_sai: Add bus clock and mclks with clock controls

2014-04-02 Thread Nicolin Chen
This series of patches add clock controls to fsl_sai driver and updates the vf610.dtsi accordingly. Changelog v2: * Appended two extra mclks to the driver since SAI actually has three. * Renamed clock name to 'bus' and 'mclk' according to the reference manual. Nicolin Chen (2): ASoC: fsl_sai:

Re: [PATCH] gpio: ge: Convert to platform driver

2014-04-02 Thread Alexandre Courbot
On Sun, Mar 30, 2014 at 2:14 PM, Alexander Shiyan wrote: > This patch converts GE I/O FPGA GPIO driver to platform driver. > > Signed-off-by: Alexander Shiyan > --- > Only compile tested. Could we get a couple of Tested-by by people who can try this patch? It greatly simplifies the driver, but w

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

2014-04-02 Thread Daniel Lezcano
On 04/02/2014 11:36 AM, Daniel Lezcano wrote: On 04/01/2014 10:33 AM, Dongsheng Wang wrote: From: Wang Dongsheng Add cpuidle support for e500 family, using cpuidle framework to manage various low power modes. The new implementation will remain compatible with original idle method. I have don

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

2014-04-02 Thread Daniel Lezcano
On 04/01/2014 10:33 AM, Dongsheng Wang wrote: From: Wang Dongsheng Add cpuidle support for e500 family, using cpuidle framework to manage various low power modes. The new implementation will remain compatible with original idle method. I have done test about power consumption and latency. Cpui

Re: [PATCH 0/3] Add new ptrace request macros on PowerPC

2014-04-02 Thread Anshuman Khandual
On 04/02/2014 12:32 PM, Anshuman Khandual wrote: > This patch series adds new ELF note sections which are used to > create new ptrace request macros for various transactional memory and > miscellaneous registers on PowerPC. Please find the test case exploiting > the new ptrace request macros

Re: [alsa-devel] [PATCH 0/2] Add ipg clock control to sai driver

2014-04-02 Thread Nicolin Chen
Please disregard this version. SAI actually has three master clocks and one bus clock. So the patch should have added three sai_clks to the driver. I'll later send v2 to append the other two. Thank you. On Tue, Apr 1, 2014 at 7:52 PM, Nicolin Chen wrote: > This series of patches add ipg clock

[PATCH 2/3] powerpc, ptrace: Add new ptrace request macros for transactional memory

2014-04-02 Thread Anshuman Khandual
This patch adds following new sets of ptrace request macros for transactional memory expanding the existing ptrace ABI on PowerPC. /* TM special purpose registers */ PTRACE_GETTM_SPRREGS PTRACE_SETTM_SPRREGS /* TM checkpointed GPR registers */ PTRACE_GETTM_

[PATCH 3/3] powerpc, ptrace: Add new ptrace request macro for miscellaneous registers

2014-04-02 Thread Anshuman Khandual
This patch adds following new set of ptrace request macros for miscellaneous registers expanding the existing ptrace ABI on PowerPC. /* Miscellaneous registers */ PTRACE_GETMSCREGS PTRACE_SETMSCREGS Signed-off-by: Anshuman Khandual --- arch/powerpc/include/uapi/asm/ptrac

[PATCH 1/3] elf: Add some new PowerPC specifc note sections

2014-04-02 Thread Anshuman Khandual
This patch adds four new note sections for transactional memory and one note section for some miscellaneous registers. This addition of new elf note sections extends the existing elf ABI without affecting it in any manner. Signed-off-by: Anshuman Khandual --- include/uapi/linux/elf.h | 5 +

[PATCH 0/3] Add new ptrace request macros on PowerPC

2014-04-02 Thread Anshuman Khandual
This patch series adds new ELF note sections which are used to create new ptrace request macros for various transactional memory and miscellaneous registers on PowerPC. Please find the test case exploiting the new ptrace request macros and it's results on a POWER8 system. RFC: https://lkml