summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/hwp/tod_init/proc_tod_init
diff options
context:
space:
mode:
authorJosh Rispoli <jprispol@us.ibm.com>2014-07-21 10:40:51 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-08-13 15:24:20 -0500
commit8c10df947e5c6395d126ec199cda859f00777d90 (patch)
tree6c236a1bd1a424bb9c373084494349759c6e20cb /src/usr/hwpf/hwp/tod_init/proc_tod_init
parentad84f95b43023a85cce52229259bf5d7b7c5c7b6 (diff)
downloadtalos-hostboot-8c10df947e5c6395d126ec199cda859f00777d90.tar.gz
talos-hostboot-8c10df947e5c6395d126ec199cda859f00777d90.zip
SW261574: MPV:STC810:Tuleta: Memory missing in dump contents
Change-Id: I74861a878ab5173839218f2311c565349b5313d8 CQ:SW261574 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12205 Reviewed-by: MATTHEW A. PLOETZ <maploetz@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Joshua P. Rispoli <jprispol@us.ibm.com> Tested-by: Joshua P. Rispoli <jprispol@us.ibm.com> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12362 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/tod_init/proc_tod_init')
-rw-r--r--src/usr/hwpf/hwp/tod_init/proc_tod_init/proc_tod_init.C18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/usr/hwpf/hwp/tod_init/proc_tod_init/proc_tod_init.C b/src/usr/hwpf/hwp/tod_init/proc_tod_init/proc_tod_init.C
index e4a6f0a48..7c702acab 100644
--- a/src/usr/hwpf/hwp/tod_init/proc_tod_init/proc_tod_init.C
+++ b/src/usr/hwpf/hwp/tod_init/proc_tod_init/proc_tod_init.C
@@ -22,7 +22,7 @@
/* permissions and limitations under the License. */
/* */
/* IBM_PROLOG_END_TAG */
-// $Id: proc_tod_init.C,v 1.9 2014/04/04 20:53:11 jmcgill Exp $
+// $Id: proc_tod_init.C,v 1.10 2014/07/09 18:20:13 jklazyns Exp $
//------------------------------------------------------------------------------
// *! (C) Copyright International Business Machines Corp. 2012
// *! All Rights Reserved -- Property of IBM
@@ -348,6 +348,22 @@ fapi::ReturnCode init_tod_node(const tod_topology_node* i_tod_node)
break;
}
+ FAPI_INF("init_tod_node: set error mask to runtime configuration");
+ rc_ecmd |= data.flushTo0();
+ rc_ecmd |= data.setWord(1,0x03F00000); // Mask TTYPE received informational bits 38:43
+ if (rc_ecmd)
+ {
+ FAPI_ERR("init_tod_node: Error 0x%08X in ecmdDataBuffer setup for TOD_ERROR_MASK_STATUS_REG_00040032 SCOM.", rc_ecmd);
+ rc.setEcmdError(rc_ecmd);
+ break;
+ }
+ rc = fapiPutScom(*target, TOD_ERROR_MASK_STATUS_REG_00040032, data);
+ if (!rc.ok())
+ {
+ FAPI_ERR("init_tod_node: Could not write TOD_ERROR_MASK_STATUS_REG_00040032");
+ break;
+ }
+
// Finish configuring downstream nodes
for (std::list<tod_topology_node*>::const_iterator child = (i_tod_node->i_children).begin();
child != (i_tod_node->i_children).end();
OpenPOWER on IntegriCloud