[PATCH 2/8] 8xx: Update TLB asm so it behaves as linux mm expects.

2009-11-04 Thread Joakim Tjernlund
Update the TLB asm to make proper use of _PAGE_DIRY and _PAGE_ACCESSED. Get rid of _PAGE_HWWRITE too. Pros: - I/D TLB Miss never needs to write to the linux pte. - _PAGE_ACCESSED is only set on TLB Error fixing accounting - _PAGE_DIRTY is mapped to 0x100, the changed bit, and is set directly

[PATCH 2/8] 8xx: Update TLB asm so it behaves as linux mm expects.

2009-10-15 Thread Joakim Tjernlund
Update the TLB asm to make proper use of _PAGE_DIRY and _PAGE_ACCESSED. Get rid of _PAGE_HWWRITE too. Pros: - I/D TLB Miss never needs to write to the linux pte. - _PAGE_ACCESSED is only set on TLB Error fixing accounting - _PAGE_DIRTY is mapped to 0x100, the changed bit, and is set directly

Re: [PATCH 2/8] 8xx: Update TLB asm so it behaves as linux mm expects.

2009-10-14 Thread Scott Wood
On Sun, Oct 11, 2009 at 06:35:06PM +0200, Joakim Tjernlund wrote: + mfspr r11, SRR1 + /* clear all error bits as TLB Miss + * sets a few unconditionally + */ + rlwinm r11, r11, 0, 0x + mtspr SRR1, r11 arch/powerpc/kernel/head_8xx.S:369: Error: unsupported