[PATCH] powerpc/512x: dts: disable MPC5125 usb module

2013-12-19 Thread Matteo Facchinetti
USB controller pin-muxing is not initialized correctly and when system boot, causes a kernel panic. USB controller is also connected with a USB3320 ulpi tranciever and DTS should be includes the correct dependency for initialize and activate this component. Signed-off-by: Matteo Facchinetti

Re: [RFC][PATCH v1] ASoC: fsl_ssi: Add DAI master mode support for SSI on i.MX series

2013-12-19 Thread Mark Brown
On Thu, Dec 12, 2013 at 06:44:45PM +0800, Nicolin Chen wrote: From: Nicolin Chen b42...@freescale.com This patch adds three main functions for DAI master mode: set_dai_fmt(), set_dai_sysclk() and set_dai_tdm_slot(), and one essential baud clock accordingly. After appending this patch, the

Re: [PATCH] powerpc/512x: dts: disable MPC5125 usb module

2013-12-19 Thread Gerhard Sittig
On Thu, Dec 19, 2013 at 11:23 +0100, Matteo Facchinetti wrote: USB controller pin-muxing is not initialized correctly and when system boot, causes a kernel panic. USB controller is also connected with a USB3320 ulpi tranciever and DTS should be includes the correct dependency for initialize

Re: [PATCH] powerpc: book3s: kvm: Use the saved dsisr and dar values

2013-12-19 Thread Alexander Graf
Am 19.12.2013 um 08:02 schrieb Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com: Alexander Graf ag...@suse.de writes: On 11.11.2013, at 15:02, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com Don't try to compute

Re: [PATCH] powerpc: Make 64-bit non-VMX __copy_tofrom_user bi-endian

2013-12-19 Thread Michael Ellerman
On Wed, 2013-12-18 at 21:15 +1100, Anton Blanchard wrote: Hi, [ This is a rare but nasty LE issue. Most of the time we use the POWER7 optimised __copy_tofrom_user_power7 loop, but when it hits an exception we fall back to the base __copy_tofrom_user loop. - Anton ] To try and catch any

Re: commit e38c0a1f breaks powerpc boards with uli1575 chip

