From: Joakim Tjernlund Date: Fri, 20 Nov 2009 00:21:04 +0000 (+0000) Subject: powerpc/8xx: Tag DAR with 0x00f0 to catch buggy instructions. X-Git-Tag: v2.6.33-rc1~293^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60e071fee994ff98c37d03a4a7c5a3f8b1e3b8e5;p=pandora-kernel.git powerpc/8xx: Tag DAR with 0x00f0 to catch buggy instructions. dcbz, dcbf, dcbi, dcbst and icbi do not set DAR when they cause a DTLB Error. Dectect this by tagging DAR with 0x00f0 at every exception exit that modifies DAR. Test for DAR=0x00f0 in DataTLBError and bail to handle_page_fault(). Signed-off-by: Joakim Tjernlund Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed