summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common
diff options
context:
space:
mode:
authorMatt Derksen <mderkse1@us.ibm.com>2019-06-20 16:33:05 -0500
committerDaniel M Crowell <dcrowell@us.ibm.com>2019-08-15 17:06:46 -0500
commitfc5fa5842e3e03e1419501de236c36b1641281d0 (patch)
tree55838f029f7fdb4404be79bc562ea4bce29aac02 /src/usr/targeting/common
parent3048b4b1689faf1842499f6402f6175909b2b410 (diff)
downloadtalos-hostboot-fc5fa5842e3e03e1419501de236c36b1641281d0.tar.gz
talos-hostboot-fc5fa5842e3e03e1419501de236c36b1641281d0.zip
Runtime scom support for OCMBs
fapi2::getScom on OCMB targets eventually resolves to a mmio call at runtime. This commit registers a runtime version of mmioScomPerformOp to the IBSCOM device ops for OCMB targets. During runtime, hostboot will rely on the hypervisor (opal/phyp) to issue the inband commands to perform the operation on the desired OCMB. Change-Id: I5ec25d0401267125419cd579a3a2d752f14234a4 RTC:210321 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80235 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: Christian R Geddes <crgeddes@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common')
-rw-r--r--src/usr/targeting/common/xmltohb/target_types_hb.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/targeting/common/xmltohb/target_types_hb.xml b/src/usr/targeting/common/xmltohb/target_types_hb.xml
index 4b3599cef..99c74e604 100644
--- a/src/usr/targeting/common/xmltohb/target_types_hb.xml
+++ b/src/usr/targeting/common/xmltohb/target_types_hb.xml
@@ -87,6 +87,9 @@
<targetTypeExtension>
<id>chip-ocmb</id>
<attribute>
+ <id>HBRT_HYP_ID</id>
+ </attribute>
+ <attribute>
<id>IBSCOM_MUTEX</id>
</attribute>
<attribute>
OpenPOWER on IntegriCloud