summaryrefslogtreecommitdiffstats
path: root/src/usr/runtime/populate_hbruntime.C
diff options
context:
space:
mode:
authorNick Bofferding <bofferdn@us.ibm.com>2018-06-27 17:09:43 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2018-06-29 12:04:57 -0400
commitb37f41b2c08cf48413acbaef5f914ea43c89e427 (patch)
treedbd8b3ff4934fe8e566a11f400f29ae7dac5d4b6 /src/usr/runtime/populate_hbruntime.C
parentfc087d0b82682431317f199bdbcda0fa0ffb2aac (diff)
downloadtalos-hostboot-b37f41b2c08cf48413acbaef5f914ea43c89e427.tar.gz
talos-hostboot-b37f41b2c08cf48413acbaef5f914ea43c89e427.zip
Secure Boot: Copy PHyp secure header into standard reserved memory area
This change alters where Hostboot copies the Phyp secure header; instead of placing it in front of PHYP (PHyp HRMOR-4k), it instead redirects it to the standard reserved memory area. By doing this, we prevent it from unintentionally ending up in mirrored memory. Change-Id: I0b228b4a748310eba2b580efe2f191adca0d05e3 CQ: SW435712 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61525 Tested-by: Jenkins Server <pfd-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> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/runtime/populate_hbruntime.C')
-rw-r--r--src/usr/runtime/populate_hbruntime.C5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/usr/runtime/populate_hbruntime.C b/src/usr/runtime/populate_hbruntime.C
index 42f3fc50b..4d26bce26 100644
--- a/src/usr/runtime/populate_hbruntime.C
+++ b/src/usr/runtime/populate_hbruntime.C
@@ -92,9 +92,8 @@ const uint8_t BITS_PER_BYTE = 8;
const uint8_t HDAT_INVALID_NODE = 0xFF;
// The upper limit of the hostboot reserved memory. Only applies to PHYP.
-// The lower limit is Hostboot HRMOR + 64MB; 4KB is the PHYP component's
-// secure header.
-const uint64_t HB_RES_MEM_UPPER_LIMIT = 256*MEGABYTE - 4*KILOBYTE;
+// The lower limit is Hostboot HRMOR + 64MB;
+const uint64_t HB_RES_MEM_UPPER_LIMIT = 256*MEGABYTE;
// The lower limit of the hostboot reserved memory. Do not allow to reserve
// any memory below this limit.
OpenPOWER on IntegriCloud