[RFC PATCH powerpc 1/2] fix using page adddress as the page stucture pointer in __pte_free_tlb()

2013-12-02 Thread Li Zhong
It seems that in __pte_free_tlb (non 64K page code path), we wrongly pass the page address as the page structure pointer to pgtable_page_dtor(), which needs the page structure pointer as the argument. The change also fixes following bug on next-1128: [0.563113] Unable to handle kernel paging

[RFC PATCH powerpc 2/2] adjust the variable type and name in __pte_free_tlb()

2013-12-02 Thread Li Zhong
The patch adjusts the variable type and name for page in __pte_free_tlb(), which now seems a little confusing. Signed-off-by: Li Zhong --- arch/powerpc/include/asm/pgalloc-64.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/include/asm/pgalloc-64.h b/a

[PATCH] powerpc: fix xmon disassembler for little-endian

2013-12-02 Thread Philippe Bergheaud
This patch fixes the disassembler of the powerpc kernel debugger xmon, for little-endian. Signed-off-by: Philippe Bergheaud --- arch/powerpc/xmon/xmon.c |4 1 file changed, 4 insertions(+) diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c index af9d346..6c27804 100644 --

Re: [PATCH v6 02/17] dts: mpc512x: introduce dt-bindings/clock/ header

2013-12-02 Thread Mark Rutland
On Sat, Nov 30, 2013 at 10:51:22PM +, Gerhard Sittig wrote: > introduce a dt-bindings/ header file for MPC512x clocks, > providing symbolic identifiers for those SoC clocks which > clients will reference from their device tree nodes There should be a binding document update to go with this, po

Re: [PATCH v6 08/17] spi: mpc512x: adjust to OF based clock lookup

2013-12-02 Thread Mark Rutland
On Sat, Nov 30, 2013 at 10:51:28PM +, Gerhard Sittig wrote: > after device tree based clock lookup became available, the peripheral > driver need no longer construct clock names which include the PSC index, > remove the "psc%d_mclk" template and unconditionally use 'mclk' > > acquire and relea

Re: ping: re: [PATCH 1/1] kernel code that do not handle NULL return of kmem_cache_zalloc

2013-12-02 Thread Alexander Graf
On 02.12.2013, at 04:07, Zhouyi Zhou wrote: > ping >> I do a grep for kmem_cache_zalloc and kmem_cache_alloc >> in kernel tree, and find some code do not handle NULL >> return of kmem_cache_zalloc correctly >> >> >> Signed-off-by: Zhouyi Zhou Thanks a lot for the patch. I'd assume we w

Re: 3.13 Oops on ppc64_cpu --smt=off

2013-12-02 Thread Alexander Graf
On 02.12.2013, at 05:01, Preeti U Murthy wrote: > Hi, > > On 11/30/2013 11:15 PM, Alexander Graf wrote: >> Hi Ben, >> >> With current linus master (3.13-rc2+) I'm facing an interesting issue with > > SMT disabling on p7. When I trigger the cpu offlining it works as expected, > but after a few

Re: 3.13 Oops on ppc64_cpu --smt=off

2013-12-02 Thread Preeti U Murthy
Hi, On 12/02/2013 03:27 PM, Alexander Graf wrote: > > On 02.12.2013, at 05:01, Preeti U Murthy wrote: > >> Hi, >> >> On 11/30/2013 11:15 PM, Alexander Graf wrote: >>> Hi Ben, >>> >>> With current linus master (3.13-rc2+) I'm facing an interesting issue with >> >> SMT disabling on p7. When I tri

Re: [PATCH] watchdog: mpc8xxx_wdt convert to watchdog core

2013-12-02 Thread leroy christophe
Le 01/12/2013 20:38, Guenter Roeck a écrit : On 11/30/2013 07:33 AM, Christophe Leroy wrote: Convert mpc8xxx_wdt.c to the new watchdog API. Signed-off-by: Christophe Leroy diff -ur a/drivers/watchdog/mpc8xxx_wdt.c b/drivers/watchdog/mpc8xxx_wdt.c --- a/drivers/watchdog/mpc8xxx_wdt.c2013

Re: [PATCH v6 08/17] spi: mpc512x: adjust to OF based clock lookup

2013-12-02 Thread Mark Brown
On Sat, Nov 30, 2013 at 11:51:28PM +0100, Gerhard Sittig wrote: > after device tree based clock lookup became available, the peripheral > driver need no longer construct clock names which include the PSC index, > remove the "psc%d_mclk" template and unconditionally use 'mclk' > > acquire and relea

Re: [PATCH v2] ASoC: fsl_ssi: Add monaural audio support for non-ac97 interface

2013-12-02 Thread Mark Brown
On Sat, Nov 16, 2013 at 12:25:29AM +0800, Nicolin Chen wrote: > The normal mode of SSI allows it to send/receive data to/from the first > slot of each period. So we can use this normal mode to trick I2S signal > by puting/getting data to/from the first slot only (the left channel) > so as to suppor

Re: [PATCH] powerpc: fix xmon disassembler for little-endian

2013-12-02 Thread Tom Musta
On 12/2/2013 3:10 AM, Philippe Bergheaud wrote: > This patch fixes the disassembler of the powerpc kernel debugger xmon, > for little-endian. > > Signed-off-by: Philippe Bergheaud > --- > arch/powerpc/xmon/xmon.c |4 > 1 file changed, 4 insertions(+) > > diff --git a/arch/powerpc/xmon/

Re: [PATCH v6 02/17] dts: mpc512x: introduce dt-bindings/clock/ header

2013-12-02 Thread Gerhard Sittig
On Mon, Dec 02, 2013 at 09:46 +, Mark Rutland wrote: > > On Sat, Nov 30, 2013 at 10:51:22PM +, Gerhard Sittig wrote: > > introduce a dt-bindings/ header file for MPC512x clocks, > > providing symbolic identifiers for those SoC clocks which > > clients will reference from their device tree

Re: [PATCH V4 7/9] cpuidle/powernv: Add "Fast-Sleep" CPU idle state

