From: Kumar Gala Date: Thu, 19 Mar 2009 03:55:41 +0000 (+0000) Subject: powerpc/mm: e300c2/c3/c4 TLB errata workaround X-Git-Tag: v2.6.30-rc1~619^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2319f1239592d0de80414ad2338c2bd7384a2a41;p=pandora-kernel.git powerpc/mm: e300c2/c3/c4 TLB errata workaround Complete workaround for DTLB errata in e300c2/c3/c4 processors. 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 for chosing the TLB-way. Based on patch from David Jander Signed-off-by: Kumar Gala Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed