Skip to content

Commit

Permalink
Make lid_load failures visible logs
Browse files Browse the repository at this point in the history
Changing the default severity of lid load error logs to PREDICTIVE
so that they are visible for debug.

Change-Id: I7e4374d7ef04a1b54c57a666dfd1bc0d47a87bea
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66604
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Matt Derksen <mderkse1@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
  • Loading branch information
dcrowell77 authored and wghoffa committed Oct 1, 2018
1 parent 6924171 commit c33d520
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/usr/util/runtime/utillidmgr_rt.C
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2013,2017 */
/* Contributors Listed Below - COPYRIGHT 2013,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -226,15 +226,15 @@ errlHndl_t UtilLidMgr::loadLid()
if (0 != rc)
{
/*@
* @errortype ERRL_SEV_INFORMATIONAL
* @errortype
* @moduleid Util::UTIL_LIDMGR_RT
* @reasoncode Util::UTIL_LIDMGR_RC_FAIL
* @userdata1 Return code from lid_load call.
* @userdata2 Lid number
* @devdesc Unable to load LID via host interface.
*/
l_errl = new ERRORLOG::ErrlEntry(
ERRORLOG::ERRL_SEV_INFORMATIONAL,
ERRORLOG::ERRL_SEV_PREDICTIVE,
Util::UTIL_LIDMGR_RT,
Util::UTIL_LIDMGR_RC_FAIL,
rc,
Expand All @@ -248,14 +248,14 @@ errlHndl_t UtilLidMgr::loadLid()
if( iv_lidSize == 0 )
{
/*@
* @errortype ERRL_SEV_INFORMATIONAL
* @errortype
* @moduleid Util::UTIL_LIDMGR_RT
* @reasoncode Util::UTIL_LIDMGR_NOT_FOUND
* @userdata1 Lid number
* @devdesc Unable to find Lid.
*/
l_errl = new ERRORLOG::ErrlEntry(
ERRORLOG::ERRL_SEV_INFORMATIONAL,
ERRORLOG::ERRL_SEV_PREDICTIVE,
Util::UTIL_LIDMGR_RT,
Util::UTIL_LIDMGR_NOT_FOUND,
iv_lidId,
Expand All @@ -277,14 +277,14 @@ errlHndl_t UtilLidMgr::cleanup()
if (l_rc)
{
/*@
* @errortype ERRL_SEV_INFORMATIONAL
* @errortype
* @moduleid Util::UTIL_LIDMGR_RT
* @reasoncode Util::UTIL_LIDMGR_UNLOAD_RC_FAIL
* @userdata1 Return code from lid_unload call.
* @devdesc Unable to unload LID via host interface.
*/
l_err = new ERRORLOG::ErrlEntry(
ERRORLOG::ERRL_SEV_INFORMATIONAL,
ERRORLOG::ERRL_SEV_PREDICTIVE,
Util::UTIL_LIDMGR_RT,
Util::UTIL_LIDMGR_UNLOAD_RC_FAIL,
l_rc);
Expand Down

0 comments on commit c33d520

Please sign in to comment.