diff options
| author | Nick Bofferding <bofferdn@us.ibm.com> | 2017-07-27 00:11:34 -0500 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-08-31 09:52:13 -0400 |
| commit | b560b1da8a6ee6350315ac2c8ad4bafd22ea54c5 (patch) | |
| tree | d5079cfe38255660e0fd9e0c893fefa87e9e443b /src/include | |
| parent | 68cc9f79fbafd80ded80a0ee66bf7eab5e85d6b9 (diff) | |
| download | talos-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/include')
| -rw-r--r-- | src/include/kernel/basesegment.H | 6 | ||||
| -rw-r--r-- | src/include/kernel/memstate.H | 4 | ||||
| -rw-r--r-- | src/include/kernel/vmmmgr.H | 2 | ||||
| -rw-r--r-- | src/include/usr/vmmconst.h | 18 |
4 files changed, 15 insertions, 15 deletions
diff --git a/src/include/kernel/basesegment.H b/src/include/kernel/basesegment.H index 7d5e5450a..7629473f0 100644 --- a/src/include/kernel/basesegment.H +++ b/src/include/kernel/basesegment.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2015 */ +/* Contributors Listed Below - COPYRIGHT 2011,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -136,7 +136,7 @@ class BaseSegment : public Segment /** * @brief Allocates a block of virtual memory that extends the VMM - * space up to 32MEG of Mainstore. + * space up to 48MEG of Mainstore. */ static int mmExtend(void); @@ -206,7 +206,7 @@ class BaseSegment : public Segment /** * @brief Allocates a block of virtual memory that extends the VMM - * space up to 32MEG of Mainstore. + * space up to 48MEG of Mainstore. */ int _mmExtend(void); diff --git a/src/include/kernel/memstate.H b/src/include/kernel/memstate.H index 84acf3b4e..a01fdcc32 100644 --- a/src/include/kernel/memstate.H +++ b/src/include/kernel/memstate.H @@ -45,7 +45,7 @@ namespace KernelMemState - - 4 = Hostboot is using half a cache - - 8 = Hostboot is using reduced cache - - 10 = Hostboot is using the full cache - - - 32 = Hostboot is using 32 MB of mainstore*/ + - - 48 = Hostboot is using 48 MB of mainstore*/ enum MemLocation @@ -62,7 +62,7 @@ namespace KernelMemState HALF_CACHE = 0x00000004, REDUCED_CACHE = 0x00000008, FULL_CACHE = 0x0000000A, - MS_32MEG = 0x00000020, + MS_48MEG = 0x00000030, }; struct mem_location diff --git a/src/include/kernel/vmmmgr.H b/src/include/kernel/vmmmgr.H index 5cc370e69..11d8199e8 100644 --- a/src/include/kernel/vmmmgr.H +++ b/src/include/kernel/vmmmgr.H @@ -192,7 +192,7 @@ class VmmManager /** * @brief Allocates a block of virtual memory that extends the VMM - * space up to 32MEG of Mainstore. + * space up to 48MEG of Mainstore. */ static int mmExtend( void); diff --git a/src/include/usr/vmmconst.h b/src/include/usr/vmmconst.h index dc422a1f9..81c1b6a1a 100644 --- a/src/include/usr/vmmconst.h +++ b/src/include/usr/vmmconst.h @@ -71,7 +71,7 @@ #define VMM_ADDR_EXTEND_BLOCK (VMM_ADDR_BASE_BLOCK + VMM_BASE_BLOCK_SIZE) /** Maximize size of Base Segment Memory after expansion */ -#define VMM_MEMORY_SIZE (32*MEGABYTE) +#define VMM_MEMORY_SIZE (48*MEGABYTE) /** Base Segment Extended Memory Block Size */ #define VMM_EXTEND_BLOCK_SIZE (VMM_MEMORY_SIZE-VMM_BASE_BLOCK_SIZE) @@ -141,7 +141,7 @@ enum BlockPriority /** Hardwired offsets from HRMOR to HOMER images in real mem */ /** HOMER starts immediately after our HB memory */ -/** <n0p0 HRMOR = 128MB> + <memory size = 32MB> = 160MB */ +/** <n0p0 HRMOR = 128MB> + <memory size = 48MB> = 176 MB */ /** HOMER is 4 MB per proc, 8 procs = 32MB */ /** Each HOMER must start on a 4MB offset to meet OCC requirements */ #define VMM_HOMER_REGION_START_OFFSET (VMM_MEMORY_SIZE) @@ -151,18 +151,18 @@ enum BlockPriority #define VMM_HOMER_REGION_SIZE (VMM_HOMER_INSTANCE_SIZE*8) #define VMM_HOMER_REGION_END_OFFSET \ (VMM_HOMER_REGION_START_OFFSET + VMM_HOMER_REGION_SIZE) -/** HOMER_REGION_END = 192MB */ +/** HOMER_REGION_END = 208MB */ /** Physical Memory for OCC common space - 8MB total */ /** OCC Common must be on an 8MB offset */ -/** Start = End of Homer, currently 192MB */ +/** Start = End of Homer, currently 208MB */ #define VMM_OCC_COMMON_START_OFFSET VMM_HOMER_REGION_END_OFFSET #define VMM_OCC_COMMON_SIZE_IN_MB 8 #define VMM_OCC_COMMON_SIZE \ (VMM_OCC_COMMON_SIZE_IN_MB*MEGABYTE) #define VMM_OCC_COMMON_END_OFFSET \ (VMM_OCC_COMMON_START_OFFSET + VMM_OCC_COMMON_SIZE) -/** End of Common Area = 200MB */ +/** End of Common Area = 216MB */ /** Total Memory required for HOMERs and OCC Common */ #define VMM_ALL_HOMER_OCC_MEMORY_SIZE \ @@ -171,17 +171,17 @@ enum BlockPriority /** Memory for attribute data */ #define VMM_ATTR_DATA_START_OFFSET VMM_OCC_COMMON_END_OFFSET #define VMM_ATTR_DATA_SIZE (1*MEGABYTE) -/** End of Attr Area = 201MB */ +/** End of Attr Area = 217MB */ /** Chunk of physical memory used for Dump Source Table */ #define DUMP_TEST_MEMORY_ADDR \ - (VMM_ATTR_DATA_START_OFFSET + VMM_ATTR_DATA_SIZE) /* currently 201MB */ + (VMM_ATTR_DATA_START_OFFSET + VMM_ATTR_DATA_SIZE) /* currently 217MB */ #define DUMP_TEST_MEMORY_SIZE (4*MEGABYTE) -/** End of Dump Source Table = 205MB */ +/** End of Dump Source Table = 221MB */ /** Memory for hostboot data Table of Contents */ #define VMM_HB_DATA_TOC_START_OFFSET \ - (DUMP_TEST_MEMORY_ADDR + DUMP_TEST_MEMORY_SIZE) /* currently 205MB */ + (DUMP_TEST_MEMORY_ADDR + DUMP_TEST_MEMORY_SIZE) /* currently 221MB */ /** Variable Attribute overrides and Attributes memory here **/ |

