summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorCorey Swenson <cswenson@us.ibm.com>2019-08-21 23:26:07 -0500
committerDaniel M Crowell <dcrowell@us.ibm.com>2019-08-27 08:54:51 -0500
commitd8db346a16273bbf66e5b9adc1bd4fc90b2f0e54 (patch)
tree3144a5e4492090b6ceff34d2aed645d1d1d93991 /src/include
parent80f6d1dc0597213782c0fcd159329f260761b27c (diff)
downloadtalos-hostboot-d8db346a16273bbf66e5b9adc1bd4fc90b2f0e54.tar.gz
talos-hostboot-d8db346a16273bbf66e5b9adc1bd4fc90b2f0e54.zip
Add Encryption Enabled bit to NV_STATUS_FLAG
- 0x10: Contents are encrypted Set when encryption is enabled Clear when encryption is disabled Attribute comments should match HDAT Change-Id: I52805f6c8c3f303ce29cf8b8534304dfd0a09821 RTC:214625 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/82638 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: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/isteps/nvdimm/nvdimm.H4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/usr/isteps/nvdimm/nvdimm.H b/src/include/usr/isteps/nvdimm/nvdimm.H
index fca4c22c2..4f7804f3e 100644
--- a/src/include/usr/isteps/nvdimm/nvdimm.H
+++ b/src/include/usr/isteps/nvdimm/nvdimm.H
@@ -252,6 +252,8 @@ bool nvDimmCheckHealthStatusOnSystem();
* NVDIMM_ENCRYPTION_ERROR - set encryption state
* Note: fatal error will stay with target preventing
* PROTECTED status until power is cycled again
+ * ENCRYPTION_ENABLED - contents of nvdimm are encrypted
+ * ENCRYPTION_DISABLED - contents of nvdimm are not encrypted
*/
enum nvdimm_protection_t
{
@@ -262,6 +264,8 @@ enum nvdimm_protection_t
NVDIMM_FATAL_HW_ERROR = 4,
NVDIMM_RISKY_HW_ERROR = 5,
NVDIMM_ENCRYPTION_ERROR = 6,
+ ENCRYPTION_ENABLED = 7,
+ ENCRYPTION_DISABLED = 8,
/* deprecated, still used by PRD */
UNPROTECTED_BECAUSE_ERROR = 4,
};
OpenPOWER on IntegriCloud