diff options
author | Corey Swenson <cswenson@us.ibm.com> | 2019-02-15 16:01:31 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2019-03-11 17:15:07 -0500 |
commit | 0bfacdff427febebffd7e128744f2f775a756bee (patch) | |
tree | b0dc5279ee6d2f95ca11c94afe9f8d8a9ab5197f /src/include/usr | |
parent | 281c7c93a46370c73ea473a72f579e684577e457 (diff) | |
download | talos-hostboot-0bfacdff427febebffd7e128744f2f775a756bee.tar.gz talos-hostboot-0bfacdff427febebffd7e128744f2f775a756bee.zip |
Add callouts for NVDIMM errors
- Add part callout for NVDIMM controller
- Add part callout for Backup Power Module
- Call new procedure for NVDIMM errors
Change-Id: I33d14b8e4220ced3c632c8174eaed5faca4f088d
RTC:199645
CMVC-Prereq:1077602
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71977
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>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Matt Derksen <mderkse1@us.ibm.com>
Reviewed-by: TSUNG K. YEUNG <tyeung@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r-- | src/include/usr/hwas/common/hwasCallout.H | 9 | ||||
-rw-r--r-- | src/include/usr/targeting/common/util.H | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/include/usr/hwas/common/hwasCallout.H b/src/include/usr/hwas/common/hwasCallout.H index adfed13d5..a91367a26 100644 --- a/src/include/usr/hwas/common/hwasCallout.H +++ b/src/include/usr/hwas/common/hwasCallout.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2018 */ +/* Contributors Listed Below - COPYRIGHT 2012,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -159,6 +159,11 @@ enum epubProcedureID EPUB_PRC_GPU_ISOLATION_PROCEDURE= 0x5E, ///< Problem is related to one or more installed GPUs, ///< Manual isolation is required to determine which one + + EPUB_PRC_NVDIMM_ERR = 0x61, + ///< The diagnostic function detected a problem with the NVDIMM. + ///< Both the NVDIMM and the cable connecting the DIMM to the + ///< Backup Power Module should be replaced }; // from srci/fsp/srci.H @@ -218,6 +223,8 @@ enum partTypeEnum PCI_REF_CLOCK = 11, // @TODO 195920 Remove SMP_CABLE once HWSV code no longer references it SMP_CABLE = 12, //Target is SMPGROUP + BPM_CABLE_PART_TYPE = 13, //Backup Power Module for NVDIMM + NV_CONTROLLER_PART_TYPE = 14, }; enum sensorTypeEnum diff --git a/src/include/usr/targeting/common/util.H b/src/include/usr/targeting/common/util.H index aaf576919..6f0fcb307 100644 --- a/src/include/usr/targeting/common/util.H +++ b/src/include/usr/targeting/common/util.H @@ -204,7 +204,7 @@ uint8_t is_fused_mode( ); * * @return bool - True if the given target is an NVDIMM */ -bool isNVDIMM( TARGETING::Target * i_target ); +bool isNVDIMM( const TARGETING::Target * i_target ); /** * @brief Grab list of NVDIMMs under the processor |