summaryrefslogtreecommitdiffstats
path: root/src/include/runtime/interface.h
diff options
context:
space:
mode:
authorRoland Veloz <rveloz@us.ibm.com>2019-07-18 02:37:26 -0500
committerDaniel M Crowell <dcrowell@us.ibm.com>2019-07-31 16:13:03 -0500
commiteafe3e3d5719c9becb864f60daa525f8ce2c38c0 (patch)
tree98be7950a9d14637fe6d1202a7727ba965c96b77 /src/include/runtime/interface.h
parentf088a0dc26ed66496d593af1c0c291ac44f4cb4f (diff)
downloadtalos-hostboot-eafe3e3d5719c9becb864f60daa525f8ce2c38c0.tar.gz
talos-hostboot-eafe3e3d5719c9becb864f60daa525f8ce2c38c0.zip
Added support for checking on the health status of an NVDIMM
* The check for the health status piggy backs off the current NVDIMM operation interface. * Added the method doNvDimmCheckHealthStatus to perform the health check status of the individual NVDIMMs. * Added wrapper methods nvDimmCheckHealthStatusOnSystem and nvdimmCheckHealthStatus that call the doNvDimmCheckHealthStatus * Added an interface in the runtime commands to call make the check health status call. Change-Id: Iefa1fcf5cb6a13c496fd776cdc34ade58ae0612b CQ:SW469962 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80589 Tested-by: Jenkins Server <pfd-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> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V Swenson <cswenson@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/runtime/interface.h')
-rw-r--r--src/include/runtime/interface.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/runtime/interface.h b/src/include/runtime/interface.h
index 7d66f0ff6..9a0cb478e 100644
--- a/src/include/runtime/interface.h
+++ b/src/include/runtime/interface.h
@@ -579,6 +579,8 @@ typedef struct hostInterfaces
// error out.
enum NVDIMM_Op_t: uint16_t
{
+ /// The following operations pertain to arming/disarming
+ /// the NVDIMM
// Disarm the NV logic such that the next save attempt is a NOOP
HBRT_FW_NVDIMM_DISARM = 0x0001,
// Disable encryption on the NVDIMM and clear saved values from FW
@@ -589,6 +591,12 @@ typedef struct hostInterfaces
HBRT_FW_NVDIMM_ENABLE_ENCRYPTION = 0x0008,
// Arm the NV logic
HBRT_FW_NVDIMM_ARM = 0x0010,
+
+ /// The following operation pertains to the Health of the NVDIMM
+ /// This operation can be performed with the arming/disarming
+ /// operation, these operation types are orthogonal to each other
+ // Manufacturing energy source(ES) health check request
+ HBRT_FW_MNFG_ES_HEALTH_CHECK = 0x0020,
};
// NVDIMM (PHYP -> HBRT) message to request NVDIMM operation(s)
OpenPOWER on IntegriCloud