powerpc/fadump: process the crashdump by exporting it as /proc/vmcore
authorHari Bathini <hbathini@linux.ibm.com>
Wed, 11 Sep 2019 14:51:59 +0000 (20:21 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 13 Sep 2019 14:04:43 +0000 (00:04 +1000)
commit2a1b06dd3a17ac278494da3c15cac84684346d22
treea16816e6060d3739327460089aabd69aef52f233
parent51bba8edef90cf579dba16de912d3ef809fe1d77
powerpc/fadump: process the crashdump by exporting it as /proc/vmcore

Add support in the kernel to process the crash'ed kernel's memory
preserved during MPIPL and export it as /proc/vmcore file for the
userland scripts to filter and analyze it later.

Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/156821351482.5656.6255805804744333073.stgit@hbathini.in.ibm.com
arch/powerpc/platforms/powernv/opal-fadump.c