linux/arch/powerpc/include
Benjamin Herrenschmidt 0c4888ef1d 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 <benh@kernel.crashing.org>
2013-11-06 14:13:53 +11:00
..
asm powerpc: Fix fatal SLB miss when restoring PPR 2013-11-06 14:13:53 +11:00
uapi/asm powerpc: Include the appropriate endianness header 2013-10-11 16:48:33 +11:00