Re: [PATCH 7/8] 8xx: Restore _PAGE_WRITETHRU

2009-10-11 Thread Benjamin Herrenschmidt
On Mon, 2009-10-12 at 00:21 +0200, Joakim Tjernlund wrote: > > I think I've replaced _PAGE_EXEC with _PAGE_SPECIAL already > > upstream since _PAGE_EXEC is unused on 8xx. > > What is page SPECIAL anyway? It's used on newer kernels to indicates PTEs that map something that isn't backed by a struc

Re: [PATCH 7/8] 8xx: Restore _PAGE_WRITETHRU

2009-10-11 Thread Joakim Tjernlund
Benjamin Herrenschmidt wrote on 11/10/2009 23:26:27: > > On Sun, 2009-10-11 at 18:35 +0200, Joakim Tjernlund wrote: > > 8xx has not had WRITETHRU due to lack of bits in the pte. > > After the recent rewrite of the 8xx TLB code, there are > > two bits left. Use one of them to WRITETHRU. > > > > Per

Re: [PATCH 7/8] 8xx: Restore _PAGE_WRITETHRU

2009-10-11 Thread Benjamin Herrenschmidt
On Sun, 2009-10-11 at 18:35 +0200, Joakim Tjernlund wrote: > 8xx has not had WRITETHRU due to lack of bits in the pte. > After the recent rewrite of the 8xx TLB code, there are > two bits left. Use one of them to WRITETHRU. > > Perhaps use the last SW bit to PAGE_SPECIAL or PAGE_FILE? _PAGE_FILE

[PATCH 7/8] 8xx: Restore _PAGE_WRITETHRU

2009-10-11 Thread Joakim Tjernlund
8xx has not had WRITETHRU due to lack of bits in the pte. After the recent rewrite of the 8xx TLB code, there are two bits left. Use one of them to WRITETHRU. Perhaps use the last SW bit to PAGE_SPECIAL or PAGE_FILE? --- arch/powerpc/include/asm/pte-8xx.h |5 +++-- arch/powerpc/kernel/head_8x