2013-12-19 Thread Thierry Reding
On Wed, Dec 18, 2013 at 12:40:21PM -0600, Rob Herring wrote: [fixed DT maillist address] On 12/17/2013 01:35 AM, Nikita Yushchenko wrote: Hi While trying to make freescale p2020ds and mpc8572ds boards working with mainline kernel, I faced that commit e38c0a1f (Handle

Re: [PATCH] powerpc/512x: dts: disable MPC5125 usb module

2013-12-19 Thread Matteo Facchinetti
On 19/12/2013 13:30, Gerhard Sittig wrote: On Thu, Dec 19, 2013 at 11:23 +0100, Matteo Facchinetti wrote: USB controller pin-muxing is not initialized correctly and when system boot, causes a kernel panic. USB controller is also connected with a USB3320 ulpi tranciever and DTS should be

[PATCH 03/38] powerpc: cell: add missing put_device call

2013-12-19 Thread Levente Kurusa
This is required so that we give up the last reference to the device. Signed-off-by: Levente Kurusa le...@linux.com --- arch/powerpc/platforms/cell/spu_base.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/cell/spu_base.c b/arch/powerpc/platforms/cell/spu_base.c

[PATCH 04/38] powerpc: kernel: add missing put_device call

2013-12-19 Thread Levente Kurusa
This is required so that we give up the last reference to the device. Signed-off-by: Levente Kurusa le...@linux.com --- arch/powerpc/kernel/vio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/kernel/vio.c b/arch/powerpc/kernel/vio.c index e7d0c88f..e8ed87e 100644 ---

Re: [PATCH] powerpc/sysdev: Fix a mpic section mismatch for MPC85xx

2013-12-19 Thread Christian Engelmayer
On Mon, 16 Dec 2013 11:10:53 +1100 Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Sun, 2013-12-15 at 19:38 +0100, Christian Engelmayer wrote: Moved arch/powerpc/sysdev/mpic.c : smp_mpic_probe() out of the __init section. It is referenced by arch/powerpc/platforms/85xx/smp.c :

[PATCH] powernv: eeh: fix possible buffer overrun in ioda_eeh_phb_diag()

2013-12-19 Thread Brian W Hart
PHB diagnostic buffer may be smaller than PAGE_SIZE, especially when PAGE_SIZE 4KB. Signed-off-by: Brian W Hart ha...@linux.vnet.ibm.com --- arch/powerpc/platforms/powernv/eeh-ioda.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[PATCH] powernv: eeh: add buffer for P7IOC hub error data

2013-12-19 Thread Brian W Hart
Prevent ioda_eeh_hub_diag() from clobbering itself when called by supplying a buffer for P7IOC hub diagnostic data. Take care to inform OPAL of the correct size for the buffer. Signed-off-by: Brian W Hart ha...@linux.vnet.ibm.com --- I hope I've understood this correctly. It looks to me like

Re: [PATCH] powernv: eeh: fix possible buffer overrun in ioda_eeh_phb_diag()

2013-12-19 Thread Gavin Shan
On Thu, Dec 19, 2013 at 05:14:07PM -0600, Brian W Hart wrote: PHB diagnostic buffer may be smaller than PAGE_SIZE, especially when PAGE_SIZE 4KB. I think you're talking about that PAGE_SIZE could be configured to have variable size (e.g. 4KB). So it's not safe to pass PAGE_SIZE to OPAL API

Re: [PATCH] powernv: eeh: add buffer for P7IOC hub error data

2013-12-19 Thread Gavin Shan
On Thu, Dec 19, 2013 at 05:18:53PM -0600, Brian W Hart wrote: Prevent ioda_eeh_hub_diag() from clobbering itself when called by supplying a buffer for P7IOC hub diagnostic data. Take care to inform OPAL of the correct size for the buffer. Signed-off-by: Brian W Hart ha...@linux.vnet.ibm.com ---

Re: [PATCH] powernv: eeh: fix possible buffer overrun in ioda_eeh_phb_diag()

2013-12-19 Thread Gavin Shan
On Fri, Dec 20, 2013 at 09:35:39AM +0800, Gavin Shan wrote: On Thu, Dec 19, 2013 at 05:14:07PM -0600, Brian W Hart wrote: PHB diagnostic buffer may be smaller than PAGE_SIZE, especially when PAGE_SIZE 4KB. I think you're talking about that PAGE_SIZE could be configured to have variable size

Re: [PATCH] powerpc: book3s: kvm: Use the saved dsisr and dar values

2013-12-19 Thread Aneesh Kumar K.V
Alexander Graf ag...@suse.de writes: Am 19.12.2013 um 08:02 schrieb Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com: Alexander Graf ag...@suse.de writes: On 11.11.2013, at 15:02, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: From: Aneesh Kumar K.V

[PATCH V4] powerpc/kernel/sysfs: cleanup set up macros for PMC/non-PMC SPRs

2013-12-19 Thread Madhavan Srinivasan
Currently PMC (Performance Monitor Counter) setup macros are used for other SPRs. Since not all SPRs are PMC related, this patch modifies the exisiting macro and uses it to setup both PMC and non PMC SPRs accordingly. V4 changes: 1) No logic changes, just rebase with upstream. V3 changes: 1) No

Re: [PATCH] powerpc: book3s: kvm: Use the saved dsisr and dar values

2013-12-19 Thread Alexander Graf
Am 20.12.2013 um 05:37 schrieb Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com: Alexander Graf ag...@suse.de writes: Am 19.12.2013 um 08:02 schrieb Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com: Alexander Graf ag...@suse.de writes: On 11.11.2013, at 15:02, Aneesh Kumar K.V

RE: [PATCH 4/5] powerpc/fsl-booke: Add initial T208x QDS board support

2013-12-19 Thread shengzhou....@freescale.com
-Original Message- From: Wood Scott-B07421 Sent: Wednesday, December 18, 2013 3:57 AM To: Liu Shengzhou-B36685 Cc: linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 4/5] powerpc/fsl-booke: Add initial T208x QDS board support On Wed, 2013-12-11 at 19:19 +0800, Shengzhou Liu

Re: [v3, 3/7] powerpc: enable the relocatable support for the fsl booke 32bit kernel

2013-12-19 Thread Kevin Hao
On Wed, Dec 18, 2013 at 05:48:25PM -0600, Scott Wood wrote: On Wed, Aug 07, 2013 at 09:18:31AM +0800, Kevin Hao wrote: This is based on the codes in the head_44x.S. The difference is that the init tlb size we used is 64M. With this patch we can only load the kernel at address between