summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2013-12-06 15:57:45 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-12-09 15:36:56 -0600
commit95ddac9c67aefb2f8447f932464e10af54faf4f2 (patch)
tree565e20e948ac60a6d38fdb9d91bfe444effbd8b7 /src/usr
parente0a63c5309748b54739a23e12a8b90c7b9521624 (diff)
downloadtalos-hostboot-95ddac9c67aefb2f8447f932464e10af54faf4f2.tar.gz
talos-hostboot-95ddac9c67aefb2f8447f932464e10af54faf4f2.zip
Update actual count in MDRT after collecting dump
We need to update the MDRT in mainstore so that DUMP code on the FSP can read valid data during the IPL. We know that it will get whacked later in the IPL so we also have to write it later. Change-Id: I74ca677969709b0084394785cb5cb0aca459b54d CQ: SW235103 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7585 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/dump/dumpCollect.C7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/usr/dump/dumpCollect.C b/src/usr/dump/dumpCollect.C
index 28cfb60eb..e295f4991 100644
--- a/src/usr/dump/dumpCollect.C
+++ b/src/usr/dump/dumpCollect.C
@@ -568,6 +568,13 @@ errlHndl_t doDumpCollect(void)
//Update actual count in RUNTIME
RUNTIME::saveActualCount(RUNTIME::MS_DUMP_RESULTS_TBL,
l_resultCount);
+
+
+ //Write actual count into memory as well
+ // We know this will get whacked when FSP reloads the PHYP
+ // lid, but we want it to be valid before that to allow
+ // FSP code to consume the data from mainstore
+ RUNTIME::writeActualCount(RUNTIME::MS_DUMP_RESULTS_TBL);
}while(0);// end of do-while loop
// Got an errorlog back from get_host_data_sections
OpenPOWER on IntegriCloud