]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/fadump: register kernel metadata address with opal
authorHari Bathini <hbathini@linux.ibm.com>
Wed, 11 Sep 2019 14:50:57 +0000 (20:20 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 13 Sep 2019 14:04:43 +0000 (00:04 +1000)
commitcb23a1f48dc56190023625d1b6a17b7918a683a0
tree134a9dce27087f15d67dd637a7cb0175709ca457
parenteb66b542a3735a7569de54c65e20c3aeb17c57a4
powerpc/fadump: register kernel metadata address with opal

OPAL allows registering address with it in the first kernel and
retrieving it after MPIPL. Setup kernel metadata and register its
address with OPAL to use it for processing the crash dump.

Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/156821345011.5656.13567765019032928471.stgit@hbathini.in.ibm.com
arch/powerpc/include/asm/fadump-internal.h
arch/powerpc/kernel/fadump.c
arch/powerpc/platforms/powernv/opal-fadump.c
arch/powerpc/platforms/powernv/opal-fadump.h [new file with mode: 0644]