RE: [PATCH] fix dmaengine_unmap failure.

2014-03-18 Thread Xuelin Shi
Hi Dan, In async_mult(...) of async_raid6_recov.c, the count 3 is used to request an unmap. However the to_cnt and bidi_cnt are both set to 1 and from_cnt to 0. Then while trying to do unmap, we are getting the wrong "unmap" from a different mempool. In this patch, the mempool is associated wit

Re: [PATCH v2 2/6] powernv:cpufreq: Create a powernv_cpu_to_core_mask() helper.

2014-03-18 Thread Srivatsa S. Bhat
On 03/19/2014 05:07 AM, Benjamin Herrenschmidt wrote: > On Mon, 2014-03-10 at 16:40 +0530, Gautham R. Shenoy wrote: >> From: "Srivatsa S. Bhat" >> >> Create a helper method that computes the cpumask corresponding to the >> thread-siblings of a cpu. Use this for initializing the policy->cpus >> mas

Re: [PATCH 9/9] powerpc/pm: support deep sleep feature on T1040

2014-03-18 Thread Chenhui Zhao
On Tue, Mar 18, 2014 at 05:42:09PM -0500, Scott Wood wrote: > On Mon, 2014-03-17 at 19:19 +0800, Chenhui Zhao wrote: > > On Fri, Mar 14, 2014 at 06:18:27PM -0500, Scott Wood wrote: > > > On Wed, 2014-03-12 at 18:40 +0800, Chenhui Zhao wrote: > > > > On Tue, Mar 11, 2014 at 08:10:24PM -0500, Scott W

Re: [PATCH 7/9] fsl: add EPU FSM configuration for deep sleep

2014-03-18 Thread Chenhui Zhao
On Tue, Mar 18, 2014 at 06:21:22PM -0500, Scott Wood wrote: > On Mon, 2014-03-17 at 18:27 +0800, Chenhui Zhao wrote: > > On Fri, Mar 14, 2014 at 05:51:09PM -0500, Scott Wood wrote: > > > On Wed, 2014-03-12 at 16:34 +0800, Chenhui Zhao wrote: > > > > On Tue, Mar 11, 2014 at 07:08:43PM -0500, Scott W

Re: [PATCH v2 2/6] powernv:cpufreq: Create a powernv_cpu_to_core_mask() helper.

