fsp: Skip sysdump retrieval only in MPIPL boot
It seems we should continue to retrieval SYSDUMP except in MPIPL boot.
Fixes: (fsp: Ignore platform dump notification on P9)
@@ -822,11 +822,19 @@ static bool fsp_sys_dump_notify(uint32_t cmd_sub_mod, struct fsp_msg *msg)
*/
static void check_ipl_sys_dump(void)
{
- struct dt_node *dump_node;
+ struct dt_node *dump_node, *opal_node;
uint32_t dump_id, dump_size;
- if (proc_gen >= proc_gen_p9)
+ if (proc_gen >= proc_gen_p9) {
+ opal_node = dt_find_by_path(dt_root, "ibm,opal");
+ if (!opal_node)
return;
+ dump_node = dt_find_by_path(opal_node, "dump");
+ if (!dump_node)
+ return;
+ if (dt_find_property(dump_node, "mpipl-boot"))
+ return;
+ }
dump_node = dt_find_by_path(dt_root, "ipl-params/platform-dump");
if (!dump_node)
