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

2013-10-17 Thread Bhushan Bharat-R65777
-Original Message- From: Wang Dongsheng-B40534 Sent: Thursday, October 17, 2013 11:22 AM To: Bhushan Bharat-R65777; Wood Scott-B07421 Cc: linuxppc-dev@lists.ozlabs.org Subject: RE: [PATCH v5 4/4] powerpc/85xx: add sysfs for pw20 state and altivec idle -Original

[PATCH V2] powerpc: Fix 64K page size support for PPC44x

2013-10-17 Thread Alistair Popple
PPC44x supports page sizes other than 4K however when 64K page sizes are selected compilation fails. This is due to a change in the definition of pgtable_t introduced by the following patch: commit 5c1f6ee9a31cbdac90bbb8ae1ba4475031ac74b4 Author: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com

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

2013-10-17 Thread Wang Dongsheng-B40534
-Original Message- From: Bhushan Bharat-R65777 Sent: Thursday, October 17, 2013 2:00 PM To: Wang Dongsheng-B40534; Wood Scott-B07421 Cc: linuxppc-dev@lists.ozlabs.org Subject: RE: [PATCH v5 4/4] powerpc/85xx: add sysfs for pw20 state and altivec idle -Original

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

2013-10-17 Thread Bhushan Bharat-R65777
-Original Message- From: Wang Dongsheng-B40534 Sent: Thursday, October 17, 2013 11:22 AM To: Bhushan Bharat-R65777; Wood Scott-B07421 Cc: linuxppc-dev@lists.ozlabs.org Subject: RE: [PATCH v5 4/4] powerpc/85xx: add sysfs for pw20 state and altivec idle

[PATCH] powerpc/p1010rdb:update mtd of nand to adapt to both old and new p1010rdb

2013-10-17 Thread Zhao Qiang
P1010rdb-pa and p1010rdb-pb have different mtd of nand. So update dts to adapt to both p1010rdb-pa and p1010rdb-pb. Signed-off-by: Zhao Qiang b45...@freescale.com --- arch/powerpc/boot/dts/p1010rdb-pa.dts | 40 +++ arch/powerpc/boot/dts/p1010rdb-pa_36b.dts | 40

Re: [PATCH 1/2] tty/hvc_console: Add DTR/RTS callback to handle HUPCL control

2013-10-17 Thread Hendrik Brueckner
On Wed, Oct 16, 2013 at 06:21:12PM -0500, Benjamin Herrenschmidt wrote: On Wed, 2013-10-16 at 11:04 +0200, Hendrik Brueckner wrote: Indeed, two callbacks change the DTR line. The main difference is that tiocmget/tiocmset can be called from user space by ioctl. That's not the case for

Re: [PATCHv1 0/8] ALSA: Add SAI driver and enable SGT15000 codec.

2013-10-17 Thread Lothar Waßmann
Hi, Xiubo Li li.xi...@freescale.com wrote: The subject has a wrong name for the codec SGT1... instead of SGTL..., which will make it difficult to search for this thread in mail archives or in commit messages once this patches should be applied! Lothar Waßmann --

Re: [PATCH] powerpc/vio: Fix modalias_show return values

