diff options
author | Corey Swenson <cswenson@us.ibm.com> | 2019-03-27 13:20:52 -0500 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2019-04-03 16:07:13 -0500 |
commit | e5622fb032dc8b23627d8ca06d82a10b612d5435 (patch) | |
tree | d53acd0c4d86cf2d1078f5901dc90cab297c36f7 /src/include/usr | |
parent | 16378af2527d53c9b35416848cebb3b34a0b73e0 (diff) | |
download | talos-hostboot-e5622fb032dc8b23627d8ca06d82a10b612d5435.tar.gz talos-hostboot-e5622fb032dc8b23627d8ca06d82a10b612d5435.zip |
Insufficient Resources check needs to handle NVDIMM logic
Check added to platCheckMinimumHardware for Hostboot running
on a proc with only NVDIMMs and no regular dimms.
Change-Id: Ia8d413182209070b96d4d1cd61a3b4f3b713a596
RTC:201194
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75110
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@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: Matt Derksen <mderkse1@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@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/hwasPlat.H | 6 | ||||
-rw-r--r-- | src/include/usr/hwas/hwasPlatReasonCodes.H | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/include/usr/hwas/hwasPlat.H b/src/include/usr/hwas/hwasPlat.H index 6beb85aa7..8ccddd588 100644 --- a/src/include/usr/hwas/hwasPlat.H +++ b/src/include/usr/hwas/hwasPlat.H @@ -63,6 +63,12 @@ void markTargetChanged(TARGETING::TargetHandle_t i_target) {}; #endif +/** + * @brief Helper function to check if HB is running + * from an NVDIMM and not a regular DIMM + */ +errlHndl_t checkForHbOnNvdimm(); + // default unknown EC level constexpr TARGETING::ATTR_EC_type INVALID__ATTR_EC = 0xFF; diff --git a/src/include/usr/hwas/hwasPlatReasonCodes.H b/src/include/usr/hwas/hwasPlatReasonCodes.H index 6ca33397a..a0ea1f962 100644 --- a/src/include/usr/hwas/hwasPlatReasonCodes.H +++ b/src/include/usr/hwas/hwasPlatReasonCodes.H @@ -38,6 +38,7 @@ namespace HWAS MOD_PLAT_DECONFIG_GARD = 0x81, MOD_PLAT_READIDEC = 0x82, MOD_PLAT_READLX = 0x83, + MOD_CHECK_HB_NVDIMM = 0x84, }; enum HwasPlatReasonCode @@ -52,6 +53,7 @@ namespace HWAS RC_BAD_MCA = HWAS_COMP_ID | 0x85, RC_RT_NULL_FIRMWARE_REQUEST_PTR = HWAS_COMP_ID | 0x86, RC_RT_NULL_FIRMWARE_MSG_PTR = HWAS_COMP_ID | 0x87, + RC_HB_PROC_ONLY_NVDIMM = HWAS_COMP_ID | 0x88, }; }; |