powerpc/64s/powernv: machine check dump SLB contents
authorNicholas Piggin <npiggin@gmail.com>
Fri, 2 Aug 2019 10:56:33 +0000 (20:56 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Aug 2019 00:32:35 +0000 (10:32 +1000)
commit7290f3b3d3e66b54720f23079ffc60e0b7bbb0cc
tree682cb91a6401457b5d9189a4c4e291f3ad65617a
parent0b66370c61fcf5fcc1d6901013e110284da6e2bb
powerpc/64s/powernv: machine check dump SLB contents

Re-use the code introduced in pseries to save and dump the contents
of the SLB in the case of an SLB involved machine check exception.

This patch also avoids allocating the SLB save array on pseries radix.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190802105709.27696-9-npiggin@gmail.com
arch/powerpc/kernel/mce.c
arch/powerpc/kernel/mce_power.c
arch/powerpc/platforms/powernv/setup.c
arch/powerpc/platforms/pseries/setup.c