summaryrefslogtreecommitdiffstats
path: root/src/runtime
diff options
context:
space:
mode:
authorCorey Swenson <cswenson@us.ibm.com>2019-11-20 16:26:49 -0600
committerDaniel M Crowell <dcrowell@us.ibm.com>2019-12-12 15:13:53 -0600
commit5eaa67a665bf3c6d4809718f8f98838c2af80d6b (patch)
treeaa7cde0a48830db2a95fdde05953a53a05c8368b /src/runtime
parentea01d258c6f7493c3c33f8404ce4af3eaf61ef22 (diff)
downloadtalos-hostboot-5eaa67a665bf3c6d4809718f8f98838c2af80d6b.tar.gz
talos-hostboot-5eaa67a665bf3c6d4809718f8f98838c2af80d6b.zip
Always send NV_STATUS to Opal when opal-prd starts
Opal does not persist NVDIMM status state so HBRT must send this info to Opal when opal-prd starts. Change-Id: I0771c63ff2857f9b70fbfad5760267e3da463009 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/87541 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: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/rt_main.C7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/runtime/rt_main.C b/src/runtime/rt_main.C
index b8f37e46c..3aa2931e6 100644
--- a/src/runtime/rt_main.C
+++ b/src/runtime/rt_main.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2018 */
+/* Contributors Listed Below - COPYRIGHT 2013,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -166,6 +166,11 @@ runtimeInterfaces_t* rt_start(hostInterfaces_t* intf)
// (HTMGT not compiled in by default)
}
+#ifdef CONFIG_NVDIMM
+ // Update hose with current NV_STATUS
+ rtPost->callSendNvStatus();
+#endif
+
// do any version mismatch fixups
rt_version_fixup();
OpenPOWER on IntegriCloud