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
This commit is contained in:

committed by
Michael Ellerman

parent
579ca1a276
commit
5000a17afb
@@ -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;
|
||||
|
Reference in New Issue
Block a user