]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/fadump: process architected register state data provided by firmware
authorHari Bathini <hbathini@linux.vnet.ibm.com>
Wed, 11 Sep 2019 14:54:50 +0000 (20:24 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 13 Sep 2019 14:04:44 +0000 (00:04 +1000)
commit5ccc1c06715933a4b525344269103b72b045a8f6
tree1d65baf7568daaaa4dbd266a4e1a2959bc7d707a
parent8f7359c9846f63ff233aa127a7721d6593744567
powerpc/fadump: process architected register state data provided by firmware

Firmware provides architected register state data at the time of crash.
Process this data and build CPU notes to append to ELF core. In case
this data is missing or in unsupported format, at least append crashing
CPU's register data, to have something to work with in the vmcore file.

Signed-off-by: Hari Bathini <hbathini@linux.vnet.ibm.com>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/156821367702.5656.5546683836236508389.stgit@hbathini.in.ibm.com
arch/powerpc/include/asm/fadump-internal.h
arch/powerpc/platforms/powernv/opal-fadump.c
arch/powerpc/platforms/powernv/opal-fadump.h