summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas
diff options
context:
space:
mode:
authorThi Tran <thi@us.ibm.com>2014-11-13 12:47:31 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-01-16 10:10:54 -0600
commita59dccb2db8eabad2b756b9207e28a0e72aa7cbc (patch)
treede09149cbedd5e57fef42a21beab6a67f44eea4f /src/usr/hwas
parentf2f75404fafd6d6e7e52a5b901665165ab61b625 (diff)
downloadtalos-hostboot-a59dccb2db8eabad2b756b9207e28a0e72aa7cbc.tar.gz
talos-hostboot-a59dccb2db8eabad2b756b9207e28a0e72aa7cbc.zip
P8+ VPO - HB supports to istep 7 for NVLINK test
Change-Id: I79ec79e1601ae51bf759b80a07c5b4cf2d97fc5c RTC: 95236 Depends-On: I19823ac32a963d7072d21140b828c30ab326a19f Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14468 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwas')
-rw-r--r--src/usr/hwas/common/hwas.C35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/usr/hwas/common/hwas.C b/src/usr/hwas/common/hwas.C
index 32c8d81ac..7735e19b5 100644
--- a/src/usr/hwas/common/hwas.C
+++ b/src/usr/hwas/common/hwas.C
@@ -1100,6 +1100,18 @@ void invokePresentByAssoc()
l_funcMCSTargetList.begin(),
l_funcMCSTargetList.end());
+// If VPO, dump targets (MCS) for verification & debug purposes
+#ifdef CONFIG_VPO_COMPILE
+ HWAS_INF("invokePresentByAssoc(): MCS targets:");
+ for (TargetHandleList::const_iterator l_MCS_Itr =
+ l_funcMCSTargetList.begin();
+ l_MCS_Itr != l_funcMCSTargetList.end();
+ l_MCS_Itr++)
+ {
+ HWAS_INF(" MCS: HUID %.8x", TARGETING::get_huid(*l_MCS_Itr));
+ }
+#endif
+
// get the membufs
TargetHandleList l_funcMembufTargetList;
getAllChips(l_funcMembufTargetList, TYPE_MEMBUF, true );
@@ -1107,6 +1119,17 @@ void invokePresentByAssoc()
l_funcMembufTargetList.begin(),
l_funcMembufTargetList.end());
+// If VPO, dump targets (MEMBUF) for verification & debug purposes
+#ifdef CONFIG_VPO_COMPILE
+ HWAS_INF("invokePresentByAssoc(): MEMBUF targets:");
+ for (TargetHandleList::const_iterator l_MEMBUF_Itr = l_funcMembufTargetList.begin();
+ l_MEMBUF_Itr != l_funcMembufTargetList.end();
+ l_MEMBUF_Itr++)
+ {
+ HWAS_INF(" MEMBUF: HUID %.8x", TARGETING::get_huid(*l_MEMBUF_Itr));
+ }
+#endif
+
// get the dimms
TargetHandleList l_funcDIMMTargetList;
getAllLogicalCards(l_funcDIMMTargetList, TYPE_DIMM, true );
@@ -1114,6 +1137,18 @@ void invokePresentByAssoc()
l_funcDIMMTargetList.begin(),
l_funcDIMMTargetList.end());
+
+// If VPO, dump targets (DIMM) for verification & debug purposes
+#ifdef CONFIG_VPO_COMPILE
+ HWAS_INF("invokePresentByAssoc(): DIMM targets:");
+ for (TargetHandleList::const_iterator l_DIMM_Itr = l_funcDIMMTargetList.begin();
+ l_DIMM_Itr != l_funcDIMMTargetList.end();
+ l_DIMM_Itr++)
+ {
+ HWAS_INF(" DIMM: HUID %.8x", TARGETING::get_huid(*l_DIMM_Itr));
+ }
+#endif
+
// Define vectors of TargetInfo structs to be used in presentByAssoc
TargetInfoVector l_targInfo;
TargetInfoVector l_targToDeconfig;
OpenPOWER on IntegriCloud