aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2020-04-07 14:41:10 +0530
committerOliver O'Halloran <oohall@gmail.com>2020-04-15 14:05:53 +1000
commitd6eb510d65e6a9d5bd69b6960c08d165f8363de3 (patch)
tree45e104470e9e3031a55c904cffeb94bb773e101c /hw
parent57c451dd779a00f90d84af9ca56409890bd05d37 (diff)
downloadskiboot-d6eb510d65e6a9d5bd69b6960c08d165f8363de3.zip
skiboot-d6eb510d65e6a9d5bd69b6960c08d165f8363de3.tar.gz
skiboot-d6eb510d65e6a9d5bd69b6960c08d165f8363de3.tar.bz2
fsp: Ignore platform dump notification on P9
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@in.ibm.com> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/fsp/fsp-dump.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/fsp/fsp-dump.c b/hw/fsp/fsp-dump.c
index 5b5f1f0..47da342 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;