[PATCH -V2] powerpc: thp: Fix crash on mremap

2014-01-02 Thread Aneesh Kumar K.V
From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com This patch fix the below crash NIP [c004cee4] .__hash_page_thp+0x2a4/0x440 LR [c00439ac] .hash_page+0x18c/0x5e0 ... Call Trace: [c00736103c40] [1b00] 0x1b00(unreliable) [437908.479693]

RE: [PATCH -V2] powerpc: thp: Fix crash on mremap

2014-01-02 Thread Kirill A. Shutemov
Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com This patch fix the below crash NIP [c004cee4] .__hash_page_thp+0x2a4/0x440 LR [c00439ac] .hash_page+0x18c/0x5e0 ... Call Trace: [c00736103c40] [1b00] 0x1b00(unreliable)

RE: [PATCH -V2] powerpc: thp: Fix crash on mremap

2014-01-02 Thread Aneesh Kumar K.V
Kirill A. Shutemov kirill.shute...@linux.intel.com writes: Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com This patch fix the below crash NIP [c004cee4] .__hash_page_thp+0x2a4/0x440 LR [c00439ac] .hash_page+0x18c/0x5e0 ... Call Trace:

[PATCH] powerpc/powernv: Increase candidate fw image size

2014-01-02 Thread Vasant Hegde
At present we assume candidate image is = 256MB. But in P8, candidate image size can go up to 750MB. Hence increasing candidate image max size to 1GB. Signed-off-by: Vasant Hegde hegdevas...@linux.vnet.ibm.com --- arch/powerpc/platforms/powernv/opal-flash.c |4 ++-- 1 file changed, 2

Re: [PATCH -V2] powerpc: thp: Fix crash on mremap

2014-01-02 Thread Benjamin Herrenschmidt
On Thu, 2014-01-02 at 16:22 +0530, Aneesh Kumar K.V wrote: Just use config option directly: if (new_ptl != old_ptl || IS_ENABLED(CONFIG_ARCH_THP_MOVE_PMD_ALWAYS_WITHDRAW)) I didn't like that. I found the earlier one easier for reading. If you and others strongly

Re: [PATCH] block/ps3: Remove obsolete reference to MTD

2014-01-02 Thread Geoff Levand
On Mon, 2013-12-30 at 10:07 +0100, Geert Uytterhoeven wrote: The ps3vram driver is a plain block device driver since commit f507cd22035fdadd5dbb476dd05e9e7ee21c3b84 (ps3/block: Replace mtd/ps3vram by block/ps3vram). Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org ---

Re: Where to post problems with linux-ppc for Freescale processors such as the p1020?

2014-01-02 Thread Kumar Gala
On Dec 31, 2013, at 2:35 PM, jeclark2006 jeclark2...@aim.com wrote: As the subject says... where to post problems with ppc linux that does not involve 'apple' implementations. The 'embedded' list appears to be pretty much dead. This is now the list for any ppc linux issues for embedded,

Re: [PATCH] block/ps3: Remove obsolete reference to MTD

2014-01-02 Thread Jens Axboe
On 01/02/2014 11:46 AM, Geoff Levand wrote: On Mon, 2013-12-30 at 10:07 +0100, Geert Uytterhoeven wrote: The ps3vram driver is a plain block device driver since commit f507cd22035fdadd5dbb476dd05e9e7ee21c3b84 (ps3/block: Replace mtd/ps3vram by block/ps3vram). Signed-off-by: Geert

Re: Where to post problems with linux-ppc for Freescale processors such as the p1020?

2014-01-02 Thread John Clark
On Jan 2, 2014, at 12:21 PM, Kumar Gala ga...@kernel.crashing.org wrote: On Dec 31, 2013, at 2:35 PM, jeclark2006 jeclark2...@aim.com wrote: As the subject says... where to post problems with ppc linux that does not involve 'apple' implementations. The 'embedded' list appears to be

[PATCH] powerpc/fsl-booke: Use SPRN_SPRGn rather than mfsprg/mtsprg

2014-01-02 Thread Scott Wood
This fixes a build break that was probably introduced with the removal of -Wa,-me500 (commit f49596a4cf4753d13951608f24f939a59fdcc653), where the assembler refuses to recognize SPRG4-7 with a generic PPC target. Signed-off-by: Scott Wood scottw...@freescale.com Cc: Dongsheng Wang

Re: commit e38c0a1f breaks powerpc boards with uli1575 chip

2014-01-02 Thread Scott Wood
On Mon, 2013-12-30 at 14:13 +1100, Benjamin Herrenschmidt wrote: On Thu, 2013-12-19 at 08:42 +0400, Nikita Yushchenko wrote: No, this does not help. I've dumped the actual content of 'range' and 'addr' at the failure point (i.e. ar point that returns error with e38c0a1f but passes

Re: [PATCH -V2] powerpc: thp: Fix crash on mremap

2014-01-02 Thread Aneesh Kumar K.V
Benjamin Herrenschmidt b...@kernel.crashing.org writes: On Thu, 2014-01-02 at 16:22 +0530, Aneesh Kumar K.V wrote: Just use config option directly: if (new_ptl != old_ptl || IS_ENABLED(CONFIG_ARCH_THP_MOVE_PMD_ALWAYS_WITHDRAW)) I didn't like that. I found the

Re: [PATCH] powerpc: Fix alignment of secondary cpu spin vars

2014-01-02 Thread Olof Johansson
On Sat, Dec 28, 2013 at 1:05 PM, Olof Johansson o...@lixom.net wrote: Sigh, it's not this after all. I did a clean build with this applied and still see failures. Something else is (also?) going on here. Ok, so after some more digging I actually think that this isn't about the new code added