diff options
author | Benjamin Weisenbeck <bweisenb@us.ibm.com> | 2017-05-09 12:39:49 -0500 |
---|---|---|
committer | Zane C. Shelley <zshelle@us.ibm.com> | 2017-06-12 14:28:57 -0400 |
commit | ba562c78d6d39f7280b39de3714254309c029c80 (patch) | |
tree | 8a0a1fc3b6f60a00ff3bd57e8772911a61ad6f12 /src/usr/diag/prdf/common/plat/prdfPlatServices_common.H | |
parent | 40ac37664f6c02262770829af2b7ae7a29e6990a (diff) | |
download | talos-hostboot-ba562c78d6d39f7280b39de3714254309c029c80.tar.gz talos-hostboot-ba562c78d6d39f7280b39de3714254309c029c80.zip |
PRD: XBUS Lane Repair
Change-Id: I1e89bdcdd42fbeb720dc230506dba752b4ae1150
RTC: 136120
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40287
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com>
Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41491
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/common/plat/prdfPlatServices_common.H')
-rwxr-xr-x | src/usr/diag/prdf/common/plat/prdfPlatServices_common.H | 54 |
1 files changed, 22 insertions, 32 deletions
diff --git a/src/usr/diag/prdf/common/plat/prdfPlatServices_common.H b/src/usr/diag/prdf/common/plat/prdfPlatServices_common.H index 8688892ce..5a52bc530 100755 --- a/src/usr/diag/prdf/common/plat/prdfPlatServices_common.H +++ b/src/usr/diag/prdf/common/plat/prdfPlatServices_common.H @@ -132,47 +132,46 @@ void collectSBE_FFDC(TARGETING::TargetHandle_t i_procTarget); * @brief Calls HWP to read newly failed bus lanes * @param i_rxBusTgt Target of the receiving end of the bus * @param o_rxFailLanes Vector of failed lanes + * @param i_clkGrp Clock group * @return Non-SUCCESS if an internal function fails, SUCCESS otherwise. */ -/* TODO RTC 136120 -int32_t readErepair(TARGETING::TargetHandle_t i_rxBusTgt, - std::vector<uint8_t> &o_rxFailLanes); -*/ +int32_t readErepairXbus(TARGETING::TargetHandle_t i_rxBusTgt, + std::vector<uint8_t> &o_rxFailLanes, + uint8_t i_clkGrp); /** * @brief Calls HWP to clear FIRs after a lane repair event * @param i_rxBusTgt Target of the receiving end of the bus + * @param i_clkGrp Clock group * @return Non-SUCCESS if an internal function fails, SUCCESS otherwise. */ -/* TODO RTC 136120 -int32_t clearIOFirs(TARGETING::TargetHandle_t i_rxBusTgt); -*/ +int32_t clearIOFirsXbus(TARGETING::TargetHandle_t i_rxBusTgt); /** * @brief Calls HWP to power down failed lanes * @param i_rxBusTgt Target of the receiving end of the bus * @param i_rxFailLanes Vector of rx failed lanes * @param i_txFailLanes Vector of tx failed lanes + * @param i_clkGrp Clock group * @return Non-SUCCESS if an internal function fails, SUCCESS otherwise. */ -/* TODO RTC 136120 -int32_t powerDownLanes(TARGETING::TargetHandle_t i_rxBusTgt, - const std::vector<uint8_t> &i_rxFailLanes, - const std::vector<uint8_t> &i_txFailLanes); -*/ +int32_t powerDownLanesXbus(TARGETING::TargetHandle_t i_rxBusTgt, + const std::vector<uint8_t> &i_rxFailLanes, + const std::vector<uint8_t> &i_txFailLanes, + uint8_t i_clkGrp); /** * @brief Calls erepair accessor procedure get failed lanes from VPD * @param i_rxBusTgt Target of the receiving end of the bus * @param o_rxFailLanes Vector of rx failed lanes * @param o_txFailLanes Vector of tx failed lanes + * @param i_clkGrp Clock group * @return Non-SUCCESS if an internal function fails, SUCCESS otherwise. */ -/* TODO RTC 136120 -int32_t getVpdFailedLanes(TARGETING::TargetHandle_t i_rxBusTgt, - std::vector<uint8_t> &o_rxFailLanes, - std::vector<uint8_t> &o_txFailLanes); -*/ +int32_t getVpdFailedLanesXbus(TARGETING::TargetHandle_t i_rxBusTgt, + std::vector<uint8_t> &o_rxFailLanes, + std::vector<uint8_t> &o_txFailLanes, + uint8_t i_clkGrp); /** * @brief Calls erepair prcd to set failed lanes in vpd and check threshold @@ -180,24 +179,15 @@ int32_t getVpdFailedLanes(TARGETING::TargetHandle_t i_rxBusTgt, * @param i_txBusTgt Target of the tranmitting end of the bus * @param i_rxFailLanes Vector of rx failed lanes * @param o_thrExceeded True if these failed lanes exceeded erepair threshold + * @param i_clkGrp Clock group * @return Non-SUCCESS if an internal function fails, SUCCESS otherwise. */ -/* TODO RTC 136120 -int32_t setVpdFailedLanes(TARGETING::TargetHandle_t i_rxBusTgt, - TARGETING::TargetHandle_t i_txBusTgt, - std::vector<uint8_t> &i_rxFailLanes, - bool & o_thrExceeded); -*/ +int32_t setVpdFailedLanesXbus(TARGETING::TargetHandle_t i_rxBusTgt, + TARGETING::TargetHandle_t i_txBusTgt, + std::vector<uint8_t> &i_rxFailLanes, + bool & o_thrExceeded, + uint8_t i_clkGrp); -/** - * @brief Calls io_fir_isolation HWP and commits FAPI errorlog containing - * additional FFDC - * @param i_rxBusTgt Target of the receiving end of the bus - * @return SUCCESS - */ -/* TODO RTC 136120 -int32_t erepairFirIsolation(TARGETING::TargetHandle_t i_rxBusTgt); -*/ //############################################################################## //## Memory specific functions |