summaryrefslogtreecommitdiffstats
path: root/src/usr/runtime
diff options
context:
space:
mode:
authorJaymes Wilks <mjwilks@us.ibm.com>2018-06-21 11:50:46 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2018-06-26 11:52:33 -0400
commitd406ad362d7f95cef1425216996f08fb5a1c7dca (patch)
tree1d44a17aa093f0e2ec7d59bf40064f93fe5c85df /src/usr/runtime
parent0e138b0da002197cc86f601be5b307386a5fdfab (diff)
downloadtalos-hostboot-d406ad362d7f95cef1425216996f08fb5a1c7dca.tar.gz
talos-hostboot-d406ad362d7f95cef1425216996f08fb5a1c7dca.zip
SP ATTN area relative addressing cleanup
This change attemps to remove some technical debt incurred by the "HRMOR relative addressing for PHyp SP ATTN area dump" commit. Change-Id: I773c25e6f704fba561aa78106120325562698e4e RTC:186439 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61099 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@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: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/runtime')
-rw-r--r--src/usr/runtime/populate_hbruntime.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/runtime/populate_hbruntime.C b/src/usr/runtime/populate_hbruntime.C
index db2fa42c7..42f3fc50b 100644
--- a/src/usr/runtime/populate_hbruntime.C
+++ b/src/usr/runtime/populate_hbruntime.C
@@ -3403,7 +3403,7 @@ errlHndl_t openUntrustedSpCommArea(const uint64_t i_commBase)
l_spAttnStartAddr,
l_spAttnCombinedSize);
- // If in phyp mode and the master
+ // If in phyp mode and the master then update SP ATTN area values in HDAT
if (TARGETING::is_phyp_load() && TARGETING::UTIL::isCurrentMasterNode())
{
// make sure ATTN area never grows beyond the SP/PHyp untrusted region
@@ -3465,7 +3465,7 @@ errlHndl_t openUntrustedSpCommArea(const uint64_t i_commBase)
}
// calculate absolute address for PHYP SP ATTN areas
- auto l_abs = SECUREBOOT::calcSpAttnAreaStart();
+ auto l_abs = RUNTIME::calcSpAttnAreaStart();
l_pCpuCtrlInfo->spAttnArea1.address = l_abs;
l_pCpuCtrlInfo->spAttnArea2.address = l_abs + PHYP_ATTN_AREA_1_SIZE;
OpenPOWER on IntegriCloud