I just looked closely at the code for pinned tlb's head_4xx.S and there
needs to be a fix.

/* Load up the kernel context  */
2: SYNC   /*For all PTE updates to finish */
     tlbia
     sync

This is incorrect for a the pinned kernel configuration and because it
would invalidate the pinned tlb's

I verifyed this with RiscWatch.

The code needs to be changes to
/* Load up the kernel context  */
2: SYNC   /*For all PTE updates to finish */
#ifndef CONFIG_TLB_PIN
     tlbia
#endif
     sync


Thanks

Chip


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/



Reply via email to