aboutsummaryrefslogtreecommitdiff
path: root/hw/fsp
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2020-08-27 10:55:25 +0530
committerOliver O'Halloran <oohall@gmail.com>2020-08-28 15:34:37 +1000
commit0ad0ab3e24a322b79bec8451bc21e9bdd40a6657 (patch)
tree1ece27e4535eb7c000a76a48a165be4bd5c96f2e /hw/fsp
parent567d36dca5467c17f974c446fbe602f59190b01f (diff)
downloadskiboot-0ad0ab3e24a322b79bec8451bc21e9bdd40a6657.zip
skiboot-0ad0ab3e24a322b79bec8451bc21e9bdd40a6657.tar.gz
skiboot-0ad0ab3e24a322b79bec8451bc21e9bdd40a6657.tar.bz2
fsp/dump: Handle non-MPIPL scenario
If MPIPL is not enabled then we will not create `/ibm,opal/dump` node and we should continue to parse/retrieve SYSDUMP. I missed this scenario when I fixed similar issue last time :-( Fixes: 92b7968 (fsp: Skip sysdump retrieval only in MPIPL boot) Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'hw/fsp')
-rw-r--r--hw/fsp/fsp-dump.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/fsp/fsp-dump.c b/hw/fsp/fsp-dump.c
index 3ea353a..96cb45e 100644
--- a/hw/fsp/fsp-dump.c
+++ b/hw/fsp/fsp-dump.c
@@ -830,10 +830,10 @@ static void check_ipl_sys_dump(void)
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;
+ if (dump_node) {
+ if (dt_find_property(dump_node, "mpipl-boot"))
+ return;
+ }
}
dump_node = dt_find_by_path(dt_root, "ipl-params/platform-dump");