diff options
author | Bill Hoffa <wghoffa@us.ibm.com> | 2014-03-01 15:40:00 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-03-13 14:46:35 -0500 |
commit | a09df43ed2afd8fd068a2b7c40092cb0d32cb045 (patch) | |
tree | 04ba5acf4454cb7fa30de309ff6efc807e1c5f5b /src/usr/initservice | |
parent | bc4bdbea1d3e3d5635cf9ffef6c774cb3c490ecb (diff) | |
download | talos-hostboot-a09df43ed2afd8fd068a2b7c40092cb0d32cb045.tar.gz talos-hostboot-a09df43ed2afd8fd068a2b7c40092cb0d32cb045.zip |
Send special RC to indicate FSP should continue without node
Change-Id: I75d10275bc14ed7ab203445dda6bdf06c64fc20d
RTC:94664
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9249
Tested-by: Jenkins Server
Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
Reviewed-by: Donald E. Dahle <dedahle@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/initservice')
-rw-r--r-- | src/usr/initservice/baseinitsvc/initservice.C | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/src/usr/initservice/baseinitsvc/initservice.C b/src/usr/initservice/baseinitsvc/initservice.C index ecfa47a3d..fb5e1b5da 100644 --- a/src/usr/initservice/baseinitsvc/initservice.C +++ b/src/usr/initservice/baseinitsvc/initservice.C @@ -43,6 +43,8 @@ #include <sys/mm.h> #include <vmmconst.h> #include <sys/time.h> +#include <hwas/common/hwas_reasoncodes.H> + #include <errl/errludstring.H> @@ -531,8 +533,20 @@ void InitService::init( void *io_ptr ) "InitService: Committing errorlog %p", l_errl ); - // Set the shutdown status to be the plid to force a TI - l_shutdownStatus = l_errl->plid(); + // Catch this particular error type so it can be returned + // as a reasoncode the FSP can catch instead of a plid + if (l_errl->reasonCode() == HWAS::RC_SYSAVAIL_INSUFFICIENT_HW) + { + TRACFCOMP( g_trac_initsvc, + "InitService: Returning reasoncode 0x%08x to the FSP", + HWAS::RC_SYSAVAIL_INSUFFICIENT_HW); + l_shutdownStatus = HWAS::RC_SYSAVAIL_INSUFFICIENT_HW; + } + else + { + // Set the shutdown status to be the plid to force a TI + l_shutdownStatus = l_errl->plid(); + } errlCommit( l_errl, INITSVC_COMP_ID ); |