]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd091ccaf494b07acd2c1886db7d064a30fcc6ba3
treea16816e6060d3739327460089aabd69aef52f233
parent68f3215acb011dfc1eaa18ce3c1efb9874171e58
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