From 9c39127b1911e8df281d5f88b4364d43557cfbad Mon Sep 17 00:00:00 2001 From: Marty Gloff Date: Thu, 29 Jun 2017 16:53:21 -0500 Subject: Bringup memory remapping for no memory behind master processor Need to remove check in HWAS to ensure there is memory for master processor. An error log was added temporarily after detecting that proc0 lacked memory behind it. This error log is being removed so that the memory remap processing can take place. Change-Id: Ia7a4ed689c8bad9f1de94f63af210a463000ad9c RTC: 149250 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42628 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Matt Derksen Reviewed-by: Christian R. Geddes Reviewed-by: Daniel M. Crowell --- src/usr/hwas/common/hwas.C | 60 ---------------------------------------------- 1 file changed, 60 deletions(-) (limited to 'src/usr/hwas/common/hwas.C') diff --git a/src/usr/hwas/common/hwas.C b/src/usr/hwas/common/hwas.C index 76a4c4916..c2636baf7 100644 --- a/src/usr/hwas/common/hwas.C +++ b/src/usr/hwas/common/hwas.C @@ -1765,66 +1765,6 @@ errlHndl_t checkMinimumHardware(const TARGETING::ConstTargetHandle_t i_nodeOrSys // errl is now NULL } // if no dimms - //@fixme-RTC:149250-Remove when we have XOR Mask Support - // check here for functional dimms behind the master proc - targetService().getAssociated(l_dimms, l_pMasterProc, - TargetService::CHILD_BY_AFFINITY, TargetService::ALL, - &l_checkExprFunctional); - HWAS_DBG( "checkMinimumHardware: %d functional dimms behind master proc %.8X", - l_dimms.size(), get_huid(l_pMasterProc) ); - - if (l_dimms.empty()) - { - HWAS_ERR( "Insufficient hardware to continue IPL (func DIMM behind master proc)"); - - if(o_bootable) - { - *o_bootable = false; - break; - } - // determine some numbers to help figure out what's up.. - TargetHandleList l_plist; - PredicatePostfixExpr l_checkExprPresent; - l_checkExprPresent.push(&l_dimm).push(&l_present).And(); - targetService().getAssociated(l_plist, l_pMasterProc, - TargetService::CHILD_BY_AFFINITY, TargetService::ALL, - &l_checkExprPresent); - uint32_t dimms_present = l_plist.size(); - - /*@ - * @errortype - * @severity ERRL_SEV_UNRECOVERABLE - * @moduleid MOD_CHECK_MIN_HW - * @reasoncode RC_SYSAVAIL_NO_MEMORY_FUNC_MASTER - * @devdesc checkMinimumHardware found no - * functional dimms behind proc0 - * @custdesc A problem occurred during the IPL of the - * system: Found no functional dimm cards. - * @userdata1[00:31] HUID of master proc - * @userdata2[00:31] number of present, non-functional dimms - */ - const uint64_t userdata1 = - (static_cast(get_huid(l_pMasterProc)) << 32); - const uint64_t userdata2 = - (static_cast(dimms_present) << 32); - l_errl = hwasError(ERRL_SEV_UNRECOVERABLE, - MOD_CHECK_MIN_HW, - RC_SYSAVAIL_NO_MEMORY_FUNC, - userdata1, userdata2); - - // call out the procedure to find the deconfigured part. - hwasErrorAddProcedureCallout( l_errl, - EPUB_PRC_FIND_DECONFIGURED_PART, - SRCI_PRIORITY_HIGH ); - - // if we already have an error, link this one to the earlier; - // if not, set the common plid - hwasErrorUpdatePlid( l_errl, l_commonPlid ); - errlCommit(l_errl, HWAS_COMP_ID); - // errl is now NULL - } // if no dimms - //END section to remove - // There needs to be either functional MCS/MCAs (NIMBUS) or MCS/MBAs // (CUMULUS). Check for MCAs first. PredicateCTM l_mca(CLASS_UNIT, TYPE_MCA); -- cgit v1.2.1