consistent_alloc changes for 4xx/8xx

Ralph Blach rcblach at us.ibm.com
Fri Jan 25 06:10:07 EST 2002


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/





More information about the Linuxppc-embedded mailing list