From: Mahesh Salgaonkar Date: Wed, 30 Oct 2013 14:35:11 +0000 (+0530) Subject: powerpc/book3s: Flush SLB/TLBs if we get SLB/TLB machine check errors on power7. X-Git-Tag: v3.14-rc1~80^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e22a22740c1ac23aaa10835f026b3549ee3e4e75;p=pandora-kernel.git powerpc/book3s: Flush SLB/TLBs if we get SLB/TLB machine check errors on power7. If we get a machine check exception due to SLB or TLB errors, then flush SLBs/TLBs and reload SLBs to recover. We do this in real mode before turning on MMU. Otherwise we would run into nested machine checks. If we get a machine check when we are in guest, then just flush the SLBs and continue. This patch handles errors for power7. The next patch will handle errors for power8 Signed-off-by: Mahesh Salgaonkar Signed-off-by: Paul Mackerras Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed