Re: [PATCH for 3.9] powerpc/ps3: Update ps3_defconfig

2013-03-29 Thread Geoff Levand
Hi Ben, It would be nice if I could get this in for 3.9. Did you miss it? Thanks. -Geoff On Mon, 2013-03-18 at 18:11 -0700, Geoff Levand wrote: > Refresh and set CONFIG_RD_LZMA=y. > > Signed-off-by: Geoff Levand > --- > Hi Ben, > > This sets CONFIG_RD_LZMA=y, which is needed to boot with >

Re: [PATCH V2] powerpc/MPIC: Add get_version API both for internal and external use

2013-03-29 Thread Scott Wood
On 03/29/2013 04:51:59 PM, Scott Wood wrote: On 03/26/2013 12:28:10 AM, Jia Hongtao wrote: diff --git a/arch/powerpc/sysdev/mpic.c b/arch/powerpc/sysdev/mpic.c index d30e6a6..c893a4b 100644 --- a/arch/powerpc/sysdev/mpic.c +++ b/arch/powerpc/sysdev/mpic.c @@ -1165,10 +1165,27 @@ static struct ir

Re: [PATCH 2/2] powerpc/85xx: workaround for chips with MSI hardware errata

2013-03-29 Thread Scott Wood
On 03/25/2013 10:28:47 PM, Jia Hongtao wrote: The MPIC version 2.0 has a MSI errata (errata PIC1 of mpc8544), It causes that neither MSI nor MSI-X can work fine. This is a workaround to allow MSI-X to function properly. Signed-off-by: Liu Shuo Signed-off-by: Li Yang Signed-off-by: Jia Hong

Re: [PATCH V2] powerpc/MPIC: Add get_version API both for internal and external use

2013-03-29 Thread Scott Wood
On 03/26/2013 12:28:10 AM, Jia Hongtao wrote: MPIC version is useful information for both mpic_alloc() and mpic_init(). The patch provide an API to get MPIC version for reusing the code. Also, some other IP block may need MPIC version for their own use. The API for external use is also provided

[PATCH] powerpc: Fix typo "CONFIG_ICSWX_PID"

2013-03-29 Thread Paul Bolle
Signed-off-by: Paul Bolle --- Untested. As this typo was introduced in v3.3, with commit 9d670280908013004f173b2b86414d9b6918511b ("powerpc: Split ICSWX ACOP and PID processing"), which actually added PPC_ICSWX_PID, this surely needs testing. arch/powerpc/mm/icswx.c | 2 +- 1 file changed, 1 ins

Re: [PATCH V4] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-03-29 Thread Scott Wood
On 03/29/2013 03:03:51 AM, Jia Hongtao-B38951 wrote: > -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, March 16, 2013 12:35 AM > To: Jia Hongtao-B38951 > Cc: Wood Scott-B07421; David Laight; linuxppc-dev@lists.ozlabs.org; > Stuart Yoder > Subject: Re: [PATCH V4] powerpc/8

Re: weird elf header issues, is it binutils or my linker script?

2013-03-29 Thread Segher Boessenkool
PHDRS { headers PT_PHDR PHDRS ; interp PT_INTERP ; } SECTIONS { /* Read-only sections, merged into text segment: */ PROVIDE (__executable_start = 0xf200); . = 0xf200 + SIZEOF_HEADERS; .interp : { *(.interp) } :text :interp } So I'm wondering...is this something wro

[RFC PATCH v2 5/6] powerpc: select HAVE_CONTEXT_TRACKING for pSeries

2013-03-29 Thread Li Zhong
Start context tracking support from pSeries. Signed-off-by: Li Zhong --- arch/powerpc/platforms/pseries/Kconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/pseries/Kconfig b/arch/powerpc/platforms/pseries/Kconfig index 9a0941b..023b288 100644 --- a/arch/powerpc

[RFC PATCH v2 6/6] powerpc: Use generic code for exception handling

2013-03-29 Thread Li Zhong
After the exception handling moved to generic code, and some changes in following two commits: 56dd9470d7c8734f055da2a6bac553caf4a468eb context_tracking: Move exception handling to generic code 6c1e0256fad84a843d915414e4b5973b7443d48d context_tracking: Restore correct previous context state on

