diff mbox

[6/6] bump skiboot size from 3 to 4MB, reduce heap by 1MB

Message ID 20170824073948.29425-7-stewart@linux.vnet.ibm.com
State Accepted
Headers show

Commit Message

Stewart Smith Aug. 24, 2017, 7:39 a.m. UTC
GCOV enabled builds with modern GCC are getting bigger.

At some point we're going to have to go do something sensible,
but even on our larger systems we're not *that* close to running
out of heap that this would be a problem.

HEAP is now 12MB rather than 13MB.

Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
---
 include/mem-map.h | 4 ++--
 skiboot.lds.S     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
diff mbox

Patch

diff --git a/include/mem-map.h b/include/mem-map.h
index 2bcaf07a1db4..05733518870d 100644
--- a/include/mem-map.h
+++ b/include/mem-map.h
@@ -72,8 +72,8 @@ 
  * As of 2015/5/7 we use approx 800k for skiboot, 500k HEAP for
  * mambo boot.
  */
-#define HEAP_BASE		(SKIBOOT_BASE + 0x00300000)
-#define HEAP_SIZE		0x00d00000
+#define HEAP_BASE		(SKIBOOT_BASE + 0x00400000)
+#define HEAP_SIZE		0x00c00000
 
 /* This is the location of our console buffer at base + 16M */
 #define INMEM_CON_START		(SKIBOOT_BASE + 0x01000000)
diff --git a/skiboot.lds.S b/skiboot.lds.S
index 4a5dabe3c79b..7f71d5cd1b40 100644
--- a/skiboot.lds.S
+++ b/skiboot.lds.S
@@ -145,8 +145,8 @@  SECTIONS
 		__sym_map_end = . ;
 	}
 
-	/* We locate the BSS at 2M to leave room for the symbol map */
-	. = 0x200000;
+	/* We locate the BSS at 3M to leave room for the symbol map */
+	. = 0x300000;
 
 	_sbss = .;
 	.bss : {