summaryrefslogtreecommitdiffstats
path: root/src/build/debug/Hostboot
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2018-01-10 11:07:59 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-01-15 22:36:51 -0500
commit1e973575493db7b15d6cd36613034e3ea17ca900 (patch)
tree7b05bb79e0352879f33da0cfbf08c97d51b46af3 /src/build/debug/Hostboot
parentf7a5547478eae53e6623164b8faacfaf6e721cb1 (diff)
downloadtalos-hostboot-1e973575493db7b15d6cd36613034e3ea17ca900.tar.gz
talos-hostboot-1e973575493db7b15d6cd36613034e3ea17ca900.zip
Expand Hostboot to 64MB
We hit out-of-memory errors while trying to boot a Opal system due to the large amount of memory used by the PM procedures and the pinning of memory in secure mode. Also did some other rearranging of the pinned memory sections to get some space back. Change-Id: I61f219d7f32871a39b236d963bae893a6ef0ce0e CQ: SW413191 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51724 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: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/build/debug/Hostboot')
-rwxr-xr-xsrc/build/debug/Hostboot/Dump.pm10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/build/debug/Hostboot/Dump.pm b/src/build/debug/Hostboot/Dump.pm
index cf1b684a7..bc3dca7b8 100755
--- a/src/build/debug/Hostboot/Dump.pm
+++ b/src/build/debug/Hostboot/Dump.pm
@@ -6,7 +6,7 @@
#
# OpenPOWER HostBoot Project
#
-# Contributors Listed Below - COPYRIGHT 2012,2017
+# Contributors Listed Below - COPYRIGHT 2012,2018
# [+] International Business Machines Corp.
#
#
@@ -37,6 +37,7 @@ use constant MEMSTATE_HALF_CACHE => 0x4;
use constant MEMSTATE_REDUCED_CACHE => 0x8;
use constant MEMSTATE_FULL_CACHE => 0xa;
use constant MEMSTATE_MS_48MEG => 0x30;
+use constant MEMSTATE_MS_64MEG => 0x40;
use constant _KB => 1024;
use constant _MB => 1024 * 1024;
@@ -75,6 +76,10 @@ our %memory_maps = (
# Add next 38MB after we expand to memory.
[ 10 * _MB, 38 * _MB
]
+ MEMSTATE_MS_64MEG() =>
+ # Add next 54MB after we expand to memory.
+ [ 10 * _MB, 54 * _MB
+ ]
);
# Map the current state to the combined states available.
@@ -91,6 +96,9 @@ our %memory_states = (
MEMSTATE_MS_48MEG() => [ MEMSTATE_NO_MEM,
MEMSTATE_HALF_CACHE, MEMSTATE_REDUCED_CACHE,
MEMSTATE_FULL_CACHE, MEMSTATE_MS_48MEG ]
+ MEMSTATE_MS_64MEG() => [ MEMSTATE_NO_MEM,
+ MEMSTATE_HALF_CACHE, MEMSTATE_REDUCED_CACHE,
+ MEMSTATE_FULL_CACHE, MEMSTATE_MS_64MEG ]
);
sub main
OpenPOWER on IntegriCloud