2013-12-02 Thread Preeti U Murthy
Hi Thomas, On 11/29/2013 08:09 PM, Thomas Gleixner wrote: > On Fri, 29 Nov 2013, Preeti U Murthy wrote: >> +static enum hrtimer_restart handle_broadcast(struct hrtimer *hrtimer) >> +{ >> +struct clock_event_device *bc_evt = &bc_timer; >> +ktime_t interval, next_bc_tick, now; >> + >> +n

Re: [PATCH v6 08/17] spi: mpc512x: adjust to OF based clock lookup

2013-12-02 Thread Gerhard Sittig
On Mon, Dec 02, 2013 at 09:50 +, Mark Rutland wrote: > > On Sat, Nov 30, 2013 at 10:51:28PM +, Gerhard Sittig wrote: > > after device tree based clock lookup became available, the peripheral > > driver need no longer construct clock names which include the PSC index, > > remove the "psc%d_

Re: [PATCH v2] ASoC: fsl_ssi: Add monaural audio support for non-ac97 interface

2013-12-02 Thread Nicolin Chen
On Mon, Dec 02, 2013 at 11:56:17AM +, Mark Brown wrote: > On Sat, Nov 16, 2013 at 12:25:29AM +0800, Nicolin Chen wrote: > > The normal mode of SSI allows it to send/receive data to/from the first > > slot of each period. So we can use this normal mode to trick I2S signal > > by puting/getting d

[PATCH v3] ASoC: fsl_ssi: Add monaural audio support for non-ac97 interface

2013-12-02 Thread Nicolin Chen
The normal mode of SSI allows it to send/receive data to/from the first slot of each period. So we can use this normal mode to trick I2S signal by puting/getting data to/from the first slot only (the left channel) so as to support monaural audio playback and recording. Signed-off-by: Nicolin Chen

Re: [PATCH] watchdog: mpc8xxx_wdt: MPC8xx is HW enabled

2013-12-02 Thread Guenter Roeck
On Sat, Nov 30, 2013 at 04:45:40PM +0100, Christophe Leroy wrote: > MPC8xx watchdog is enabled at startup by HW. > If the bootloader disables it, it cannot be reenabled. > > Signed-off-by: Christophe Leroy > Reviewed-by: Guenter Roeck > diff -ur a/drivers/watchdog/mpc8xxx_wdt.c b/drivers/watch

Re: [PATCH V4 6/9] cpuidle/ppc: Add basic infrastructure to enable the broadcast framework on ppc

2013-12-02 Thread Preeti U Murthy
Hi Thomas, On 11/29/2013 05:28 PM, Thomas Gleixner wrote: > On Fri, 29 Nov 2013, Preeti U Murthy wrote: >> diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig >> index b44b52c..cafa788 100644 >> --- a/arch/powerpc/Kconfig >> +++ b/arch/powerpc/Kconfig >> @@ -129,6 +129,8 @@ config PPC >>

Re: [PATCH] watchdog: mpc8xxx_wdt convert to watchdog core

2013-12-02 Thread Guenter Roeck
On Mon, Dec 02, 2013 at 11:31:01AM +0100, leroy christophe wrote: > > Le 01/12/2013 20:38, Guenter Roeck a écrit : > >On 11/30/2013 07:33 AM, Christophe Leroy wrote: > >>Convert mpc8xxx_wdt.c to the new watchdog API. > >> > >>Signed-off-by: Christophe Leroy > >> > >>diff -ur a/drivers/watchdog/mp

Re: [PATCH v3] ASoC: fsl_ssi: Add monaural audio support for non-ac97 interface

2013-12-02 Thread Mark Brown
On Mon, Dec 02, 2013 at 11:29:03PM +0800, Nicolin Chen wrote: > The normal mode of SSI allows it to send/receive data to/from the first > slot of each period. So we can use this normal mode to trick I2S signal > by puting/getting data to/from the first slot only (the left channel) > so as to suppor

Re: [PATCH V4 7/9] cpuidle/powernv: Add "Fast-Sleep" CPU idle state

2013-12-02 Thread Thomas Gleixner
On Mon, 2 Dec 2013, Preeti U Murthy wrote: > On 11/29/2013 08:09 PM, Thomas Gleixner wrote: > > This supports HIGHRES and NO_HZ if done right, without polling at > > all. So you can even let the last CPU which handles the broadcast > > hrtimer go for a long sleep, just not in the deepest idle state

Re: [PATCH 2/3 v2] iommu/fsl: Enable default DMA window for PCIe devices

2013-12-02 Thread Alex Williamson
On Wed, 2013-10-16 at 16:53 +0530, Varun Sethi wrote: > Once the PCIe device assigned to a guest VM (via VFIO) gets detached from the > iommu domain > (when guest terminates), its PAMU table entry is disabled. So, this would > prevent the device > from being used once it's assigned back to the ho

Re: [PATCH 1/3 v2] iommu/fsl: Factor out PCI specific code.

2013-12-02 Thread Alex Williamson
On Wed, 2013-10-16 at 16:53 +0530, Varun Sethi wrote: > Factor out PCI specific code in the PAMU driver. > > Signed-off-by: Varun Sethi > --- > drivers/iommu/fsl_pamu_domain.c | 88 > +++ > 1 file changed, 43 insertions(+), 45 deletions(-) > > diff --git a

[PATCH] powerpc/defconfig: Enable ath9k wireless card support

2013-12-02 Thread Chunhe Lan
On the P1023RDB, when board leaves the factory, it has two Atheros wireless cards on the PCIe slot. So enable ath9k wireless driver support. Signed-off-by: Chunhe Lan Cc: Scott Wood --- arch/powerpc/configs/85xx/p1023_defconfig |5 + 1 files changed, 5 insertions(+), 0 deletions(-) dif