summaryrefslogtreecommitdiffstats
path: root/src/include/usr/hwas
diff options
context:
space:
mode:
authorPrachi Gupta <pragupta@us.ibm.com>2017-02-24 11:30:38 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-03-04 12:15:08 -0500
commitc710ea27fa82434eda5202ee93cfef40fe141fd1 (patch)
tree4e9e25dbcdbda88f2d13cd14724e9b8b5b879c5a /src/include/usr/hwas
parent6568a79723fd551cde4f4a3a971e8ec1e0fbfdfb (diff)
downloadtalos-hostboot-c710ea27fa82434eda5202ee93cfef40fe141fd1.tar.gz
talos-hostboot-c710ea27fa82434eda5202ee93cfef40fe141fd1.zip
Fixing XBUS PG lookup to mark both E44D and E55D as valid entries
Currently, there are two version of the MVPD PG keyword: - E44D == XBUS0 bad - E45D and E55D == XBUS0 and 2 bad Spec indicates that both iox (second nibble) and pbiox (third nibble) are bad for sforza and monza type modules. We support generically the following cases: - 0xE50D --> xbus chiplet good - 0xE40D --> xbus chiplet good and rely solely on the pbiox as the Xbus target indicator (0x0040, 0x0020, 0x0010) for all types of chips. Change-Id: If7a3c128180321adab083f3e40f2dd0a645318e7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37007 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@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: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/hwas')
-rw-r--r--src/include/usr/hwas/common/hwasCommon.H12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/include/usr/hwas/common/hwasCommon.H b/src/include/usr/hwas/common/hwasCommon.H
index 4a26868b1..3c217c606 100644
--- a/src/include/usr/hwas/common/hwasCommon.H
+++ b/src/include/usr/hwas/common/hwasCommon.H
@@ -163,9 +163,19 @@ const uint32_t VPD_CP00_PG_XBUS_INDEX = 6;
// Nimbus doesn't physically have PBIOX0 and IOX0. IOX0 is
// taken care of by xbus links, need to handle PBIOX0 as part of
// the full chiplet good, so full good is E40D instead of E44D
+// Currently, there are two versions of the MVPD PG keyword:
+// 0xE44D == XBUS0 bad
+// 0xE45D and 0xE55D == XBUS 0,2 bad
+// Spec indicates that both iox (second nibble) and pbiox
+// (third nibble) are bad for sforza and monza type modules.
+// We support generically the following cases:
+// 0xE50D --> xbus chiplet good
+// 0xE40D --> xbus chiplet good
+// and rely solely on the pbiox as the Xbus target indicator
+// (0x0040, 0x0020, 0x0010) for all types of chips.
const uint32_t VPD_CP00_PG_XBUS_GOOD_NIMBUS = 0xE40D;
const uint32_t VPD_CP00_PG_XBUS_GOOD_CUMULUS= 0xE00D;
-const uint32_t VPD_CP00_PG_XBUS_PG_MASK = 0x0070;
+const uint32_t VPD_CP00_PG_XBUS_PG_MASK = 0x00170;
const uint32_t VPD_CP00_PG_XBUS_IOX[3] = {0x0040, 0x0020, 0x0010};
const uint32_t VPD_CP00_PG_MCxx_INDEX[4] = {7, 7, 8, 8}; // by MCS
OpenPOWER on IntegriCloud