summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Geddes <crgeddes@us.ibm.com>2017-09-15 15:10:27 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-09-21 12:29:58 -0400
commitce2eb298ea1c4fb5e68674eb4d76ba0e06920cbc (patch)
treee448fe1eb18349884a35ad201c259dc87ede4fba
parentdd6b90ed3dceaf4b913095c9c02c2488c65f4afd (diff)
downloadtalos-hostboot-ce2eb298ea1c4fb5e68674eb4d76ba0e06920cbc.tar.gz
talos-hostboot-ce2eb298ea1c4fb5e68674eb4d76ba0e06920cbc.zip
Remove workaround clearing OCB Linear Window security bit during MPIPL
Change-Id: I6321605f0c34188b1c46f873e5100ca370555ede RTC: 173716 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46294 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-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> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
-rw-r--r--src/usr/isteps/istep06/host_discover_targets.C51
1 files changed, 0 insertions, 51 deletions
diff --git a/src/usr/isteps/istep06/host_discover_targets.C b/src/usr/isteps/istep06/host_discover_targets.C
index 7929acde8..56cc0a2a8 100644
--- a/src/usr/isteps/istep06/host_discover_targets.C
+++ b/src/usr/isteps/istep06/host_discover_targets.C
@@ -529,59 +529,8 @@ void* host_discover_targets( void *io_pArgs )
"host_discover_targets: MPIPL mode, targeting"
"information has already been loaded from memory"
"when the targeting service started");
-
- //TODO RTC: 173716
- // Remove workaround clearing OCB Linear Window security bit during MPIPL
- TARGETING::TargetHandleList l_procChips;
- getAllChips( l_procChips, TARGETING::TYPE_PROC );
-
- uint64_t l_ocb_lw_control_value = 0;
- size_t l_size = sizeof(l_ocb_lw_control_value);
-
- for (const auto & l_procChip: l_procChips)
- {
- //We are doing a Read-Modify-Write on the Linear Window Control reg
- l_err = deviceRead(l_procChip,
- &l_ocb_lw_control_value,
- l_size,
- DEVICE_SCOM_ADDRESS(PU_OCB_OCI_OCBLWCR0_SCOM)); //0x6C208
-
- if(l_err)
- {
- TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace,
- "host_discover_targets: Failed to read scom address 0x%lx",
- PU_OCB_OCI_OCBLWCR0_SCOM);
- ERRORLOG::ErrlUserDetailsTarget(l_procChip).addToLog(l_err);
- l_err->collectTrace(TARG_COMP_NAME);
- break;
- }
-
- //Clear bit 0
- l_ocb_lw_control_value &= 0x7FFFFFFFFFFFFFFF;
-
- l_err = deviceWrite(l_procChip,
- &l_ocb_lw_control_value,
- l_size,
- DEVICE_SCOM_ADDRESS(PU_OCB_OCI_OCBLWCR0_SCOM)); //0x6C208
- if(l_err)
- {
- TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace,
- "host_discover_targets: Failed to write 0x%lx scom address 0x%lx",
- l_ocb_lw_control_value, PU_OCB_OCI_OCBLWCR0_SCOM);
- ERRORLOG::ErrlUserDetailsTarget(l_procChip).addToLog(l_err);
- l_err->collectTrace(TARG_COMP_NAME);
- break;
- }
- }
-
do
{
- //If there is an error skip these steps .. something is wrong
- if (l_err)
- {
- break;
- }
-
//Need to power down the slave quads
l_err = powerDownSlaveQuads();
if (l_err)
OpenPOWER on IntegriCloud