diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2019-07-12 16:47:53 +0530 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2019-08-15 17:53:49 +1000 |
commit | fbd875d77f30ee9a713625c3f4400cde06e70ac8 (patch) | |
tree | 3ebda0617472380f1e82bf6632ac104405545ddc /include | |
parent | 0a17e674616413b7a3182643cfa0fda292141bb1 (diff) | |
download | skiboot-fbd875d77f30ee9a713625c3f4400cde06e70ac8.zip skiboot-fbd875d77f30ee9a713625c3f4400cde06e70ac8.tar.gz skiboot-fbd875d77f30ee9a713625c3f4400cde06e70ac8.tar.bz2 |
MPIPL: Save crashing PIR
Crashing CPU PIR is required to get proper backtrace from core file.
Save crashing CPU PIR before triggering MPIPL. Post MPIPL OPAL will
pass saved PIR to kernel and kernel will use that to create OPAL dump.
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
[oliver: rebased]
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/opal-dump.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/opal-dump.h b/include/opal-dump.h index e115382..866d11a 100644 --- a/include/opal-dump.h +++ b/include/opal-dump.h @@ -121,4 +121,7 @@ struct mpipl_metadata { /* init opal dump */ extern void opal_mpipl_init(void); +/* Save metadata before triggering MPIPL */ +void opal_mpipl_save_crashing_pir(void); + #endif /* __OPAL_DUMP_H */ |