[Skiboot] [PATCH] fsp: Ignore platform dump notification on P9

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Tue Apr 7 19:11:10 AEST 2020


After system crash FSP collects dump and passes dump details via HDAT.
OPAL/Linux uses this detail to extract SYSDUMP.

P9 FSP system we have MPIPL support. FSP folks says we have to ignore
platform dump notification passed by HDAT and use inband MPIPL mechanism
to extract dump.

CC: Murulidhar Nataraju <murulidhar at in.ibm.com>
Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
 hw/fsp/fsp-dump.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hw/fsp/fsp-dump.c b/hw/fsp/fsp-dump.c
index 5b5f1f0b0..47da342c3 100644
--- a/hw/fsp/fsp-dump.c
+++ b/hw/fsp/fsp-dump.c
@@ -825,6 +825,9 @@ static void check_ipl_sys_dump(void)
 	struct dt_node *dump_node;
 	uint32_t dump_id, dump_size;
 
+	if (proc_gen >= proc_gen_p9)
+		return;
+
 	dump_node = dt_find_by_path(dt_root, "ipl-params/platform-dump");
 	if (!dump_node)
 		return;
-- 
2.21.1



More information about the Skiboot mailing list