Re: [PATCH] pseries/cpuidle: Remove redundant call to ppc64_runlatch_off() in cpu idle routines

2014-01-09 Thread Srivatsa S. Bhat
On 01/09/2014 10:35 AM, Preeti U Murthy wrote: > Commit fbd7740fdfdf9475f switched pseries cpu idle handling from complete idle > loops to ppc_md.powersave functions. Earlier to this switch, > ppc64_runlatch_off() had to be called in each of the idle routines. But after > the switch this call is ha

[PATCH] powerpc: delete non-required instances of include

2014-01-09 Thread Paul Gortmaker
None of these files are actually using any __init type directives and hence don't need to include . Most are just a left over from __devinit and __cpuinit removal, or simply due to code getting copied from one driver to the next. The one instance where we add an include for init.h covers off a ca

[PATCH] ASoC: fsl_esai: Add ESAI CPU DAI driver

2014-01-09 Thread Nicolin Chen
This patch implements a device-tree-only CPU DAI driver for Freescale ESAI controller that supports: - 12 channels playback and 8 channels record. [ Some of the inner transmitters and receivers are sharing same group of pins. So the maxmium 12 output or 8 input channels are only valid if

[PATCH] ASoC: fsl_ssi: Set default slot number for common cases

2014-01-09 Thread Nicolin Chen
For those platforms using DAI master mode like I2S, it's better to pre-set a default slot number so that there's no need for these common cases to set the slot number from its machine driver any more. Signed-off-by: Nicolin Chen --- sound/soc/fsl/fsl_ssi.c | 10 ++ 1 file changed, 10 ins

Re: [alsa-devel] [PATCH] ASoC: fsl_ssi: Set default slot number for common cases

2014-01-09 Thread Fabio Estevam
On Thu, Jan 9, 2014 at 7:41 AM, Nicolin Chen wrote: > For those platforms using DAI master mode like I2S, it's better to pre-set > a default slot number so that there's no need for these common cases to set > the slot number from its machine driver any more. > > Signed-off-by: Nicolin Chen > ---

Re: [alsa-devel] [PATCH] ASoC: fsl_ssi: Set default slot number for common cases

2014-01-09 Thread Nicolin Chen
Hi Fabio, On Thu, Jan 09, 2014 at 08:24:24AM -0200, Fabio Estevam wrote: > On Thu, Jan 9, 2014 at 7:41 AM, Nicolin Chen > wrote: > > For those platforms using DAI master mode like I2S, it's better to pre-set > > a default slot number so that there's no need for these common cases to set > > the

Re: [alsa-devel] [PATCH] ASoC: fsl_ssi: Set default slot number for common cases

2014-01-09 Thread Fabio Estevam
On Thu, Jan 9, 2014 at 8:34 AM, Nicolin Chen wrote: > Is this for the initial line? The CodingStyle contains two types of multi-line Yes, correct. > comment, one of which drops the initial line just like mine, even though it's > saying 'For files in net/ and drivers/net/ the preferred style', s

[PATCH v2] ASoC: fsl_ssi: Set default slot number for common cases

2014-01-09 Thread Nicolin Chen
For those platforms using DAI master mode like I2S, it's better to pre-set a default slot number so that there's no need for these common cases to set the slot number from its machine driver any more. Signed-off-by: Nicolin Chen --- Changelog v2: * Correct coding style for multi-line comment.

[PATCH v2] ASoC: fsl_esai: Add ESAI CPU DAI driver

2014-01-09 Thread Nicolin Chen
This patch implements a device-tree-only CPU DAI driver for Freescale ESAI controller that supports: - 12 channels playback and 8 channels record. [ Some of the inner transmitters and receivers are sharing same group of pins. So the maxmium 12 output or 8 input channels are only valid if

Re: [PATCH 0/4] powernv: kvm: numa fault improvement

2014-01-09 Thread Alexander Graf
On 11.12.2013, at 09:47, Liu Ping Fan wrote: > This series is based on Aneesh's series "[PATCH -V2 0/5] powerpc: mm: Numa > faults support for ppc64" > > For this series, I apply the same idea from the previous thread "[PATCH 0/3] > optimize for powerpc _PAGE_NUMA" > (for which, I still try

Re: [PATCH RFC v6 4/5] dma: mpc512x: register for device tree channel lookup

2014-01-09 Thread Vinod Koul
On Wed, Jan 08, 2014 at 05:47:19PM +0100, Gerhard Sittig wrote: > [ dropping devicetree from the Cc: list ] > > [ what is the semantics of DMA_PRIVATE capability flag? > is documentation available beyond the initial commit message? > need individual channels be handled instead of controllers?

[PATCH -next] ASoC: fsl-ssi: Add missing clk_disable_unprepare() on error in fsl_ssi_probe()

2014-01-09 Thread Wei Yongjun
From: Wei Yongjun Add the missing clk_disable_unprepare() before return from fsl_ssi_probe() in the request irq error handling case. Signed-off-by: Wei Yongjun --- sound/soc/fsl/fsl_ssi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fs

[PATCH] KVM: PPC: e500: Fix bad address type in deliver_tlb_misss()

2014-01-09 Thread Mihai Caraman
Use gva_t instead of unsigned int for eaddr in deliver_tlb_miss(). Signed-off-by: Mihai Caraman --- arch/powerpc/kvm/e500_mmu.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kvm/e500_mmu.c b/arch/powerpc/kvm/e500_mmu.c index ebca6b8..50860e9 100644 --- a/

Re: [PATCH] KVM: PPC: e500: Fix bad address type in deliver_tlb_misss()

2014-01-09 Thread Alexander Graf
On 09.01.2014, at 16:01, Mihai Caraman wrote: > Use gva_t instead of unsigned int for eaddr in deliver_tlb_miss(). > > Signed-off-by: Mihai Caraman Thanks, applied to kvm-ppc-queue. Alex ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org

Re: [PATCH -next] ASoC: fsl-ssi: Add missing clk_disable_unprepare() on error in fsl_ssi_probe()

2014-01-09 Thread Mark Brown
On Thu, Jan 09, 2014 at 10:27:31PM +0800, Wei Yongjun wrote: > From: Wei Yongjun > > Add the missing clk_disable_unprepare() before return from > fsl_ssi_probe() in the request irq error handling case. Applied, thanks. signature.asc Description: Digital signature __

Re: [PATCH v2] ASoC: fsl_ssi: Set default slot number for common cases

2014-01-09 Thread Mark Brown
On Thu, Jan 09, 2014 at 06:42:48PM +0800, Nicolin Chen wrote: > For those platforms using DAI master mode like I2S, it's better to pre-set > a default slot number so that there's no need for these common cases to set > the slot number from its machine driver any more. Applied, thanks - but note th

Re: [PATCH v2] ASoC: fsl_esai: Add ESAI CPU DAI driver

2014-01-09 Thread Mark Brown
On Thu, Jan 09, 2014 at 06:57:58PM +0800, Nicolin Chen wrote: > +/** > + * This function configures the ratio between MCLK (HCK) and BCLK (SCK) > + * (For DAI Master Mode only) > + * > + * Note: Machine driver should calculate the ratio to call this function. > + *Only effective after calling

Re: [PATCH RFC 1/3] drivers: base: support cpu cache information interface to userspace via sysfs

2014-01-09 Thread Greg Kroah-Hartman
On Thu, Jan 09, 2014 at 07:19:00PM +, Sudeep Holla wrote: > On 08/01/14 20:27, Greg Kroah-Hartman wrote: > > On Wed, Jan 08, 2014 at 07:26:06PM +, Sudeep Holla wrote: > >> From: Sudeep Holla > >> > >> This patch adds initial support for providing processor cache information > >> to userspa

Re: [PATCH RFC 1/3] drivers: base: support cpu cache information interface to userspace via sysfs

2014-01-09 Thread Greg Kroah-Hartman
On Thu, Jan 09, 2014 at 07:47:47PM +, Sudeep Holla wrote: > On 09/01/14 19:31, Greg Kroah-Hartman wrote: > > On Thu, Jan 09, 2014 at 07:19:00PM +, Sudeep Holla wrote: > >> On 08/01/14 20:27, Greg Kroah-Hartman wrote: > >>> On Wed, Jan 08, 2014 at 07:26:06PM +, Sudeep Holla wrote: >

Re: [PATCH RFC 2/3] ARM: kernel: add support for cpu cache information

2014-01-09 Thread Russell King - ARM Linux
On Thu, Jan 09, 2014 at 07:35:03PM +, Sudeep Holla wrote: > I assume you referring to some particular CPUs which don't implement this. > I could not find it as optional or IMPLEMENTATION defined in ARM ARM. > I might be missing to find it or there may be exceptions. > Can you please provide mor

[PATCH] powerpc: fix 8xx and 6xx final link failures

2014-01-09 Thread Paul Gortmaker
As of commit b81f18e55e9f4ea81759bcb00fea295de679bbe8 ("powerpc/boot: Only build board support files when required.") the two defconfigs ep88xc_defconfig and storcenter_defconfig would fail final link as follows: WRAParch/powerpc/boot/dtbImage.ep88xc arch/powerpc/boot/wrapper.a(mpc8xx.o): In

Re: [PATCH RFC 1/3] drivers: base: support cpu cache information interface to userspace via sysfs

2014-01-09 Thread Sudeep Holla
On 08/01/14 20:28, Greg Kroah-Hartman wrote: > On Wed, Jan 08, 2014 at 07:26:06PM +, Sudeep Holla wrote: >> From: Sudeep Holla >> +#define define_one_ro(_name) \ >> +static struct cache_attr _name = \ >> +__ATTR(_name, 0444, show_##_name, NULL) > > In the future, we do have __ATTR_RO(), w

Re: [PATCH RFC 1/3] drivers: base: support cpu cache information interface to userspace via sysfs

2014-01-09 Thread Sudeep Holla
On 08/01/14 20:26, Greg Kroah-Hartman wrote: > On Wed, Jan 08, 2014 at 07:26:06PM +, Sudeep Holla wrote: >> From: Sudeep Holla >> >> This patch adds initial support for providing processor cache information >> to userspace through sysfs interface. This is based on x86 implementation >> and hen

Re: [PATCH RFC 1/3] drivers: base: support cpu cache information interface to userspace via sysfs

2014-01-09 Thread Sudeep Holla
On 08/01/14 20:27, Greg Kroah-Hartman wrote: > On Wed, Jan 08, 2014 at 07:26:06PM +, Sudeep Holla wrote: >> From: Sudeep Holla >> >> This patch adds initial support for providing processor cache information >> to userspace through sysfs interface. This is based on x86 implementation >> and hen

Re: [PATCH RFC 2/3] ARM: kernel: add support for cpu cache information

2014-01-09 Thread Sudeep Holla
On 08/01/14 20:57, Russell King - ARM Linux wrote: > On Wed, Jan 08, 2014 at 07:26:07PM +, Sudeep Holla wrote: >> +#if __LINUX_ARM_ARCH__ < 7 /* pre ARMv7 */ >> + >> +#define MAX_CACHE_LEVEL 1 /* Only 1 level supported */ >> +#define CTR_CTYPE_SHIFT 24 >> +#define

Re: [PATCH RFC 1/3] drivers: base: support cpu cache information interface to userspace via sysfs

2014-01-09 Thread Sudeep Holla
On 09/01/14 19:31, Greg Kroah-Hartman wrote: > On Thu, Jan 09, 2014 at 07:19:00PM +, Sudeep Holla wrote: >> On 08/01/14 20:27, Greg Kroah-Hartman wrote: >>> On Wed, Jan 08, 2014 at 07:26:06PM +, Sudeep Holla wrote: From: Sudeep Holla This patch adds initial support for provi

Re: 答复: [v7] clk: corenet: Adds the clock binding

2014-01-09 Thread Scott Wood
On Wed, 2014-01-08 at 20:57 -0600, Tang Yuantian-B29983 wrote: > Thanks for you review. > See my response inline. > > Thanks, > Yuantian > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: 2014年1月9日 星期四 2:44 > > To: Mark Rutland > > Cc: Tang Yuantian-B29983; ga...@kernel.crashi

Re: [v6,4/4] powerpc/85xx: add sysfs for pw20 state and altivec idle

2014-01-09 Thread Scott Wood
On Tue, Dec 17, 2013 at 04:17:02PM +0800, Dongsheng Wang wrote: > From: Wang Dongsheng > > Add a sys interface to enable/diable pw20 state or altivec idle, and > control the wait entry time. > > Enable/Disable interface: > 0, disable. 1, enable. > /sys/devices/system/cpu/cpuX/pw20_state

RE: 答复: [v7] clk: corenet: Adds the clock binding

2014-01-09 Thread Yuantian Tang
Thanks for your review. I will send next version of patch. Thanks, Yuantian > -Original Message- > From: Wood Scott-B07421 > Sent: 2014年1月10日 星期五 5:19 > To: Tang Yuantian-B29983 > Cc: Mark Rutland; ga...@kernel.crashing.org; devicet...@vger.kernel.org; > linuxppc-dev@lists.ozlabs.org > S

RE: [v6,4/4] powerpc/85xx: add sysfs for pw20 state and altivec idle

2014-01-09 Thread dongsheng.w...@freescale.com
> /home/scott/fsl/git/linux/upstream/arch/powerpc/kernel/sysfs.c:326:19: error: > 'PWRMGTCR0_AV_IDLE_CNT' undeclared (first use in this function) > /home/scott/fsl/git/linux/upstream/arch/powerpc/kernel/sysfs.c:329:36: error: > 'PWRMGTCR0_AV_IDLE_CNT_SHIFT' undeclared (first use in this function) >

[PATCH v8] clk: corenet: Adds the clock binding

2014-01-09 Thread Tang Yuantian
From: Tang Yuantian Adds the clock bindings for Freescale PowerPC CoreNet platforms Signed-off-by: Tang Yuantian Signed-off-by: Li Yang --- v8: - added clock-frequency property description - fixed whitespace and tab mixing issue v7: - refined some properties' definition

warning: (PPC_PSERIES && ..) selects HOTPLUG_CPU which has unmet direct dependencies (SMP && ..))

2014-01-09 Thread Fengguang Wu
tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7d1c153ab373a5c07feb97eaf4e4bcad5bfc262e commit: bb07b00be77fb33274cb44a03bdbf2471e556189 Merge 3.10-rc6 into driver-core-next date: 7 months ago config: make ARCH=powerpc mpc86xx_defconfig All warnings: wa

[PATCH] PPC: KVM: fix VCPU run for HV KVM

2014-01-09 Thread Alexey Kardashevskiy
When write to MMIO happens and there is an ioeventfd for that and is handled successfully, ioeventfd_write() returns 0 (success) and kvmppc_handle_store() returns EMULATE_DONE. Then kvmppc_emulate_mmio() converts EMULATE_DONE to RESUME_GUEST_NV and this broke from the loop. This adds handling of R