Re: [RFC/PATCH] powerpc: rework 4xx PTE access and TLB miss

2008-06-19 Thread Josh Boyer
On Wed, 11 Jun 2008 10:50:31 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: This is some preliminary work to improve TLB management on SW loaded TLB powerpc platforms. This introduce support for non-atomic PTE operations in pgtable-ppc32.h and removes write back to the PTE from the TLB

Re: [RFC/PATCH] powerpc: rework 4xx PTE access and TLB miss

2008-06-11 Thread Kumar Gala
On Jun 10, 2008, at 7:50 PM, Benjamin Herrenschmidt wrote: This is some preliminary work to improve TLB management on SW loaded TLB powerpc platforms. This introduce support for non-atomic PTE operations in pgtable-ppc32.h and removes write back to the PTE from the TLB miss handlers. In

Re: [RFC/PATCH] powerpc: rework 4xx PTE access and TLB miss

2008-06-11 Thread Benjamin Herrenschmidt
On Wed, 2008-06-11 at 01:20 -0500, Kumar Gala wrote: On Jun 10, 2008, at 7:50 PM, Benjamin Herrenschmidt wrote: This is some preliminary work to improve TLB management on SW loaded TLB powerpc platforms. This introduce support for non-atomic PTE operations in pgtable-ppc32.h and removes

[RFC/PATCH] powerpc: rework 4xx PTE access and TLB miss

2008-06-10 Thread Benjamin Herrenschmidt
This is some preliminary work to improve TLB management on SW loaded TLB powerpc platforms. This introduce support for non-atomic PTE operations in pgtable-ppc32.h and removes write back to the PTE from the TLB miss handlers. In addition, the DSI interrupt code no longer tries to fixup write

Re: [RFC/PATCH] powerpc: rework 4xx PTE access and TLB miss

2008-06-10 Thread Kumar Gala
Index: linux-work/include/asm-powerpc/pgtable-ppc32.h === --- linux-work.orig/include/asm-powerpc/pgtable-ppc32.h 2008-06-10 18:13:47.0 +1000 +++ linux-work/include/asm-powerpc/pgtable-ppc32.h 2008-06-10

Re: [RFC/PATCH] powerpc: rework 4xx PTE access and TLB miss

2008-06-10 Thread Benjamin Herrenschmidt
#define _PAGE_PRESENT 0x0001 /* S: PTE valid */ -#define_PAGE_RW0x0002 /* S: Write permission */ +#define _PAGE_RW 0x0002 /* S: Write permission */ #define _PAGE_FILE 0x0004 /* S: nonlinear file