Re: consistent_alloc changes for 4xx/8xx
From: Ralph Blach <hidden>
Date: 2002-01-24 19:10:07
From: Ralph Blach <hidden>
Date: 2002-01-24 19:10:07
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/