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 writes: > On 07.10.2013, at 18:47, Aneesh Kumar K.V > wrote: > >> From: "Aneesh Kumar K.V" >> >> Make required changes to get BOOKE configs to build with >> the introduction of kvmppc_ops callback >> >> Signed-off-by: Aneesh Kumar K.V > > This can not be a separate commit, as

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 > > > > > > > -Or

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 >

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

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ář 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 > which branch to opt

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 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 Bha

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] powe

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 wrote: > From: "Aneesh Kumar K.V" > > Make required changes to get BOOKE configs to build with > the introduction of kvmppc_ops callback > > Signed-off-by: Aneesh Kumar K.V This can not be a separate commit, as you're breaking bisectability for boo

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 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 specify kvm_type we wil

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

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: [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 wor

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

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 Stuar

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 under

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 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. > >

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 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: [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

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 d

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

2013-10-17 Thread Anton Blanchard
Signed-off-by: Anton Blanchard --- 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 @@ static void tce_inva

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 --- 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 +++ b/arch/powerpc/ke

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 https://lists.ozlabs.org/list

[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 fil

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

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

2013-10-17 Thread Lothar Waßmann
Hi, Xiubo Li 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 -- _

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

2013-10-17 Thread Radim Krčmář
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 which branch to optimize. It is now possible to select optimized branch for every j

Re: [PATCHv1 5/8] ASoC: sgtl5000: Revise the bugs about the sgt15000 codec.

2013-10-17 Thread Lothar Waßmann
Hi, Xiubo Li wrote: > When the CONFIG_REGULATOR is disabled there will be some warnings > printed out. > > Signed-off-by: Xiubo Li > --- > sound/soc/codecs/sgtl5000.c | 13 - > 1 file changed, 12 insertions(+), 1 deletion(-) > > diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc

Re: [PATCHv1 5/8] ASoC: sgtl5000: Revise the bugs about the sgt15000 codec.

2013-10-17 Thread Nicolin Chen
Hi, On Thu, Oct 17, 2013 at 05:01:14PM +0800, Xiubo Li wrote: > When the CONFIG_REGULATOR is disabled there will be some warnings > printed out. A little confused by the title. But after looking at the comments, is the patch just gonna add some debug info for the case when the CONFIG_REGULATOR's

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

2013-10-17 Thread Lothar Waßmann
Hi, Xiubo Li wrote: [...] > diff --git a/sound/soc/fsl/fsl-pcm-dma.c b/sound/soc/fsl/fsl-pcm-dma.c > new file mode 100644 > index 000..c4d925e > --- /dev/null > +++ b/sound/soc/fsl/fsl-pcm-dma.c > @@ -0,0 +1,51 @@ [...] > + > +static int fsl_sai_probe(struct platform_device *pdev) > +{ > +

Re: [PATCH] ASoC: fsl_ssi: Fix irq_of_parse_and_map() return value check

2013-10-17 Thread Mark Brown
On Wed, Oct 16, 2013 at 06:57:53PM -0700, Guenter Roeck wrote: > do you plan to send this patch upstream anytime soon ? It'll go next time I send stuff if it hasn't already. signature.asc Description: Digital signature ___ Linuxppc-dev mailing list Li

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 >

[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 --- arch/powerpc/boot/dts/p1010rdb-pa.dts | 40 +++ arch/powerpc/boot/dts/p1010rdb-pa_36b.dts | 40 +++