diff options
author | Prachi Gupta <pragupta@us.ibm.com> | 2018-04-25 14:23:36 -0500 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2018-04-27 14:54:07 -0400 |
commit | 9e489a4e55630ff825726262406d394da68f2626 (patch) | |
tree | 4ab69e993fd92d1a68a5c2c5ce797d4257a41119 /src/include/usr/hwas | |
parent | 526bef08021c62233717c4aad8b48650f73c3180 (diff) | |
download | talos-hostboot-9e489a4e55630ff825726262406d394da68f2626.tar.gz talos-hostboot-9e489a4e55630ff825726262406d394da68f2626.zip |
wrap_test: OBUS deconfiguration
Due to fabric limitations, we can only have 2 OBUSes
enabled at a time. This commit deconfigures the OBUSes
that do not belong the set of links to enable in
this boot based on attributes.
Change-Id: I15f5e9f3ea186367b9c4d55f4dc2e9b32b251f6d
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57836
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>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com>
Reviewed-by: Roland Veloz <rveloz@us.ibm.com>
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include/usr/hwas')
-rw-r--r-- | src/include/usr/hwas/common/deconfigGard.H | 2 | ||||
-rw-r--r-- | src/include/usr/hwas/common/hwas_reasoncodes.H | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/include/usr/hwas/common/deconfigGard.H b/src/include/usr/hwas/common/deconfigGard.H index ad1e80282..e27836522 100644 --- a/src/include/usr/hwas/common/deconfigGard.H +++ b/src/include/usr/hwas/common/deconfigGard.H @@ -186,6 +186,8 @@ public: DECONFIGURED_BY_NO_PARENT_MC, // BASE | 0x19 DECONFIGURED_BY_NO_PARENT_MI, // BASE | 0x1A + DECONFIGURED_BY_NO_MATCHING_LINK_SET, // BASE | 0x1B + // mask - these bits mean it's a PLID and not an enum DECONFIGURED_BY_PLID_MASK = 0xFFFF0000, }; diff --git a/src/include/usr/hwas/common/hwas_reasoncodes.H b/src/include/usr/hwas/common/hwas_reasoncodes.H index 54e5ec494..94248a5d4 100644 --- a/src/include/usr/hwas/common/hwas_reasoncodes.H +++ b/src/include/usr/hwas/common/hwas_reasoncodes.H @@ -35,6 +35,7 @@ namespace HWAS MOD_DECONFIG_TARGETS_FROM_GARD = 0x04, MOD_VALIDATE_EC_LEVELS = 0x05, MOD_RUNTIME_DECONFIG = 0x06, + MOD_DISABLE_OBUS = 0x07, }; enum HwasReasonCode @@ -62,6 +63,7 @@ namespace HWAS RC_INVALID_PARAM = HWAS_COMP_ID | 0x11, RC_NOT_AT_RUNTIME = HWAS_COMP_ID | 0x12, RC_NULL_TARGET = HWAS_COMP_ID | 0x13, + RC_ONLY_TWO_OBUS_SHOULD_BE_CONFIGURED = HWAS_COMP_ID | 0x14, }; }; |