summaryrefslogtreecommitdiff
path: root/kernel/rcutree_plugin.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-11-05 16:33:22 +1100
committerJiri Slaby <jslaby@suse.cz>2014-03-12 13:25:36 +0100
commitd30b39cb984459873b0fe79ba07a84e6e0c729d5 (patch)
tree57ee08f3553509e4a917ef070ec2156c42f2b305 /kernel/rcutree_plugin.h
parent82a6be9ef57b19f710dbbeac568484ce701b2e26 (diff)
powerpc: Fix fatal SLB miss when restoring PPR
commit 0c4888ef1d8a8b82c29075ce7e257ff795af15c7 upstream. 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> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'kernel/rcutree_plugin.h')
0 files changed, 0 insertions, 0 deletions