summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common/xmltohb/simics_AXONE.system.xml
diff options
context:
space:
mode:
authorChristian Geddes <crgeddes@us.ibm.com>2019-04-05 15:58:40 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-04-18 10:38:28 -0500
commite583424484de98e8be66549370fb28453ccb98e4 (patch)
tree4485d1d5dd18f91c0db72af79e33f1203f75312f /src/usr/targeting/common/xmltohb/simics_AXONE.system.xml
parent9d139bd7d99a87c6d11f6569482218badb49cc8b (diff)
downloadtalos-hostboot-e583424484de98e8be66549370fb28453ccb98e4.tar.gz
talos-hostboot-e583424484de98e8be66549370fb28453ccb98e4.zip
Validate OMI INBAND BAR offset attributes against calculated values
While setting up the virtual memory mapped IO to the OCMB chips we make some assumptions that the OCMB MMIO spaces will be contiguous. The p9a_omi_setup_bars HWP uses OMI_INBAND_BAR_BASE_ADDR_OFFSET to set the scom registers that determine the physical offset mapped to the IO. When setting up the Virtual addresses hostboot uses to represent the physical mmio address, we must validate that the attribute matches with what we calculated. While doing this we found that the virtual address attribute was being calculated incorrectly. It was not localizing the OCMB position relative to the MC which is required when calculating the offset into the MC bar. Change-Id: I0ebbcd38e19a238e2cc16791bb0595536788bb7f RTC: 201493 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75631 Reviewed-by: Matthew Raybuck <matthew.raybuck@ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common/xmltohb/simics_AXONE.system.xml')
-rw-r--r--src/usr/targeting/common/xmltohb/simics_AXONE.system.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/usr/targeting/common/xmltohb/simics_AXONE.system.xml b/src/usr/targeting/common/xmltohb/simics_AXONE.system.xml
index 7a14636cb..661da5a56 100644
--- a/src/usr/targeting/common/xmltohb/simics_AXONE.system.xml
+++ b/src/usr/targeting/common/xmltohb/simics_AXONE.system.xml
@@ -5,7 +5,7 @@
<!-- -->
<!-- OpenPOWER HostBoot Project -->
<!-- -->
-<!-- Contributors Listed Below - COPYRIGHT 2018 -->
+<!-- Contributors Listed Below - COPYRIGHT 2018,2019 -->
<!-- [+] International Business Machines Corp. -->
<!-- -->
<!-- -->
@@ -6512,6 +6512,11 @@
<id>TYPE</id>
<default>MC</default>
</attribute>
+ <attribute>
+ <id>OMI_INBAND_BAR_BASE_ADDR_OFFSET</id>
+ <!-- 3TB + 16GB -->
+ <default>0x30400000000</default>
+ </attribute>
</targetInstance>
<targetInstance>
@@ -6574,6 +6579,11 @@
<id>TYPE</id>
<default>MC</default>
</attribute>
+ <attribute>
+ <id>OMI_INBAND_BAR_BASE_ADDR_OFFSET</id>
+ <!-- 3TB + 48GB -->
+ <default>0x30C00000000</default>
+ </attribute>
</targetInstance>
<!-- ===================================================================== -->
OpenPOWER on IntegriCloud