summaryrefslogtreecommitdiffstats
path: root/src/kernel
diff options
context:
space:
mode:
authorNick Bofferding <bofferdn@us.ibm.com>2017-07-27 00:11:34 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-08-31 09:52:13 -0400
commitb560b1da8a6ee6350315ac2c8ad4bafd22ea54c5 (patch)
treed5079cfe38255660e0fd9e0c893fefa87e9e443b /src/kernel
parent68cc9f79fbafd80ded80a0ee66bf7eab5e85d6b9 (diff)
downloadtalos-hostboot-b560b1da8a6ee6350315ac2c8ad4bafd22ea54c5.tar.gz
talos-hostboot-b560b1da8a6ee6350315ac2c8ad4bafd22ea54c5.zip
Increase max hostboot memory to 48 MB
- Extends hostboot memory from 32 to 48 MB to handle large code loads - Dump 48 MB in hostboot dump script - Support 48 MB hostboot size in debug framework Change-Id: I3e64e85a7e2455bc4add2f2db9b48f57db433c7d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43735 Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-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> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/basesegment.C12
-rw-r--r--src/kernel/syscall.C2
2 files changed, 7 insertions, 7 deletions
diff --git a/src/kernel/basesegment.C b/src/kernel/basesegment.C
index 90d61f1b2..2de6973e0 100644
--- a/src/kernel/basesegment.C
+++ b/src/kernel/basesegment.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2011,2016 */
+/* Contributors Listed Below - COPYRIGHT 2011,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -236,16 +236,16 @@ int BaseSegment::mmExtend(void)
/**
* Allocates a block of virtual memory of the given size
- * to extend the VMM to 32MEG in size in mainstore
+ * to extend the VMM to 48MEG in size in mainstore
*/
int BaseSegment::_mmExtend(void)
{
// The base address of the extended memory is 8Mg.. The first x pages is
- // for the SPTE.. The remaining pages from 8MG + SPTE to 32MEG is added to
+ // for the SPTE.. The remaining pages from 8MG + SPTE to 48MEG is added to
// the HEAP..
uint64_t l_vaddr = VMM_ADDR_EXTEND_BLOCK; // 8MEG
- uint64_t l_size = VMM_EXTEND_BLOCK_SIZE; // 32MEG - 8MB (base block)
+ uint64_t l_size = VMM_EXTEND_BLOCK_SIZE; // 48MEG - 8MB (base block)
// Call to allocate a block passing in the requested address of where the
// SPTEs should be created
@@ -283,14 +283,14 @@ int BaseSegment::_mmExtend(void)
PageManager::addMemory(l_vaddr + (spte_pages*PAGESIZE),
l_size/PAGESIZE - spte_pages);
- // Update the physical Memory size to now be 32MEG. by adding the extended
+ // Update the physical Memory size to now be 48MEG. by adding the extended
// block size to the physical mem size.
iv_physMemSize += VMM_EXTEND_BLOCK_SIZE;
// Call to set the Hostboot MemSize and location needed for DUMP.
KernelMemState::setMemScratchReg(KernelMemState::MEM_CONTAINED_MS,
- KernelMemState::MS_32MEG);
+ KernelMemState::MS_48MEG);
return 0;
}
diff --git a/src/kernel/syscall.C b/src/kernel/syscall.C
index bf92fe913..580b30d84 100644
--- a/src/kernel/syscall.C
+++ b/src/kernel/syscall.C
@@ -898,7 +898,7 @@ namespace Systemcalls
*
* Depending on the syscall parameter, we will either switch from 4MB
* to a cache-contained mode (either full 10MB or reduced 8MB) or will
- * expand into 32MB of space using real system memory.
+ * expand into 48MB of space using real system memory.
* @param[in] t: The task used to extend Memory
*/
OpenPOWER on IntegriCloud