summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2018-06-05 16:27:07 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2018-07-24 12:41:39 -0500
commit8f9c60506bc93f37772d2bf95531d5db5426cf50 (patch)
treea73f3c23e29b09e809b1c0153b2e2d5a480926a5 /src/usr/hwas
parentd1c85ffcab108ee526f5a0c91ce3c15996541633 (diff)
downloadtalos-hostboot-8f9c60506bc93f37772d2bf95531d5db5426cf50.tar.gz
talos-hostboot-8f9c60506bc93f37772d2bf95531d5db5426cf50.zip
Skip call to FSP for runtime deconfigs if there is no FSP
HBRT sends a message to the FSP when a runtime deconfig takes place. Obviously if there is no FSP present we shouldn't send that message. Change-Id: I6b778b3b54d30612585b2718b17b33d4a60a7407 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/62143 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/hwas')
-rw-r--r--src/usr/hwas/hwasPlatDeconfigGard.C12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/usr/hwas/hwasPlatDeconfigGard.C b/src/usr/hwas/hwasPlatDeconfigGard.C
index 419ac3cdf..2201583f6 100644
--- a/src/usr/hwas/hwasPlatDeconfigGard.C
+++ b/src/usr/hwas/hwasPlatDeconfigGard.C
@@ -43,6 +43,7 @@
#include <sys/mm.h>
#include <config.h>
#include <initservice/istepdispatcherif.H>
+#include <initservice/initserviceif.H>
#include <pnor/pnorif.H>
@@ -593,6 +594,13 @@ void DeconfigGard::platPostDeconfigureTarget(
do
{
+ // This path is only relevant for FSP systems
+ if( !INITSERVICE::spBaseServicesEnabled() )
+ {
+ break;
+ }
+
+ // Make sure we have all of our function pointers setup right
if ((nullptr == g_hostInterfaces) ||
(nullptr == g_hostInterfaces->firmware_request))
{
@@ -612,7 +620,7 @@ void DeconfigGard::platPostDeconfigureTarget(
HWAS::RC_RT_NULL_FIRMWARE_REQUEST_PTR,
get_huid(i_pTarget),
0,
- true);
+ ErrlEntry::ADD_SW_CALLOUT);
break;
}
@@ -648,7 +656,7 @@ void DeconfigGard::platPostDeconfigureTarget(
HWAS::RC_RT_NULL_FIRMWARE_MSG_PTR,
get_huid(i_pTarget),
0,
- true);
+ ErrlEntry::ADD_SW_CALLOUT);
break;
}
OpenPOWER on IntegriCloud