From: Benjamin Herrenschmidt Date: Tue, 5 Nov 2013 05:33:22 +0000 (+1100) Subject: powerpc: Fix fatal SLB miss when restoring PPR X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~19^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c4888ef1d8a8b82c29075ce7e257ff795af15c7;p=pandora-kernel.git powerpc: Fix fatal SLB miss when restoring PPR When restoring the PPR value, we incorrectly access the thread structure at a time where MSR:RI is clear, which means we cannot recover from nested faults. However the thread structure isn't covered by the "bolted" SLB entries and thus accessing can fault. This fixes it by splitting the code so that the PPR value is loaded into a GPR before MSR:RI is cleared. Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed