diff options
author | Matt Derksen <mderkse1@us.ibm.com> | 2019-06-20 16:33:05 -0500 |
---|---|---|
committer | Daniel M Crowell <dcrowell@us.ibm.com> | 2019-08-15 17:06:46 -0500 |
commit | fc5fa5842e3e03e1419501de236c36b1641281d0 (patch) | |
tree | 55838f029f7fdb4404be79bc562ea4bce29aac02 /src/include | |
parent | 3048b4b1689faf1842499f6402f6175909b2b410 (diff) | |
download | talos-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/include')
-rw-r--r-- | src/include/usr/mmio/mmio_reasoncodes.H | 1 | ||||
-rw-r--r-- | src/include/usr/runtime/runtime_reasoncodes.H | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/include/usr/mmio/mmio_reasoncodes.H b/src/include/usr/mmio/mmio_reasoncodes.H index 6a96547ac..fb7a059a8 100644 --- a/src/include/usr/mmio/mmio_reasoncodes.H +++ b/src/include/usr/mmio/mmio_reasoncodes.H @@ -41,6 +41,7 @@ namespace MMIO MOD_CHECK_OCMB_ERROR = 0x07, MOD_DETERMINE_CALLOUTS = 0x08, MOD_DETERMINE_EXP_CALLOUTS = 0x09, + RT_OCMB_MMIO_PERFORM_OP = 0x0A, }; enum MMIOReasonCode diff --git a/src/include/usr/runtime/runtime_reasoncodes.H b/src/include/usr/runtime/runtime_reasoncodes.H index 44689ba29..5cfdce5c2 100644 --- a/src/include/usr/runtime/runtime_reasoncodes.H +++ b/src/include/usr/runtime/runtime_reasoncodes.H @@ -145,7 +145,8 @@ namespace RUNTIME RC_NULL_FIRMWARE_MSG_PTR = RUNTIME_COMP_ID | 0x45, RC_SERIALIZE_ATTRIBUTE_FAILED = RUNTIME_COMP_ID | 0x46, RC_NO_SPACE_FOR_ATTRIBUTE_SERIALIZATION = RUNTIME_COMP_ID | 0x47, - RC_CANNOT_MAKE_ATTRIBUTE = RUNTIME_COMP_ID | 0x47, + RC_CANNOT_MAKE_ATTRIBUTE = RUNTIME_COMP_ID | 0x48, + RT_NO_OMI_TARGET_FOUND = RUNTIME_COMP_ID | 0x49, }; enum UserDetailsTypes |