summaryrefslogtreecommitdiffstats
path: root/src/include/usr/vmmconst.h
diff options
context:
space:
mode:
authorcrgeddes <crgeddes@us.ibm.com>2016-12-15 18:00:33 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-12-20 14:46:35 -0500
commit0ee4722c1d900419d0108a4937bf1b12b33088e2 (patch)
tree6fd838814f56b9baf22ce3262e76c62fe765ea5f /src/include/usr/vmmconst.h
parentc91173368bf7960a14ca1e7091dc7bd3945a5ab3 (diff)
downloadtalos-hostboot-0ee4722c1d900419d0108a4937bf1b12b33088e2.tar.gz
talos-hostboot-0ee4722c1d900419d0108a4937bf1b12b33088e2.zip
Reduce the size MPIPL was mapping from 128 MB > 1 MB
The size of the attribute/targeting data saved in mainstore is actually only around 300 KB currently. Somehow the size got put at 128 MB which was way too much. This commit moves it down to 1 MB Change-Id: I8e82a291cc33458dc2bb64a0af6c9c2a5ac015d4 RTC:165369 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33950 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-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/include/usr/vmmconst.h')
-rw-r--r--src/include/usr/vmmconst.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/usr/vmmconst.h b/src/include/usr/vmmconst.h
index a7a68cc79..538cb2aba 100644
--- a/src/include/usr/vmmconst.h
+++ b/src/include/usr/vmmconst.h
@@ -216,12 +216,13 @@ enum BlockPriority
#define VMM_SIZE_RMVPAGE_TEST (8 * PAGESIZE)
/** Chunk of physical memory to use for HostServices Attributes */
-#define MPIPL_ATTR_DATA_ADDR (VMM_MEMORY_SIZE + 32*MEGABYTE)
+#define MPIPL_ATTR_DATA_ADDR \
+ VMM_OCC_COMMON_END_OFFSET + VMM_OCC_COMMON_SIZE /* currently 200MB */
#define MPIPL_SYSDATA_SIZE (4*KILOBYTE) /* match FSP HDAT code */
#define MPIPL_NODEDATA_SIZE (256000) /* match FSP HDAT code */
#define MPIPL_ATTR_DATA_SIZE \
ALIGN_PAGE((MPIPL_SYSDATA_SIZE+MPIPL_NODEDATA_SIZE))
-#define MPIPL_ATTR_VMM_SIZE 0x8001000
+#define MPIPL_ATTR_VMM_SIZE (1*MEGABYTE)
/* Chunk of physical memory used for Dump Source Table */
#define DUMP_TEST_MEMORY_ADDR (MPIPL_ATTR_DATA_ADDR + MPIPL_ATTR_DATA_SIZE)
OpenPOWER on IntegriCloud