Re: [PATCH v3 2/3] devcietree: bindings: add some MFD Keymile FPGAs

2014-04-09 Thread Valentin Longchamp
On 04/09/2014 02:44 AM, Scott Wood wrote: > On Tue, 2014-03-25 at 14:41 +0100, Valentin Longchamp wrote: >> These are the bindings for 2 MFD devices used on some of the Keymile boards. >> The first one is the chassis managmenet bfticu FPGA. >> The second one is the board controller (reset, LEDs, GP

[git pull] Please pull powerpc.git merge branch

2014-04-09 Thread Benjamin Herrenschmidt
Hi Linus ! Here are a few more powerpc things for you. So you'll find here the conversion of the two new firmware sysfs interfaces to the new API for self-removing files that Greg and Tejun introduced, so they can finally remove the old one. I'm also reverting the hwmon driver for powernv. I sho

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

2014-04-09 Thread Shawn Guo
On Fri, Apr 04, 2014 at 06:08:13PM +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. If so, shouldn't the change be in the same patch as driver change? Shawn > > Signed-off-by: Nicolin Chen

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

2014-04-09 Thread Nicolin Chen
On Wed, Apr 09, 2014 at 03:58:15PM +0800, Shawn Guo wrote: > On Fri, Apr 04, 2014 at 06:08:13PM +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. > > If so, shouldn't the change be in the s

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

2014-04-09 Thread Shawn Guo
On Fri, Apr 04, 2014 at 06:08:13PM +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. For the record, you're asking my ACK to have the dts change go via sound tree for not breaking vf610 functio

Re: [PATCH V2 1/2] mm: move FAULT_AROUND_ORDER to arch/

2014-04-09 Thread Peter Zijlstra
On Wed, Apr 09, 2014 at 07:02:02AM +0530, Madhavan Srinivasan wrote: > On Friday 04 April 2014 09:48 PM, Dave Hansen wrote: > > On 04/03/2014 11:27 PM, Madhavan Srinivasan wrote: > >> This patch creates infrastructure to move the FAULT_AROUND_ORDER > >> to arch/ using Kconfig. This will enable arch

[RFC PATCH powerpc] Protect remove_memory() with device hotplug lock

2014-04-09 Thread Li Zhong
While testing memory hot-remove, I found following dead lock: Process #1141 is drmgr, trying to remove some memory, i.e. memory499. It holds the memory_hotplug_mutex, and blocks when trying to remove file "online" under dir memory499, in kernfs_drain(), at wait_event(root->deactivate_wai

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

2014-04-09 Thread Nicolin Chen
Hi Shawn, On Wed, Apr 09, 2014 at 04:11:38PM +0800, Shawn Guo wrote: > On Fri, Apr 04, 2014 at 06:08:13PM +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. > > For the record, you're askin

[PATCH] powerpc/powernv Adapt opal-elog and opal-dump to new sysfs_remove_file_self API from (removed) sysfs_schedule_callback

2014-04-09 Thread Stewart Smith
A merge fix for powernv opal-dump and opal-elog code with driver-next Signed-off-by: Stewart Smith --- arch/powerpc/platforms/powernv/opal-dump.c |9 ++--- arch/powerpc/platforms/powernv/opal-elog.c |9 ++--- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/arch/po

[PATCH] powerpc/rmu: Fix the error memory free parameters

2014-04-09 Thread Liu Gang
There are error parameters should be corrected when calling dma_free_coherent to free rmu rx-ring buffers in fsl_open_inb_mbox() function. Signed-off-by: Liu Gang Reported-by: Dan Carpenter --- arch/powerpc/sysdev/fsl_rmu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: hugetlb: ensure hugepage access is denied if hugepages are not supported

2014-04-09 Thread Mel Gorman
On Thu, Apr 03, 2014 at 04:14:13PM -0700, Nishanth Aravamudan wrote: > In KVM guests on Power, in a guest not backed by hugepages, we see the > following: > > AnonHugePages: 0 kB > HugePages_Total: 0 > HugePages_Free:0 > HugePages_Rsvd:0 > HugePages_Surp:0 >

[PATCH v4] ASoC: fsl_sai: Add clock controls for SAI

2014-04-09 Thread Nicolin Chen
The SAI mainly has the following clocks: bus clock control and configure 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. So th

[PATCH 1/2][powerpc/fsl] Added binding for Freescale CoreNet coherency fabric (CCF)

2014-04-09 Thread Diana Craciun
From: Diana Craciun The CoreNet coherency fabric is a fabric-oriented, conectivity infrastructure that enables the implementation of coherent, multicore systems. The CCF acts as a central interconnect for cores, platform-level caches, memory subsystem, peripheral devices and I/O host bridges in t

[PATCH 2/2][powerpc/fsl] Updated T4240 corenet-cf node in device tree

2014-04-09 Thread Diana Craciun
From: Diana Craciun Updated the compatible to reflect that CCF hardware is different on T4240 Signed-off-by: Diana Craciun --- arch/powerpc/boot/dts/fsl/t4240si-post.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi b/arch/pow

Re: [PATCH V2 1/2] mm: move FAULT_AROUND_ORDER to arch/

2014-04-09 Thread Dave Hansen
On 04/08/2014 06:32 PM, Madhavan Srinivasan wrote: >> > In mm/Kconfig, put >> > >> >config FAULT_AROUND_ORDER >> >int >> >default 1234 if POWERPC >> >default 4 >> > >> > The way you have it now, every single architecture that needs to enable >> > this has t

Re: [PATCH V2 1/2] mm: move FAULT_AROUND_ORDER to arch/

2014-04-09 Thread Dave Hansen
On 04/09/2014 01:20 AM, Peter Zijlstra wrote: > This still misses out on Ben's objection that its impossible to get this > right at compile time for many kernels, since they can boot and run on > many different subarchs. Completely agree. The Kconfig-time stuff should probably just be a knob to t

Re: [RFC PATCH powerpc] Protect remove_memory() with device hotplug lock

2014-04-09 Thread Nathan Fontenot
On 04/09/2014 03:54 AM, Li Zhong wrote: > While testing memory hot-remove, I found following dead lock: > > Process #1141 is drmgr, trying to remove some memory, i.e. memory499. > It holds the memory_hotplug_mutex, and blocks when trying to remove file > "online" under dir memory499, in kernfs_dr

[PATCH 01/60] powerpc/powernv: Return secondary CPUs to firmware before FW update

2014-04-09 Thread Vasant Hegde
Firmware update on PowerNV platform takes several minutes. During this time one CPU is stuck in FW and the kernel complains about "soft lockups". This patch returns all secondary CPUs to firmware before starting firmware update process. [ Reworked a bit and cleaned up -- BenH ] Signed-off-by: Va

Re: [PATCH v2] powernv: kvm: make _PAGE_NUMA take effect

2014-04-09 Thread Liu ping fan
On Mon, Apr 7, 2014 at 4:36 PM, Alexander Graf wrote: > > On 07.04.14 09:42, Aneesh Kumar K.V wrote: >> >> Alexander Graf writes: >> >>> On 03.04.14 04:36, Liu ping fan wrote: Hi Alex, could you help to pick up this patch? since v3.14 kernel can enable numa fault for powerpc. >>>

Re: [PATCH v2] fix wrong usage of dmaengine_unmap_put in async_xxx

2014-04-09 Thread Dan Williams
On Thu, Mar 20, 2014 at 1:16 AM, wrote: > From: Xuelin Shi > > dmaengine_unmap_put does below two things: > a) unmap pages for srcs and dests > b) free unmap struct > > The unmap struct data is generated but only initialized while > other some dma contions are met, like dma alignment etc. > If t

Re: [PATCH v2] fix dmaengine_unmap failure

2014-04-09 Thread Dan Williams
On Wed, Mar 19, 2014 at 11:33 PM, wrote: > From: Xuelin Shi > > The count which is used to get_unmap_data maybe not the same as the > count computed in dmaengine_unmap which causes to free data in a > wrong pool. > > This patch fixes this issue by keeping the map count with unmap_data > structur

[PATCH] Fix 3bc95598 'powerpc/PCI: Use list_for_each_entry() for bus traversal'

2014-04-09 Thread Mike Qiu
Unable to handle kernel paging request for data at address 0x Faulting instruction address: 0xc0041d78 Oops: Kernel access of bad area, sig: 11 [#1] ... NIP [c0041d78] .sys_pciconfig_iobase+0x68/0x1f0 LR [c0041e0c] .sys_pciconfig_iobase+0xfc/0x1f0 Call Trace: [c0

Re: [PATCH v2 8/8] DMA: Freescale: add suspend resume functions for DMA driver

2014-04-09 Thread Hongbo Zhang
On 04/04/2014 11:27 AM, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang This patch adds suspend resume functions for Freescale DMA driver. .prepare callback is used to stop further descriptors from being added into the pending queue, and also issue pending queues into execution if there i