[PATCH] ASoC: fsl_sai: Set SYNC bit of TCR2 to Asynchronous Mode

2014-08-04 Thread Nicolin Chen
From: Nicolin Chen guangyu.c...@freescale.com There is one design rule according to SAI's reference manual: If the transmitter bit clock and frame sync are to be used by both transmitter and receiver, the transmitter must be configured for asynchronous operation and the receiver for synchronous

Re: [PATCH] powerpc/cpufreq: Add pr_warn() on OPAL firmware failures

2014-08-04 Thread Gautham R Shenoy
On Sun, Aug 03, 2014 at 02:54:05PM +0530, Vaidyanathan Srinivasan wrote: @@ -131,7 +136,12 @@ static unsigned int pstate_id_to_freq(int pstate_id) int i; i = powernv_pstate_info.max - pstate_id; - BUG_ON(i = powernv_pstate_info.nr_pstates || i 0); + if (i =

Re: [PATCH v13 4/8] powerpc: add pmd_[dirty|mkclean] for THP

2014-08-04 Thread Aneesh Kumar K.V
Minchan Kim minc...@kernel.org writes: MADV_FREE needs pmd_dirty and pmd_mkclean for detecting recent overwrite of the contents since MADV_FREE syscall is called for THP page. This patch adds pmd_dirty and pmd_mkclean for THP page MADV_FREE support. Cc: Benjamin Herrenschmidt

Re: scheduler crash on Power

2014-08-04 Thread Dietmar Eggemann
On 04/08/14 04:20, Michael Ellerman wrote: On Fri, 2014-08-01 at 14:24 -0700, Sukadev Bhattiprolu wrote: Dietmar Eggemann [dietmar.eggem...@arm.com] wrote: | ltcbrazos2-lp07 login: [ 181.915974] [ cut here ] | [ 181.915991] WARNING: at ../kernel/sched/core.c:5881

Re: [PATCH 0/2] ASoC: fsl_asrc: Fix two dereferenced variable before check

2014-08-04 Thread Mark Brown
On Mon, Aug 04, 2014 at 12:19:47PM +0800, Nicolin Chen wrote: These two patches fixes two warning of dereferenced variable reported by Dan Carpenter dan.carpen...@oracle.com Applied both, thanks. signature.asc Description: Digital signature ___

Re: [PATCH] ASoC: fsl_sai: Set SYNC bit of TCR2 to Asynchronous Mode

2014-08-04 Thread Mark Brown
On Mon, Aug 04, 2014 at 03:07:25PM +0800, Nicolin Chen wrote: From: Nicolin Chen guangyu.c...@freescale.com There is one design rule according to SAI's reference manual: If the transmitter bit clock and frame sync are to be used by both transmitter and receiver, the transmitter must be

[PATCH 3.2 51/94] locking/mutex: Disable optimistic spinning on some architectures

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra pet...@infradead.org commit 4badad352a6bb202ec68afa7a574c0bb961e5ebc upstream. The optimistic spin code assumes regular stores and cmpxchg() play nice; this is found to not be

[PATCH] Avoid bashisms

2014-08-04 Thread av1474
From 300a98f895dc7e2167cf379408322a9607907761 Mon Sep 17 00:00:00 2001 From: malc av1...@comtv.ru Date: Mon, 4 Aug 2014 23:28:05 +0400 Subject: [PATCH] Avoid bashisms --- arch/powerpc/kernel/prom_init_check.sh | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH] Simplify symbol check in prom_init_check.sh

2014-08-04 Thread Andreas Schwab
Signed-off-by: Andreas Schwab sch...@linux-m68k.org --- arch/powerpc/kernel/prom_init_check.sh | 22 ++ 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/arch/powerpc/kernel/prom_init_check.sh b/arch/powerpc/kernel/prom_init_check.sh index fe8e54b..12640f7 100644

Re: spi, spi_fsl-spi.c not working?

2014-08-04 Thread Scott Wood
On Thu, 2014-07-17 at 11:11 +0200, Heiko Schocher wrote: Hello all, I just tried a mpc83xx based board (similiar to the mpc8313erdb) with linux v3.16-rc4 using the drivers/spi/spi-fsl-spi.c driver. DT nodes for spi are the same as in arch/powerpc/boot/dts/mpc8313erdb.dts:

[PATCH] arch/powerpc/mm/numa.c: Fix break placement

2014-08-04 Thread Andrey Utkin
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=81631 Reported-by: David Binderman dcb...@hotmail.com Signed-off-by: Andrey Utkin andrey.krieger.ut...@gmail.com --- arch/powerpc/mm/numa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/mm/numa.c

Re: [PATCH 2/2] powerpc/nohash: Split __early_init_mmu() into boot and secondary

2014-08-04 Thread Benjamin Herrenschmidt
On Fri, 2014-08-01 at 22:07 -0500, Scott Wood wrote: -void __init early_init_mmu(void) -{ - __early_init_mmu(1); -} - void early_init_mmu_secondary(void) { - __early_init_mmu(0); + early_init_mmu_allcpus(); } Small nit, it took me 30s too long to figure out what you

[PATCH] powerpc: Remove powerpc specific cmd_line

2014-08-04 Thread Anton Blanchard
There is no need for yet another copy of the command line, just use boot_command_line like everyone else. Signed-off-by: Anton Blanchard an...@samba.org --- Index: b/arch/powerpc/include/asm/machdep.h === ---

[PATCH 1/2] powerpc: Hard disable interrupts in xmon

2014-08-04 Thread Anton Blanchard
xmon only soft disables interrupts. This seems like a bad idea - we certainly don't want decrementer and PMU exceptions going off when we are debugging something inside xmon. This issue was uncovered when the hard lockup detector went off inside xmon. To ensure we wont get a spurious hard lockup

[PATCH 2/2] powerpc: Add ppc64 hard lockup detector support

2014-08-04 Thread Anton Blanchard
The hard lockup detector uses a PMU event as a periodic NMI to detect if we are stuck (where stuck means no timer interrupts have occurred). Ben's rework of the ppc64 soft disable code has made ppc64 PMU exceptions a partial NMI. They can get disabled if an external interrupt comes in, but