Re: [PATCH] powerpc/85xx: don't init the mpic ipi for the SoC which has doorbell support

2013-11-08 Thread Kevin Hao
On Fri, Nov 08, 2013 at 03:16:12PM -0600, Scott Wood wrote: > OK... Why are you splitting out smp_85xx_basic_setup()? In the current implementation of smp_85xx_setup_cpu(), we only invoke the function mpic_setup_this_cpu() when the smp_85xx_ops.probe is set to smp_mpic_probe(). So if we set smp_

[PATCH] powerpc/85xx: Merge 85xx/p1023_defconfig into mpc85xx_smp_defconfig and mpc85xx_defconfig

2013-11-08 Thread Lijun Pan
mpc85xx_smp_defconfig and mpc85xx_defconfig already have CONFIG_P1023RDS=y. Merge CONFIG_P1023RDB=y and other relevant configurations into mpc85xx_smp_defconfig and mpc85_defconfig. Signed-off-by: Lijun Pan --- arch/powerpc/configs/85xx/p1023_defconfig | 188 arch

Re: [PATCH v4 0/4] Add dual-fifo mode support of i.MX ssi

2013-11-08 Thread Guangyu Chen
Oh, I am sorry about that. I will follow the rule next time. Thank you. Sent by Android device. Mark Brown wrote: On Fri, Nov 08, 2013 at 07:29:20PM +0800, Nicolin Chen wrote: > Sorry all, I mistook the version number. It should be version 5. > Please ignore this series version. There is

Re: [PATCH] powerpc/85xx: don't init the mpic ipi for the SoC which has doorbell support

2013-11-08 Thread Scott Wood
On Fri, 2013-11-08 at 09:54 +0800, Kevin Hao wrote: > On Thu, Nov 07, 2013 at 11:34:51AM -0600, Scott Wood wrote: > > On Thu, 2013-11-07 at 15:17 +0800, Kevin Hao wrote: > > > It makes no sense to initialize the mpic ipi for the SoC which has > > > doorbell support. So set the smp_85xx_ops.probe to

Re: [PATCH v5 3/4] ASoC: fsl_ssi: Add dual fifo mode support

2013-11-08 Thread Mark Brown
On Fri, Nov 08, 2013 at 07:32:53PM +0800, Nicolin Chen wrote: > By enabling dual fifo mode, it would allow SSI enter a better performance > to transimit/receive data without occasional hardware underrun/overrun. Acked-by: Mark Brown signature.asc Description: Digital signature _

Re: [PATCH v4 0/4] Add dual-fifo mode support of i.MX ssi

2013-11-08 Thread Mark Brown
On Fri, Nov 08, 2013 at 07:29:20PM +0800, Nicolin Chen wrote: > Sorry all, I mistook the version number. It should be version 5. > Please ignore this series version. There is no need to resend for things like getting the version number wrong in the subject line, that's just noise. Please only r

[PATCH v5 4/4] ARM: dts: imx: use dual-fifo sdma script for ssi

2013-11-08 Thread Nicolin Chen
Use dual-fifo sdma scripts instead of shared scripts for ssi on i.MX series. Signed-off-by: Nicolin Chen --- arch/arm/boot/dts/imx51.dtsi | 4 ++-- arch/arm/boot/dts/imx53.dtsi | 4 ++-- arch/arm/boot/dts/imx6qdl.dtsi | 12 ++-- arch/arm/boot/dts/imx6sl.dtsi | 12 ++-- 4 f

[PATCH v5 3/4] ASoC: fsl_ssi: Add dual fifo mode support

2013-11-08 Thread Nicolin Chen
By enabling dual fifo mode, it would allow SSI enter a better performance to transimit/receive data without occasional hardware underrun/overrun. Signed-off-by: Nicolin Chen --- sound/soc/fsl/fsl_ssi.c | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git

[PATCH v5 2/4] dma: imx-sdma: Add new dma type for ssi dual fifo script

2013-11-08 Thread Nicolin Chen
This patch adds a new DMA_TYPE for SSI dual FIFO script, included in SDMA firmware version 2. This script would allow SSI use dual fifo mode to transimit/receive data without occasional hardware underrun/overrun. Signed-off-by: Nicolin Chen --- Documentation/devicetree/bindings/dma/fsl-imx-sdma.

[PATCH v5 1/4] dma: imx-sdma: Add sdma firmware version 2 support

2013-11-08 Thread Nicolin Chen
On i.MX5/6 series, SDMA is using new version firmware to support SSI dual FIFO feature and HDMI Audio (i.MX6Q/DL only). Thus add it. Signed-off-by: Nicolin Chen --- drivers/dma/imx-sdma.c | 15 ++- include/linux/platform_data/dma-imx-sdma.h | 5 + 2 files cha

[PATCH v5 0/4] Add dual-fifo mode support of i.MX ssi

