]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c412e4989991eb8e62f712079923541e8e85112
tree682cb91a6401457b5d9189a4c4e291f3ad65617a
parente0d7a34f6e0e4db9b3d03364bbbd583526b7678e
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