summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorMarty Gloff <mgloff@us.ibm.com>2016-12-30 15:25:42 -0600
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2017-02-13 14:16:34 -0500
commit54896a9c0e2dd4991899e3f9ee07766786814b48 (patch)
tree5b803a04a14184d8c011d5a62278e39b4012aa02 /src/include/usr
parent3192051cd7b428aa85469525ce1595ab669332fe (diff)
downloadtalos-hostboot-54896a9c0e2dd4991899e3f9ee07766786814b48.tar.gz
talos-hostboot-54896a9c0e2dd4991899e3f9ee07766786814b48.zip
Disable bad MCAs based on CRP0:Lx keyword data
The CRP0 record has 8 records (L1-L8) that correspond to the 8 ports (MCA targets) for the chip. One of the fields inside the keyword indicates if the port is disabled. This field marks the MCA as non-functional, but the MCA remains present. Change-Id: I2c7c89c9567ec9f048a426b2204b18e10ccda601 RTC:166354 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34256 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/hwas/common/hwasCommon.H7
-rw-r--r--src/include/usr/hwas/hwasplatreasoncodes.H1
2 files changed, 3 insertions, 5 deletions
diff --git a/src/include/usr/hwas/common/hwasCommon.H b/src/include/usr/hwas/common/hwasCommon.H
index 1aa4f12b1..4a26868b1 100644
--- a/src/include/usr/hwas/common/hwasCommon.H
+++ b/src/include/usr/hwas/common/hwasCommon.H
@@ -270,7 +270,6 @@ const uint32_t VPD_VINI_PR_DATA_LENGTH = 8; //@deprecrated
* vector. The caller is responsible for allocating and de-allocating the
* space.
*
- * @param[in] i_proc processor target to read the Lx keyword from
* @param[in] i_mca MCA target indicating which Lx keyword to read
* @param[out] o_lxData pointer to area that will hold the Lx keyword
* read from VPD; must be malloc'ed by the caller,
@@ -279,13 +278,11 @@ const uint32_t VPD_VINI_PR_DATA_LENGTH = 8; //@deprecrated
* @return errlHndl_t valid errlHndl_t handle if there was an error
* NULL if no errors;
*/
-errlHndl_t platReadLx(const TARGETING::TargetHandle_t &i_proc,
- const TARGETING::TargetHandle_t &i_mca,
+errlHndl_t platReadLx(const TARGETING::TargetHandle_t &i_mca,
void *o_lxData);
// constants the platReadLx will use for looking at the VPD data
-const uint32_t VPD_CRP0_LX_HDR_LENGTH = 1;
-const uint32_t VPD_CRP0_LX_DATA_LENGTH = 256;
+const uint32_t VPD_CRP0_LX_HDR_DATA_LENGTH = 256;
const uint32_t VPD_CRP0_LX_FREQ_INDEP_INDEX = 8;
const uint32_t VPD_CRP0_LX_PORT_DISABLED = 0;
diff --git a/src/include/usr/hwas/hwasplatreasoncodes.H b/src/include/usr/hwas/hwasplatreasoncodes.H
index 9e6ea9611..df7d7f5e1 100644
--- a/src/include/usr/hwas/hwasplatreasoncodes.H
+++ b/src/include/usr/hwas/hwasplatreasoncodes.H
@@ -49,6 +49,7 @@ namespace HWAS
RC_GARD_REPOSITORY_FULL = HWAS_COMP_ID | 0x82,
RC_BAD_CHIPID = HWAS_COMP_ID | 0x83,
RC_BAD_LX = HWAS_COMP_ID | 0x84,
+ RC_BAD_MCA = HWAS_COMP_ID | 0x85,
};
};
OpenPOWER on IntegriCloud