summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorHari Bathini <hbathini@linux.vnet.ibm.com>2019-09-11 20:24:50 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2019-09-14 00:04:44 +1000
commit5000a17afbd56b4e58b7f72ac77eabb92c418412 (patch)
tree1d65baf7568daaaa4dbd266a4e1a2959bc7d707a /arch/powerpc/include/asm
parent579ca1a27675485a99da50cd7fedc14232f817c3 (diff)
downloadlinux-5000a17afbd56b4e58b7f72ac77eabb92c418412.tar.bz2
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
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r--arch/powerpc/include/asm/fadump-internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/fadump-internal.h b/arch/powerpc/include/asm/fadump-internal.h
index 0c2c4f58d365..2c72685dfff5 100644
--- a/arch/powerpc/include/asm/fadump-internal.h
+++ b/arch/powerpc/include/asm/fadump-internal.h
@@ -88,6 +88,10 @@ struct fw_dump {
unsigned long reserve_bootvar;
unsigned long cpu_state_data_size;
+ u64 cpu_state_dest_vaddr;
+ u32 cpu_state_data_version;
+ u32 cpu_state_entry_size;
+
unsigned long hpte_region_size;
unsigned long boot_memory_size;