diff options
| author | Ilya Smirnov <ismirno@us.ibm.com> | 2018-01-26 12:10:24 -0600 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-02-14 15:01:31 -0500 |
| commit | d9c127dca8312f119b379c83b361216b910f6748 (patch) | |
| tree | 8d37e7926981c115092a558daf36d8d02d405ae2 /src/usr/runtime/test/makefile | |
| parent | ddfe08755562f0bd6b2ec445972f4b2c751a5f80 (diff) | |
| download | blackbird-hostboot-d9c127dca8312f119b379c83b361216b910f6748.tar.gz blackbird-hostboot-d9c127dca8312f119b379c83b361216b910f6748.zip | |
Error when hb tries to access reserved memory past limit
An issue has recently occurred when hb reserved memory past
the allowed limit (256M-4K) and overwrote some of the PHYP
memory, which caused bugs that were difficult to debug. This
change is to check the memory address we are trying to reserve
and throw an error if the address is at or above the allowed
limit. We only execute this check if PHYP is running and only
on components not belonging to PHYP (PHYP components may be
placed outside of the limit).
Change-Id: Ic62a7b724abc3b29b7872d0af47de8c68cde2ea8
RTC:186332
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52850
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Nicholas E. Bofferding <bofferdn@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: Michael Baiocchi <mbaiocch@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/usr/runtime/test/makefile')
| -rw-r--r-- | src/usr/runtime/test/makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/runtime/test/makefile b/src/usr/runtime/test/makefile index 92715cf83..7eaaae928 100644 --- a/src/usr/runtime/test/makefile +++ b/src/usr/runtime/test/makefile @@ -5,7 +5,7 @@ # # OpenPOWER HostBoot Project # -# Contributors Listed Below - COPYRIGHT 2012,2017 +# Contributors Listed Below - COPYRIGHT 2012,2018 # [+] International Business Machines Corp. # # @@ -26,6 +26,7 @@ ROOTPATH = ../../../.. MODULE = testruntime TESTS += testpreverifiedlidmgr.H +TESTS += test_checkHbResMemLimit.H #@TODO RTC 132750 #TESTS += hdatservicetest.H #@TODO RTC:178802 |

