summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas/common
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2018-08-06 08:41:35 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-08-19 22:24:57 -0500
commit5675c7315db0c79fa464149ea38cde09f3195130 (patch)
tree0245f5a028edc609a5b9e0e6bf76203319189daa /src/usr/hwas/common
parent207de5cbd30e805f2f15dc9f2f4bc7e63e774796 (diff)
downloadblackbird-hostboot-5675c7315db0c79fa464149ea38cde09f3195130.tar.gz
blackbird-hostboot-5675c7315db0c79fa464149ea38cde09f3195130.zip
Add flag to HWAS Callout for SMP repair indicator
Used one of the reserved bytes of the callout structure to hold a flag that will indicate if the SMP bus being called out is completely down, and thus eligible for concurrent repair. Change-Id: I299e3393529e811aa006a087de51165b79038201 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63946 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> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/hwas/common')
-rw-r--r--src/usr/hwas/common/hwasCallout.C3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/hwas/common/hwasCallout.C b/src/usr/hwas/common/hwasCallout.C
index a7ea7e224..83f168a29 100644
--- a/src/usr/hwas/common/hwasCallout.C
+++ b/src/usr/hwas/common/hwasCallout.C
@@ -60,6 +60,9 @@ bool retrieveTarget(uint8_t * & io_uData,
{
bool l_err = false;
+ static_assert( sizeof(callout_ud_t) == 20,
+ "callout_ud_t is the wrong size" );
+
// data is either a token indicating it's the
// MASTER_PROCESSOR_CHIP_TARGET_SENTINEL
// or it's the EntityPath - getAttr<TARGETING::ATTR_PHYS_PATH>()
OpenPOWER on IntegriCloud