2014-03-18 Thread Benjamin Herrenschmidt
On Mon, 2014-03-10 at 16:40 +0530, Gautham R. Shenoy wrote: > From: "Srivatsa S. Bhat" > > Create a helper method that computes the cpumask corresponding to the > thread-siblings of a cpu. Use this for initializing the policy->cpus > mask for a given cpu. > > (Original code written by Srivatsa S

Re: [PATCH 7/9] fsl: add EPU FSM configuration for deep sleep

2014-03-18 Thread Scott Wood
On Mon, 2014-03-17 at 18:27 +0800, Chenhui Zhao wrote: > On Fri, Mar 14, 2014 at 05:51:09PM -0500, Scott Wood wrote: > > On Wed, 2014-03-12 at 16:34 +0800, Chenhui Zhao wrote: > > > On Tue, Mar 11, 2014 at 07:08:43PM -0500, Scott Wood wrote: > > > > On Fri, 2014-03-07 at 12:58 +0800, Chenhui Zhao w

Re: [PATCH 9/9] powerpc/pm: support deep sleep feature on T1040

2014-03-18 Thread Scott Wood
On Sun, 2014-03-16 at 12:58 +0800, Kevin Hao wrote: > On Fri, Mar 14, 2014 at 05:26:27PM -0500, Scott Wood wrote: > > On Thu, 2014-03-13 at 15:46 +0800, Kevin Hao wrote: > > > On Wed, Mar 12, 2014 at 12:43:05PM -0500, Scott Wood wrote: > > > > > Shouldn't we use "readback, sync" here? The following

Re: [PATCH 9/9] powerpc/pm: support deep sleep feature on T1040

2014-03-18 Thread Scott Wood
On Mon, 2014-03-17 at 19:19 +0800, Chenhui Zhao wrote: > On Fri, Mar 14, 2014 at 06:18:27PM -0500, Scott Wood wrote: > > On Wed, 2014-03-12 at 18:40 +0800, Chenhui Zhao wrote: > > > On Tue, Mar 11, 2014 at 08:10:24PM -0500, Scott Wood wrote: > > > > On Fri, 2014-03-07 at 12:58 +0800, Chenhui Zhao w

Re: [UPDATED PATCH v3 10/52] arm, kvm: Fix CPU hotplug callback registration

2014-03-18 Thread Christoffer Dall
On 18 March 2014 03:23, Srivatsa S. Bhat wrote: > On 03/15/2014 12:40 AM, Christoffer Dall wrote: >> On Fri, Mar 14, 2014 at 11:13:29AM +0530, Srivatsa S. Bhat wrote: >>> On 03/13/2014 04:51 AM, Christoffer Dall wrote: On Tue, Mar 11, 2014 at 02:05:38AM +0530, Srivatsa S. Bhat wrote: > Su

[PATCH] i2c-cpm: Fix build by adding of_address.h and of_irq.h

2014-03-18 Thread Scott Wood
Fixes a build break due to the undeclared use of irq_of_parse_and_map() and of_iomap(). This build break was apparently introduced while the driver was unbuildable due to the bug fixed by 62c19c9d29e65086e5ae76df371ed2e6b23f00cd ("i2c: Remove usage of orphaned symbol OF_I2C"). When 62c19c was add

Re: [PATCH] fix dmaengine_unmap failure.

2014-03-18 Thread Dan Williams
On Tue, Mar 18, 2014 at 1:32 AM, 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 pool in unmap_data > structure. Won'

[UPDATED PATCH v3 10/52] arm, kvm: Fix CPU hotplug callback registration

2014-03-18 Thread Srivatsa S. Bhat
On 03/15/2014 12:40 AM, Christoffer Dall wrote: > On Fri, Mar 14, 2014 at 11:13:29AM +0530, Srivatsa S. Bhat wrote: >> On 03/13/2014 04:51 AM, Christoffer Dall wrote: >>> On Tue, Mar 11, 2014 at 02:05:38AM +0530, Srivatsa S. Bhat wrote: Subsystems that want to register CPU hotplug callbacks, a

[PATCH] powerpc/qe: Setup clock source for TDM

2014-03-18 Thread Xie Xiaobo
Add tdm clock configuration in both qe clock system and ucc fast controler. Signed-off-by: Xie Xiaobo Signed-off-by: Haiying Wang --- arch/powerpc/include/asm/immap_qe.h | 5 +- arch/powerpc/include/asm/qe.h | 13 +- arch/powerpc/include/asm/ucc.h| 6 +- arch/powerpc/incl

[PATCH] fix dmaengine_unmap failure.

2014-03-18 Thread xuelin.shi
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 pool in unmap_data structure. Signed-off-by: Xuelin Shi --- drivers/dma/dmaengine.c |

Re: Build regressions/improvements in v3.14-rc7

2014-03-18 Thread Geert Uytterhoeven
On Tue, Mar 18, 2014 at 9:47 AM, Geert Uytterhoeven wrote: > JFYI, when comparing v3.14-rc7[1] to v3.14-rc6[3], the summaries are: > - build errors: +5/-13 Ignoring randconfig failures that are not really new: + /scratch/kisskb/src/drivers/i2c/busses/i2c-cpm.c: error: implicit declaration o

[PATCH] powerpc/mpc85xx: Add BSC9132 QDS Support

2014-03-18 Thread Harninder Rai
- BSC9132 is an integrated device that targets Femto base station market. It combines Power Architecture e500v2 and DSP StarCore SC3850 technologies with MAPLE-B2F baseband acceleration processing elements - BSC9132QDS Overview 2Gbyte DDR3 (on board DDR) 32Mbyte 16bit NOR flash

[PATCH] powerpc/mpc85xx: Add BSC9132 QDS Support

2014-03-18 Thread Harninder Rai
- BSC9132 is an integrated device that targets Femto base station market. It combines Power Architecture e500v2 and DSP StarCore SC3850 technologies with MAPLE-B2F baseband acceleration processing elements - BSC9132QDS Overview 2Gbyte DDR3 (on board DDR) 32Mbyte 16bit NOR flash