Re: [PATCH] powerpc/mm: Fix 40x and 8xx vs. _PAGE_SPECIAL

2009-09-23 Thread Benjamin Herrenschmidt
On Wed, 2009-09-23 at 19:38 -0700, Rex Feany wrote: > Thus spake Benjamin Herrenschmidt (b...@kernel.crashing.org): > > > Hrm. This is really strange... > > Is this a problem? in pte-8xx.h you added: > > +#define _PAGE_SPECIAL 0x0008 /* SW entry, forced to 0 by the TLB miss */ > > but there i

Re: [PATCH] powerpc/mm: Fix 40x and 8xx vs. _PAGE_SPECIAL

2009-09-23 Thread Rex Feany
Thus spake Benjamin Herrenschmidt (b...@kernel.crashing.org): > Hrm. This is really strange... Is this a problem? in pte-8xx.h you added: +#define _PAGE_SPECIAL 0x0008 /* SW entry, forced to 0 by the TLB miss */ but there is already this: #define _PAGE_EXEC 0x0008 /* software: i-cache

Re: [PATCH] powerpc/mm: Fix 40x and 8xx vs. _PAGE_SPECIAL

2009-09-23 Thread Benjamin Herrenschmidt
On Wed, 2009-09-23 at 17:53 -0700, Rex Feany wrote: > Thus spake Benjamin Herrenschmidt (b...@kernel.crashing.org): > > > Bernhard, Rex, please let me know if that works for you. > > it doesn't work for me, it crashes differently then before though! Hrm. This is really strange... > trunk+benh c

Re: [PATCH] powerpc/mm: Fix 40x and 8xx vs. _PAGE_SPECIAL

2009-09-23 Thread Benjamin Herrenschmidt
On Wed, 2009-09-23 at 17:53 -0700, Rex Feany wrote: > this is running on a MPC 875, and I'm happy to test any patches or > add any debugging code if it helps. Hrm... smells like something screwy in the 8xx PTE handling. Let me have another look. Cheers, Ben.

Re: [PATCH] powerpc/mm: Fix 40x and 8xx vs. _PAGE_SPECIAL

2009-09-23 Thread Rex Feany
Thus spake Benjamin Herrenschmidt (b...@kernel.crashing.org): > Bernhard, Rex, please let me know if that works for you. it doesn't work for me, it crashes differently then before though! This patch worked for me: > > Signed-off-by: Bernhard Weirich > --- linux/arch/powerpc/include/asm/pte-com

Re: [PATCH] powerpc/mm: Fix 40x and 8xx vs. _PAGE_SPECIAL

2009-09-23 Thread Weirich, Bernhard
Works perfectly here. Thank you for the patch, I was not feeling confident enough to play around with the page bits :) Bernhard WEIRICH Software Development Von: Benjamin Herrenschmidt [b...@kernel.crashing.org] Gesendet: Mittwoch, 23. September 2009 06:12