[RFC PATCH v2 4/6] powerpc: Use the new schedule_user API on userspace preemption

2013-03-29 Thread Li Zhong
This patch corresponds to [PATCH] x86: Use the new schedule_user API on userspace preemption commit 0430499ce9d78691f3985962021b16bf8f8a8048 Signed-off-by: Li Zhong --- arch/powerpc/include/asm/context_tracking.h | 11 +++ arch/powerpc/kernel/entry_64.S |3 ++- 2 fil

[RFC PATCH v2 3/6] powerpc: Exit user context on notify resume

2013-03-29 Thread Li Zhong
This patch allows RCU usage in do_notify_resume, e.g. signal handling. It corresponds to [PATCH] x86: Exit RCU extended QS on notify resume commit edf55fda35c7dc7f2d9241c3abaddaf759b457c6 Signed-off-by: Li Zhong --- arch/powerpc/kernel/signal.c |5 + 1 file changed, 5 insertions(+) di

[RFC PATCH v2 2/6] powerpc: Exception hooks for context tracking subsystem

2013-03-29 Thread Li Zhong
This is the exception hooks for context tracking subsystem, including data access, program check, single step, instruction breakpoint, machine check, alignment, fp unavailable, altivec assist, unknown exception, whose handlers might use RCU. This patch corresponds to [PATCH] x86: Exception hooks f

[RFC PATCH v2 1/6] powerpc: Syscall hooks for context tracking subsystem

2013-03-29 Thread Li Zhong
This is the syscall slow path hooks for context tracking subsystem, corresponding to [PATCH] x86: Syscall hooks for userspace RCU extended QS commit bf5a3c13b939813d28ce26c01425054c740d6731 TIF_MEMDIE is moved to the second 16-bits (with value 17), as it seems there is no asm code using it. TIF_

[RFC PATCH v2 0/6] powerpc: Support context tracking for Power pSeries

2013-03-29 Thread Li Zhong
These patches try to support context tracking for Power arch, beginning with 64-bit pSeries. The codes are ported from that of the x86_64, and in each patch, I listed the corresponding patch for x86. Would you please help review and give your comments? v2: I rebased the patches against 3.9-rcs,

RE: [PATCH 1/4] Device tree entry for Freescale TDM controller

2013-03-29 Thread Singh Sandeep-B37400
A gentle reminder. Any comments are appreciated. Regards, Sandeep > -Original Message- > From: Linuxppc-dev [mailto:linuxppc-dev- > bounces+sandeep=freescale@lists.ozlabs.org] On Behalf Of Singh > Sandeep-B37400 > Sent: Wednesday, March 20, 2013 4:22 PM > To: linuxppc-dev@lists.ozlabs

RE: [PATCH V4] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-03-29 Thread Jia Hongtao-B38951
> -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, March 16, 2013 12:35 AM > To: Jia Hongtao-B38951 > Cc: Wood Scott-B07421; David Laight; linuxppc-dev@lists.ozlabs.org; > Stuart Yoder > Subject: Re: [PATCH V4] powerpc/85xx: Add machine check handler to fix > PCIe erratum on

RE: [PATCH V2] powerpc/MPIC: Add get_version API both for internal and external use

2013-03-29 Thread Jia Hongtao-B38951
Hi Kumar and Scott, Any comments on these two patches? Thanks. -Hongtao. > -Original Message- > From: Jia Hongtao-B38951 > Sent: Tuesday, March 26, 2013 1:28 PM > To: linuxppc-dev@lists.ozlabs.org; ga...@kernel.crashing.org > Cc: Wood Scott-B07421; Li Yang-R58472; Jia Hongtao-B38951 > Su

Re: [PATCH v3] cpufreq: Add cpufreq driver for Freescale e500mc SoCs

2013-03-29 Thread Viresh Kumar
On 29 March 2013 11:22, wrote: > diff --git a/drivers/cpufreq/ppc-corenet-cpufreq.c > b/drivers/cpufreq/ppc-corenet-cpufreq.c > + Add following here for better debug prints (sorry, i should have done it earlier) #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > +#include > +#include > +#include