Re: [RFC/PATCH] mm/futex: Fix futex writes on archs with SW tracking of dirty & young

2011-07-26 Thread Mike Frysinger
On Mon, Jul 18, 2011 at 21:29, Benjamin Herrenschmidt wrote: > The futex code currently attempts to write to user memory within > a pagefault disabled section, and if that fails, tries to fix it > up using get_user_pages(). > > This doesn't work on archs where the dirty and young bits are > maintai

Re: [PATCH] powerpc: pseries: Fix kexec on machines with more than 4TB of RAM

2011-07-26 Thread Michael Neuling
> On a box with 8TB of RAM the MMU hashtable is 64GB in size. That > means we have 4G PTEs. pSeries_lpar_hptab_clear was using a signed > int to store the index which will overflow at 2G. Wow, I hear... "Anton Blanchard's machine has more memory in it's MMU than you have in total". Acked-by: Mich

[PATCH] powerpc: pseries: Fix kexec on machines with more than 4TB of RAM

2011-07-26 Thread Anton Blanchard
On a box with 8TB of RAM the MMU hashtable is 64GB in size. That means we have 4G PTEs. pSeries_lpar_hptab_clear was using a signed int to store the index which will overflow at 2G. Signed-off-by: Anton Blanchard Cc: --- Index: linux-powerpc/arch/powerpc/platforms/pseries/lpar.c ==

[PATCH] powerpc: Jump label misalignment causes oops at boot

2011-07-26 Thread Anton Blanchard
I hit an oops at boot on the first instruction of timer_cpu_notify: NIP [c0722f88] .timer_cpu_notify+0x0/0x388 The code should look like: c0722f78: eb e9 00 30 ld r31,48(r9) c0722f7c: 2f bf 00 00 cmpdi cr7,r31,0 c0722f80: 40 9e ff

[PATCH] powerpc: Jump label misalignment causes oops at boot

2011-07-26 Thread Anton Blanchard
I hit an oops at boot on the first instruction of timer_cpu_notify: Oops: Exception in kernel mode, sig: 4 [#1] ... NIP [c0722f88] .timer_cpu_notify+0x0/0x388 The code should look like: c0722f78: eb e9 00 30 ld r31,48(r9) c0722f7c: 2f bf 00 00 cm

Re: [PATCH RFC] perf event: Torrent, add support for the various PMUs on the Torrent chip.

2011-07-26 Thread Kumar Gala
On Jul 26, 2011, at 11:49 AM, Carl E. Love wrote: > > > We are requesting your help to review the following patch prior to posting it > upstream. The patch is against the 2.6.39 tree (which is already out of date). > Thank your for your help and input. > > Carl Love > --

Re: [PATCH v3] mtd: eLBC NAND: update ecc_stats.corrected when lteccr available

2011-07-26 Thread Scott Wood
On Tue, 26 Jul 2011 15:07:42 -0500 Michael Hench wrote: > update ecc_stats.corrected if LTECCR register is available. > > v2: kernel standard C formatting > > v3: kernel standard C formatting again, changed a comment to get under 80 > chars > > Signed-off-by: Michael Hench Acked-by: Scott W

[PATCH v3] mtd: eLBC NAND: update ecc_stats.corrected when lteccr available

2011-07-26 Thread Michael Hench
update ecc_stats.corrected if LTECCR register is available. v2: kernel standard C formatting v3: kernel standard C formatting again, changed a comment to get under 80 chars Signed-off-by: Michael Hench --- diff -purN orig/drivers/mtd/nand/fsl_elbc_nand.c linux-3.0/drivers/mtd/nand/fsl_elbc_nand

Re: [PATCH v2] mtd: eLBC NAND: update ecc_stats.corrected when lteccr available

2011-07-26 Thread Scott Wood
On Tue, 26 Jul 2011 13:59:25 -0500 Michael Hench wrote: > update ecc_stats.corrected if LTECCR register is available. > > v2: kernel standard C formatting Missed a couple: > + if(lteccr & 0x000F000F) > + out_be32(&lbc->lteccr, 0x000F000F); /* clear lteccr */ > +

[PATCH v2] mtd: eLBC NAND: update ecc_stats.corrected when lteccr available

2011-07-26 Thread Michael Hench
update ecc_stats.corrected if LTECCR register is available. v2: kernel standard C formatting Signed-off-by: Michael Hench --- diff -purN orig/drivers/mtd/nand/fsl_elbc_nand.c linux-3.0/drivers/mtd/nand/fsl_elbc_nand.c --- orig/drivers/mtd/nand/fsl_elbc_nand.c 2011-07-25 14:50:56.838326055

[PATCH] RapidIO: Fix use of non-compatible registers

2011-07-26 Thread Alexandre Bounine
Replace/remove use of RIO v.1.2 registers/bits that are not forward-compatible with newer versions of RapidIO specification. RapidIO specification v. 1.3 removed Write Port CSR, Doorbell CSR, Mailbox CSR and Mailbox and Doorbell bits of the PEF CAR. Signed-off-by: Alexandre Bounine Cc: Kumar Gal

Re: [PATCH] mtd: eLBC NAND: update ecc_stats.corrected when lteccr available

2011-07-26 Thread Scott Wood
On Tue, 26 Jul 2011 08:45:42 -0500 Michael Hench wrote: > update ecc_stats.corrected if LTECCR register is available. > > Signed-off-by: Michael Hench > --- > diff -purN orig/drivers/mtd/nand/fsl_elbc_nand.c > linux-3.0/drivers/mtd/nand/fsl_elbc_nand.c > --- orig/drivers/mtd/nand/fsl_elbc_nand.

[PATCH] mtd: eLBC NAND: update ecc_stats.corrected when lteccr available

2011-07-26 Thread Michael Hench
update ecc_stats.corrected if LTECCR register is available. Signed-off-by: Michael Hench --- diff -purN orig/drivers/mtd/nand/fsl_elbc_nand.c linux-3.0/drivers/mtd/nand/fsl_elbc_nand.c --- orig/drivers/mtd/nand/fsl_elbc_nand.c 2011-07-25 14:50:56.838326055 -0500 +++ linux-3.0/drivers/mtd/n

RE: [PATCH 2/2 v2] eSDHC: Fix errors when booting kernel with fsl esdhc

2011-07-26 Thread Zang Roy-R61911
> -Original Message- > From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc-ow...@vger.kernel.org] > On Behalf Of Anton Vorontsov > Sent: Friday, July 22, 2011 18:15 PM > To: Zang Roy-R61911 > Cc: linux-...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; akpm@linux- > foundation.org; X