summaryrefslogtreecommitdiffstats
path: root/src/usr/runtime
diff options
context:
space:
mode:
authorIlya Smirnov <ismirno@us.ibm.com>2018-09-26 10:35:24 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-11-13 13:23:59 -0600
commit1aae1ba2930ceb5d72b9855c8003c1d8371c0791 (patch)
tree4da3ed64fb3558db00e68b659c9bfdde79d26258 /src/usr/runtime
parentde9ec8dc9ca52d350d02c0862409fba939692c1e (diff)
downloadtalos-hostboot-1aae1ba2930ceb5d72b9855c8003c1d8371c0791.tar.gz
talos-hostboot-1aae1ba2930ceb5d72b9855c8003c1d8371c0791.zip
Move HOMER BAR to Secure Memory in SMF Mode
This commits enables HOMER BAR to point to the top of the secure memory on SMF-enabled systems. Consequently, the HOMER image and hostboot reserved memory will be moved to the secure memory if SMF is enabled. Change-Id: I37c7527b06688a41e57f14b4107ff53a507ffae8 RTC: 198825 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66702 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/runtime')
-rw-r--r--src/usr/runtime/populate_hbruntime.C5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr/runtime/populate_hbruntime.C b/src/usr/runtime/populate_hbruntime.C
index 340ee3de7..5c0596f35 100644
--- a/src/usr/runtime/populate_hbruntime.C
+++ b/src/usr/runtime/populate_hbruntime.C
@@ -80,6 +80,7 @@
#include <errno.h>
#include <vmmconst.h>
#include <runtime/customize_attrs_for_payload.H>
+#include <isteps/mem_utils.H>
namespace RUNTIME
{
@@ -1171,7 +1172,7 @@ errlHndl_t populate_HbRsvMem(uint64_t i_nodeId, bool i_master_node)
// "supported offset values are all values of the
// form i x 2 exp `r`, where 0 <= i <= 2 exp `j`, and j and r are
// implementation-dependent values having the properties that
- // 12 <= r <= 26". (Texted quoted from PowerISA Doc)
+ // 12 <= r <= 26". (Texted quoted from PowerISA Doc)
// Basis the above, value of r is 26, which sets the offset
// granularity to 64MB, therefore value of i is '2', which makes the
// offset to 128MB.
@@ -1201,7 +1202,7 @@ errlHndl_t populate_HbRsvMem(uint64_t i_nodeId, bool i_master_node)
}
}
// Opal data goes at top_of_mem
- l_topMemAddr = TARGETING::get_top_mem_addr();
+ l_topMemAddr = ISTEP::get_top_mem_addr();
assert (l_topMemAddr != 0,
"populate_HbRsvMem: Top of memory was 0!");
OpenPOWER on IntegriCloud