2013-11-08 Thread Nicolin Chen
* ! This series of patches has a direct dependency between them. When * ! applying them, we need to apply to one single branch. Otherwise, * ! it would break currect branches. Changelog v5: * PATCH-3: Add period size constraint when using dual fifo mode * * Nothing changes for the other thre

Re: [PATCH v4 0/4] Add dual-fifo mode support of i.MX ssi

2013-11-08 Thread Nicolin Chen
On Fri, Nov 08, 2013 at 06:49:32PM +0800, Nicolin Chen wrote: > * ! This series of patches has a direct dependency between them. When > * ! applying them, we need to apply to one single branch. Otherwise, > * ! it would break currect branches. > > Changelog > v4: > * PATCH-3: Add period size c

Re: [PATCH] powerpc: kvm: optimize "sc 0" as fast return

2013-11-08 Thread Paul Mackerras
On Fri, Nov 08, 2013 at 10:44:16AM +0800, Liu Ping Fan wrote: > syscall is a very common behavior inside guest, and this patch > optimizes the path for the emulation of BOOK3S_INTERRUPT_SYSCALL, > so hypervisor can return to guest without heavy exit, i.e, no need > to swap TLB, HTAB,.. etc Many in

Re: [PATCH v3 0/2] powerpc kvm: fix deadlock scene

2013-11-08 Thread Paul Mackerras
On Fri, Nov 08, 2013 at 03:29:52PM +0800, Liu Ping Fan wrote: > v2->v3: > introduce kvmppc_hv_unlock_hpte() to pair with kvmppc_hv_find_lock_hpte() > and hide the preemption detail inside this pair from the callers Actually, I preferred v2. This version seems a bit over-engineered. Making a

[PATCH v4 4/4] ARM: dts: imx: use dual-fifo sdma script for ssi

2013-11-08 Thread Nicolin Chen
Use dual-fifo sdma scripts instead of shared scripts for ssi on i.MX series. Signed-off-by: Nicolin Chen --- arch/arm/boot/dts/imx51.dtsi | 4 ++-- arch/arm/boot/dts/imx53.dtsi | 4 ++-- arch/arm/boot/dts/imx6qdl.dtsi | 12 ++-- arch/arm/boot/dts/imx6sl.dtsi | 12 ++-- 4 f

[PATCH v4 3/4] ASoC: fsl_ssi: Add dual fifo mode support

2013-11-08 Thread Nicolin Chen
By enabling dual fifo mode, it would allow SSI enter a better performance to transimit/receive data without occasional hardware underrun/overrun. Signed-off-by: Nicolin Chen --- sound/soc/fsl/fsl_ssi.c | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git

[PATCH v4 2/4] dma: imx-sdma: Add new dma type for ssi dual fifo script

2013-11-08 Thread Nicolin Chen
This patch adds a new DMA_TYPE for SSI dual FIFO script, included in SDMA firmware version 2. This script would allow SSI use dual fifo mode to transimit/receive data without occasional hardware underrun/overrun. Signed-off-by: Nicolin Chen --- Documentation/devicetree/bindings/dma/fsl-imx-sdma.

[PATCH v4 1/4] dma: imx-sdma: Add sdma firmware version 2 support

2013-11-08 Thread Nicolin Chen
On i.MX5/6 series, SDMA is using new version firmware to support SSI dual FIFO feature and HDMI Audio (i.MX6Q/DL only). Thus add it. Signed-off-by: Nicolin Chen --- drivers/dma/imx-sdma.c | 15 ++- include/linux/platform_data/dma-imx-sdma.h | 5 + 2 files cha

[PATCH v4 0/4] Add dual-fifo mode support of i.MX ssi

2013-11-08 Thread Nicolin Chen
* ! This series of patches has a direct dependency between them. When * ! applying them, we need to apply to one single branch. Otherwise, * ! it would break currect branches. Changelog v4: * PATCH-3: Add period size constraint when using dual fifo mode * * Nothing changes for PATCH-1, PATCH

BookE "branch taken" behavior vis-a-vis updating the NIP register

2013-11-08 Thread pegasus
Hello. I was reading the source code for the debug exception under powerpc. I saw that BookE processors stop before (actually) taking a branch. Hence in order to force it to take that branch and then stop, the source code for it had to be "hacked' to (temporarily) enable single step until the bra

Re: [PATCH] powerpc: kvm: optimize "sc 0" as fast return

2013-11-08 Thread Liu ping fan
On Fri, Nov 8, 2013 at 12:19 PM, Liu ping fan wrote: > On Fri, Nov 8, 2013 at 11:10 AM, Alexander Graf wrote: >> >> On 08.11.2013, at 03:44, Liu Ping Fan wrote: >> >>> syscall is a very common behavior inside guest, and this patch >>> optimizes the path for the emulation of BOOK3S_INTERRUPT_SYSC