From fbd875d77f30ee9a713625c3f4400cde06e70ac8 Mon Sep 17 00:00:00 2001 From: Vasant Hegde Date: Fri, 12 Jul 2019 16:47:53 +0530 Subject: 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 [oliver: rebased] Signed-off-by: Oliver O'Halloran --- include/opal-dump.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 */ -- cgit v1.1