summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf
diff options
context:
space:
mode:
authorBenjamin Weisenbeck <bweisenb@us.ibm.com>2018-09-27 14:56:04 -0500
committerZane C. Shelley <zshelle@us.ibm.com>2018-10-08 20:19:09 -0500
commitd02cb05f827a5204bd1d5bde793aac6d8952496d (patch)
tree11d3cbf50466d9706ea5d26da0b70f08a9c8e7b0 /src/usr/diag/prdf
parent524937cba951d04a884899b88fc28505e8dd1690 (diff)
downloadtalos-hostboot-d02cb05f827a5204bd1d5bde793aac6d8952496d.tar.gz
talos-hostboot-d02cb05f827a5204bd1d5bde793aac6d8952496d.zip
PRD: Request SW dump type for unhandled core checkstops
Change-Id: I39f2f52f7b491739b60f059881d6c6a364644710 CQ: SW444754 Backport: release-fips922 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66753 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67041 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf')
-rw-r--r--src/usr/diag/prdf/common/plat/p9/prdfP9Ec.C11
-rw-r--r--src/usr/diag/prdf/prdfGlobal.H3
2 files changed, 7 insertions, 7 deletions
diff --git a/src/usr/diag/prdf/common/plat/p9/prdfP9Ec.C b/src/usr/diag/prdf/common/plat/p9/prdfP9Ec.C
index d76547a93..984d1a6ba 100644
--- a/src/usr/diag/prdf/common/plat/p9/prdfP9Ec.C
+++ b/src/usr/diag/prdf/common/plat/p9/prdfP9Ec.C
@@ -353,10 +353,8 @@ int32_t CheckCoreCheckstop( ExtensibleChip * i_chip,
// Core checkstop not enabled, terminate.
io_sc.service_data->setFlag( ServiceDataCollector::TERMINATE );
- // TODO: RTC 144705 - We can no longer use SH, we'll need to pick
- // either SW or HW
- // PHYP was unresponsive, be sure to get SH content.
- //io_sc.service_data->SetDump(CONTENT_SH, i_chip->GetChipHandle());
+ // PHYP was unresponsive, be sure to get SW content.
+ io_sc.service_data->SetDump(CONTENT_SW, i_chip->GetChipHandle());
break;
}
@@ -391,9 +389,8 @@ int32_t CheckCoreCheckstop( ExtensibleChip * i_chip,
// If we waited and never cleared, terminate machine.
io_sc.service_data->setFlag( ServiceDataCollector::TERMINATE );
- // TODO: RTC 144705
- // PHYP was unresponsive, so get SH content.
- //io_sc.service_data->SetDump(CONTENT_SH, i_chip->GetChipHandle());
+ // PHYP was unresponsive, so get SW content.
+ io_sc.service_data->SetDump(CONTENT_SW, i_chip->GetChipHandle());
}
} while(0);
return SUCCESS;
diff --git a/src/usr/diag/prdf/prdfGlobal.H b/src/usr/diag/prdf/prdfGlobal.H
index 52cd5909d..cfab8e232 100644
--- a/src/usr/diag/prdf/prdfGlobal.H
+++ b/src/usr/diag/prdf/prdfGlobal.H
@@ -80,8 +80,11 @@ typedef uint32_t hwTableContent;
/**
* @brief defined dump content type to get through hostboot compilation.
+ * CONTENT_SW is a FSP specific enum val originally defined in dump.
* CONTENT_HW is a FSP specific enum val originally defined in dump.
*/
+
+const uint32_t CONTENT_SW = 0x80000000;
const uint32_t CONTENT_HW = 0x40000000;
/**
OpenPOWER on IntegriCloud