aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/powernv/eeh-powernv.c
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2015-01-08 16:40:51 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2015-01-23 14:02:52 +1100
commit6f20e7f2e930211613a66d0603fa4abaaf3ce662 (patch)
tree2d92f779d0d1e675b5289c176b1cda023fbebc9b /arch/powerpc/platforms/powernv/eeh-powernv.c
parent53a448c3d5d721cd85e3ad3e38c222a4dbb17f13 (diff)
powerpc/kernel: Avoid memory corruption at early stage
When calling to early_setup(), we pick "boot_paca" up for the master CPU and initialize that with initialise_paca(). At that point, the SLB shadow buffer isn't populated yet. Updating the SLB shadow buffer should corrupt what we had in physical address 0 where the trap instruction is usually stored. This hasn't been observed to cause any trouble in practice, but is obviously fishy. Fixes: 6f4441ef7009 ("powerpc: Dynamically allocate slb_shadow from memblock") Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powernv/eeh-powernv.c')
0 files changed, 0 insertions, 0 deletions