2013-10-17 Thread Prarit Bhargava
On 10/16/2013 11:53 PM, Ben Hutchings wrote: Commit e82b89a6f19bae73fb064d1b3dd91fcefbb478f4 introduces a trivial local denial of service. --- a/arch/powerpc/kernel/vio.c +++ b/arch/powerpc/kernel/vio.c @@ -1351,11 +1351,15 @@ static ssize_t modalias_show(struct devi const char *cp;

[PATCH] [PATCH] powerpc/vio: use strcpy in modalias_show

2013-10-17 Thread Prarit Bhargava
Commit e82b89a6f19bae73fb064d1b3dd91fcefbb478f4 used strcat instead of strcpy which can result in an overflow of newlines on the buffer. Signed-off-by: Prarit Bhargava Cc: b...@kernel.crashing.org Cc: b...@decadent.org.uk Cc: sta...@vger.kernel.org --- arch/powerpc/kernel/vio.c |4 ++-- 1

Re: [PATCHv1 1/8] ALSA: Add SAI SoC Digital Audio Interface driver.

2013-10-17 Thread Timur Tabi
Xiubo Li wrote: + res = platform_get_resource(pdev, IORESOURCE_MEM, 0); + sai-base = devm_ioremap_resource(pdev-dev, res); Why not use of_iomap()? ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org

powerpc: Fix little endian issue in OF PCI scan

2013-10-17 Thread Anton Blanchard
This issue was causing the QEMU emulated USB device to fail dring PCI probe. Signed-off-by: Anton Blanchard an...@samba.org --- diff --git a/arch/powerpc/kernel/pci_of_scan.c b/arch/powerpc/kernel/pci_of_scan.c index 4368ec6..ac0b034 100644 --- a/arch/powerpc/kernel/pci_of_scan.c +++

[PATCH] powerpc/pseries: Fix endian issues in pseries iommu code

2013-10-17 Thread Anton Blanchard
Signed-off-by: Anton Blanchard an...@samba.org --- diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c index 0307901..f253361 100644 --- a/arch/powerpc/platforms/pseries/iommu.c +++ b/arch/powerpc/platforms/pseries/iommu.c @@ -52,7 +52,7 @@

RE: [PATCH] [PATCH] powerpc/vio: use strcpy in modalias_show

2013-10-17 Thread David Laight
Commit e82b89a6f19bae73fb064d1b3dd91fcefbb478f4 used strcat instead of strcpy which can result in an overflow of newlines on the buffer. ... --- a/arch/powerpc/kernel/vio.c +++ b/arch/powerpc/kernel/vio.c @@ -1531,12 +1531,12 @@ static ssize_t modalias_show(struct device *dev, struct

Re: [PATCH] [PATCH] powerpc/vio: use strcpy in modalias_show

2013-10-17 Thread Prarit Bhargava
On 10/17/2013 08:22 AM, David Laight wrote: Commit e82b89a6f19bae73fb064d1b3dd91fcefbb478f4 used strcat instead of strcpy which can result in an overflow of newlines on the buffer. ... --- a/arch/powerpc/kernel/vio.c +++ b/arch/powerpc/kernel/vio.c @@ -1531,12 +1531,12 @@ static ssize_t

Re: [alsa-devel] [PATCHv1 1/8] ALSA: Add SAI SoC Digital Audio Interface driver.

2013-10-17 Thread Lars-Peter Clausen
On 10/17/2013 02:15 PM, Timur Tabi wrote: Xiubo Li wrote: +res = platform_get_resource(pdev, IORESOURCE_MEM, 0); +sai-base = devm_ioremap_resource(pdev-dev, res); Why not use of_iomap()? Because it won't check for conflicting resource regions. - Lars

Re: [alsa-devel] [PATCHv1 1/8] ALSA: Add SAI SoC Digital Audio Interface driver.

2013-10-17 Thread Timur Tabi
Lars-Peter Clausen wrote: +res = platform_get_resource(pdev, IORESOURCE_MEM, 0); +sai-base = devm_ioremap_resource(pdev-dev, res); Why not use of_iomap()? Because it won't check for conflicting resource regions. Maybe I've been out of the loop for too long, but why is that a

Re: [alsa-devel] [PATCHv1 1/8] ALSA: Add SAI SoC Digital Audio Interface driver.

2013-10-17 Thread Lars-Peter Clausen
On 10/17/2013 03:22 PM, Timur Tabi wrote: Lars-Peter Clausen wrote: +res = platform_get_resource(pdev, IORESOURCE_MEM, 0); +sai-base = devm_ioremap_resource(pdev-dev, res); Why not use of_iomap()? Because it won't check for conflicting resource regions. Maybe I've been out of the

RE: [4/4] powerpc/mpc8548: Add workaround for erratum NMG_SRIO135

2013-10-17 Thread Zhao Chenhui-B35336
OK. I will do. -Chenhui From: Wood Scott-B07421 Sent: Thursday, October 17, 2013 7:20 To: Zhao Chenhui-B35336 Cc: linuxppc-dev@lists.ozlabs.org Subject: Re: [4/4] powerpc/mpc8548: Add workaround for erratum NMG_SRIO135 On Tue, Mar 06, 2012 at 05:10:56PM

Re: [alsa-devel] [PATCHv1 1/8] ALSA: Add SAI SoC Digital Audio Interface driver.

2013-10-17 Thread Timur Tabi
Lars-Peter Clausen wrote: Maybe I've been out of the loop for too long, but why is that a particular problem with this driver? It is usually something you'd want to check in general to make sure that you don't have multiple device that access the same iomem region at the same time. I

RE: [PATCH 0/3 v2] iommu/fsl: PAMU driver fixes.

2013-10-17 Thread Sethi Varun-B16395
Hi Joerg, Please consider these patches for 3.12. Regards Varun -Original Message- From: Sethi Varun-B16395 Sent: Wednesday, October 16, 2013 4:53 PM To: j...@8bytes.org; io...@lists.linux-foundation.org; linuxppc- d...@lists.ozlabs.org; linux-ker...@vger.kernel.org; Yoder

Re: [alsa-devel] [PATCHv1 1/8] ALSA: Add SAI SoC Digital Audio Interface driver.

2013-10-17 Thread Lars-Peter Clausen
On 10/17/2013 03:37 PM, Timur Tabi wrote: Lars-Peter Clausen wrote: Maybe I've been out of the loop for too long, but why is that a particular problem with this driver? It is usually something you'd want to check in general to make sure that you don't have multiple device that access the

Re: [alsa-devel] [PATCHv1 1/8] ALSA: Add SAI SoC Digital Audio Interface driver.

2013-10-17 Thread Mark Brown
On Thu, Oct 17, 2013 at 03:51:54PM +0200, Lars-Peter Clausen wrote: On 10/17/2013 03:37 PM, Timur Tabi wrote: I understand that, but I'm trying to figure out why of_iomap() is okay for hundreds of other drivers, but not this one. I've used it dozens of times myself, without ever worrying

Re: IBM OpenPower 720 ipr driver woes

2013-10-17 Thread Robert Knight
On 06/06/2013 08:24 PM, Gavin Shan wrote: On Thu, Jun 06, 2013 at 08:39:45AM -0400, Robert Knight wrote: On 06/06/2013 07:32 AM, Brian King wrote: On 06/05/2013 04:14 PM, Robert Knight wrote: On 6/3/2013 11:52 PM, Gavin Shan wrote: On Tue, Jun 04, 2013 at 01:16:52PM +1000, Tony Breeds wrote:

Re: [PATCH v5] powerpc/mpc85xx: Update the clock nodes in device tree

2013-10-17 Thread Scott Wood
On Wed, 2013-10-16 at 21:08 -0500, Tang Yuantian-B29983 wrote: That shows the dividers as being somewhere in between the PLL and the MUX. The MUX is where the divider is selected. There's nothing in the PLL's programming interface that relates to the dividers. As such it's

Re: [PATCH -V2 00/14] Allow PR and HV KVM to coexist in one kernel

2013-10-17 Thread Alexander Graf
On 07.10.2013, at 18:47, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: Hi All, This patch series support enabling HV and PR KVM together in the same kernel. We extend machine property with new property kvm_type. A value of HV will force HV KVM and PR PR KVM. If we don't

Re: [PATCH -V2 06/14] kvm: powerpc: booke: Convert BOOKE to use kvmppc_ops callbacks

2013-10-17 Thread Alexander Graf
On 07.10.2013, at 18:47, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com Make required changes to get BOOKE configs to build with the introduction of kvmppc_ops callback Signed-off-by: Aneesh Kumar K.V

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

2013-10-17 Thread Scott Wood
On Thu, 2013-10-17 at 00:51 -0500, Wang Dongsheng-B40534 wrote: -Original Message- From: Bhushan Bharat-R65777 Sent: Thursday, October 17, 2013 11:20 AM To: Wang Dongsheng-B40534; Wood Scott-B07421 Cc: linuxppc-dev@lists.ozlabs.org Subject: RE: [PATCH v5 4/4] powerpc/85xx:

Re: [PATCH 02/10][v6] powerpc/Power7: detect load/store instructions

2013-10-17 Thread Sukadev Bhattiprolu
| | How about I add this to the function header ? | | * Please use the table in Appendix F (opcode maps) to determine | * events selected by this function. Here is the updated patch with the comment. --- From 38d1f9ac67a7f50db593e5875a8de6a2ecbea8e0 Mon Sep 17 00:00:00 2001 From: Sukadev

Re: [alsa-devel] [PATCHv1 1/8] ALSA: Add SAI SoC Digital Audio Interface driver.

2013-10-17 Thread Lars-Peter Clausen
On 10/17/2013 11:01 AM, Xiubo Li wrote: [...] +static int fsl_sai_hw_params(struct snd_pcm_substream *substream, + struct snd_pcm_hw_params *params, + struct snd_soc_dai *cpu_dai) +{ + int ret; + + ret = fsl_sai_hw_params_tr(substream, params, cpu_dai, +

Re: [PATCH 5/7] jump_label: relax branch hinting restrictions

2013-10-17 Thread Steven Rostedt
On Thu, 17 Oct 2013 12:10:28 +0200 Radim Krčmář rkrc...@redhat.com wrote: We implemented the optimized branch selection in higher levels of api. That made static_keys very unintuitive, so this patch introduces another element to jump_table, carrying one bit that tells the underlying code

RE: [PATCH v5] powerpc/mpc85xx: Update the clock nodes in device tree

2013-10-17 Thread Tang Yuantian-B29983
On Wed, 2013-10-16 at 21:08 -0500, Tang Yuantian-B29983 wrote: That shows the dividers as being somewhere in between the PLL and the MUX. The MUX is where the divider is selected. There's nothing in the PLL's programming interface that relates to the dividers. As such

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

2013-10-17 Thread Wang Dongsheng-B40534
-Original Message- From: Wood Scott-B07421 Sent: Friday, October 18, 2013 12:52 AM To: Wang Dongsheng-B40534 Cc: Bhushan Bharat-R65777; Wood Scott-B07421; linuxppc- d...@lists.ozlabs.org Subject: Re: [PATCH v5 4/4] powerpc/85xx: add sysfs for pw20 state and altivec idle On

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

2013-10-17 Thread Wang Dongsheng-B40534
-Original Message- From: Bhushan Bharat-R65777 Sent: Thursday, October 17, 2013 2:46 PM To: Wang Dongsheng-B40534; Wood Scott-B07421 Cc: linuxppc-dev@lists.ozlabs.org Subject: RE: [PATCH v5 4/4] powerpc/85xx: add sysfs for pw20 state and altivec idle -Original

Re: [PATCH -V2 06/14] kvm: powerpc: booke: Convert BOOKE to use kvmppc_ops callbacks

2013-10-17 Thread Aneesh Kumar K.V
Alexander Graf ag...@suse.de writes: On 07.10.2013, at 18:47, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com Make required changes to get BOOKE configs to build with the introduction of kvmppc_ops callback Signed-off-by: