summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas/common/pgLogic.C
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2019-02-16 15:22:54 -0600
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2019-02-19 08:46:33 -0600
commit5c187fcbf2bc91d5870b49153a4fdf53c91ce1d7 (patch)
treeb002913f3363eda8f8f0bb57d42c0db63129ae61 /src/usr/hwas/common/pgLogic.C
parentb61b4966edc3812a3c1a5f89dd571de832e06e2d (diff)
downloadtalos-hostboot-5c187fcbf2bc91d5870b49153a4fdf53c91ce1d7.tar.gz
talos-hostboot-5c187fcbf2bc91d5870b49153a4fdf53c91ce1d7.zip
Handle partial-bad MCS logic correctly
One of the rewritten PG rules was incorrect for modules that have a MCS marked bad, e.g. Sforza. Change-Id: I30672b51f81ba74b51ece6e878e462106c090350 CQ: SW457231 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72010 Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Ilya Smirnov <ismirno@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: Matthew Raybuck <matthew.raybuck@ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/hwas/common/pgLogic.C')
-rw-r--r--src/usr/hwas/common/pgLogic.C4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/usr/hwas/common/pgLogic.C b/src/usr/hwas/common/pgLogic.C
index 7c88e9786..307527fc3 100644
--- a/src/usr/hwas/common/pgLogic.C
+++ b/src/usr/hwas/common/pgLogic.C
@@ -169,6 +169,10 @@ namespace PARTIAL_GOOD
const size_t MCS_R1_CU_MASK = 0x0003;
// Rule 2 only applies to chip units 2 & 3
const size_t MCS_R2_CU_MASK = 0x000C;
+ // Rule 3 only applies to chip units 0 & 2
+ const size_t MCS_R3_CU_MASK = 0x0005;
+ // Rule 4 only applies to chip units 1 & 3
+ const size_t MCS_R4_CU_MASK = 0x000A;
// NPU
// PG/AG Masks
OpenPOWER on IntegriCloud