Re: [RFC][PATCH v4] MPC5121 TLB errata workaround

2009-03-16 Thread David Jander
Ooops, ok I think I just missed your proposal, Kumar. Anyway, I'll post my benchmark results to this here: 1.- mplayer -nosound -benchmark testfile.mpeg (a DVD-mpeg2 file): No fix at all: VC: 30.5s VO: 53.4s Sys:1.95s Total: 85.8s First fix (force writes to way 0): VC: 24.3s VO: 40.6s Sys:1.95

[RFC][PATCH v4] MPC5121 TLB errata workaround

2009-03-16 Thread David Jander
Complete workaround for DTLB errata in MPC5121e processors of die M36P and older (all currently existing versions). Due to the bug, the hardware-implemented LRU algorythm always goes to way 1 of the TLB. This fix implements the proposed software workaround in form of a LRW table encoded in 32 b