From d0e2fddc76ff2b6e80870fc233e4ce679a90db3b Mon Sep 17 00:00:00 2001 From: Dan Crowell Date: Wed, 3 Jul 2019 08:28:24 -0500 Subject: Add option to factory reset nvdimms Added a factory reset function along with a overridable attribute (ATTR_FORCE_NVDIMM_RESET) to trigger the reset during boot. Change-Id: Ib39675e53d693ede897ace0f4432e104dcf8062e Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80293 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Daniel M Crowell --- src/usr/targeting/common/xmltohb/attribute_types.xml | 15 +++++++++++++++ src/usr/targeting/common/xmltohb/target_types.xml | 3 +++ 2 files changed, 18 insertions(+) (limited to 'src/usr/targeting') diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml index ff9abf83b..b000c92d5 100644 --- a/src/usr/targeting/common/xmltohb/attribute_types.xml +++ b/src/usr/targeting/common/xmltohb/attribute_types.xml @@ -1733,6 +1733,21 @@ + + + Lab-only trigger to force a factory reset of the NVDIMMs. + NOTE: This will erase any saved image and encryption keys. + + FORCE_NVDIMM_RESET + volatile-zeroed + + + + 0 + + + + FREQ_CORE_CEILING_MHZ diff --git a/src/usr/targeting/common/xmltohb/target_types.xml b/src/usr/targeting/common/xmltohb/target_types.xml index ef5fbc8d6..083819728 100644 --- a/src/usr/targeting/common/xmltohb/target_types.xml +++ b/src/usr/targeting/common/xmltohb/target_types.xml @@ -1847,6 +1847,9 @@ FIELD_TH_P8EX_L3_LINE_DELETES + + FORCE_NVDIMM_RESET + FREQ_CORE_CEILING_MHZ -- cgit v1.2.3