summaryrefslogtreecommitdiffstats
path: root/src/usr/fapi2/test
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2018-01-22 11:15:33 -0600
committerZane C. Shelley <zshelle@us.ibm.com>2018-01-25 16:43:33 -0500
commit2935800fa74d6c18c77b322b45930d250ab47be7 (patch)
treecb0085c0f9fc804394f8cdee0cf882ee89d4bafd /src/usr/fapi2/test
parentafa7087e71fedb6d50b8874231420449834e7d1b (diff)
downloadtalos-hostboot-2935800fa74d6c18c77b322b45930d250ab47be7.tar.gz
talos-hostboot-2935800fa74d6c18c77b322b45930d250ab47be7.zip
PRD: generic solution to associate HWP failures with PRD isolation
Change-Id: Id5a767cc2475e4a7cc2003eeb74af6c07369315a CQ: SW413495 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52285 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Diffstat (limited to 'src/usr/fapi2/test')
-rw-r--r--src/usr/fapi2/test/fapi2VerifyPrdAttrTest.C43
1 files changed, 1 insertions, 42 deletions
diff --git a/src/usr/fapi2/test/fapi2VerifyPrdAttrTest.C b/src/usr/fapi2/test/fapi2VerifyPrdAttrTest.C
index 6e4b7fff8..2a5ab6d40 100644
--- a/src/usr/fapi2/test/fapi2VerifyPrdAttrTest.C
+++ b/src/usr/fapi2/test/fapi2VerifyPrdAttrTest.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2017 */
+/* Contributors Listed Below - COPYRIGHT 2017,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -137,47 +137,6 @@ uint32_t verifyHwpPrdAssociaton()
FAPI_INF("...verifyHwpPrdAssociation MCA done: PLID %08X", l_plid);
- // ==============================================================
- // HW procedures might pass DIMM so verify that works
- // ==============================================================
- TargetHandleList l_dimmList;
- getChildAffinityTargets( l_dimmList, l_mcaList[0],
- TARGETING::CLASS_NA,
- TARGETING::TYPE_DIMM );
-
- if (l_dimmList.size() >= 1)
- {
- FAPI_INF("...verifyHwpPrdAssociation DIMM:%d",
- l_dimmList.size() );
-
- // Using masterProc target as FAPI core target for test
- Target<fapi2::TARGET_TYPE_CORE> fapi2_dimmTarget(l_dimmList[0]);
- // We have to pass a FAPI RC so make one up
- l_fapiRc = verifyPrd_get_fapi2_error();
-
- // Init the attribute so we know if it changes
- l_mcaList[0]->setAttr<TARGETING::ATTR_PRD_HWP_PLID>( 0x33333333 );
-
- // Create/commit elog associated with PRD PLID attribute
- fapi2::log_related_error( fapi2_dimmTarget, l_fapiRc );
-
- // Verify that PLID attribute changed
- l_plid = l_mcaList[0]->getAttr<TARGETING::ATTR_PRD_HWP_PLID>();
-
- if (0x33333333 == l_plid)
- { // PLID did not change so routine failed somehow
- TS_FAIL(" verifyHwpPrdAssociation DIMM No PLID change:%08X",
- l_plid);
- l_rc = 1;
- }
- else
- { // PLID was altered, so that is good
- TS_TRACE(" verifyHwpPrdAssociation GOOD on DIMM");
- }
-
- FAPI_INF("...verifyHwpPrdAssociation DIMM done: PLID %08X", l_plid);
- } // end if any DIMMs
-
} // end if any MCAs
OpenPOWER on IntegriCloud