diff options
author | Andrew Geissler <andrewg@us.ibm.com> | 2016-05-13 12:58:53 -0500 |
---|---|---|
committer | Matthew A. Ploetz <maploetz@us.ibm.com> | 2016-06-10 11:14:38 -0400 |
commit | 8e28b3be4c9b39ca2ccd46c387209deb22161398 (patch) | |
tree | d56f65e91ec8ab41d971b443767eb9a12d57b051 /src/usr/isteps/istep08/call_host_setup_sbe.C | |
parent | b60f4ed2e2a10c1cec6734c021608bd6b80b36d7 (diff) | |
download | talos-hostboot-8e28b3be4c9b39ca2ccd46c387209deb22161398.tar.gz talos-hostboot-8e28b3be4c9b39ca2ccd46c387209deb22161398.zip |
Enable callout in istep 8.4 for when slave SBE fails
Slave SBE code is now in place to properly handle state
transition.
Change-Id: I71443d3105c2e472c9026d955816d69675ce692a
RTC: 152203
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24527
Tested-by: Jenkins Server
Tested-by: FSP CI Jenkins
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
Diffstat (limited to 'src/usr/isteps/istep08/call_host_setup_sbe.C')
-rw-r--r-- | src/usr/isteps/istep08/call_host_setup_sbe.C | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/src/usr/isteps/istep08/call_host_setup_sbe.C b/src/usr/isteps/istep08/call_host_setup_sbe.C index c05810d9f..6f1c1e233 100644 --- a/src/usr/isteps/istep08/call_host_setup_sbe.C +++ b/src/usr/isteps/istep08/call_host_setup_sbe.C @@ -114,79 +114,6 @@ void* call_host_setup_sbe(void *io_pArgs) l_errl->plid() ); errlCommit(l_errl, HWPF_COMP_ID); } - - // TODO-RTC:152203 BEGIN - // Configure slave sbe to be in slave SBE, continuous IPL mode - // All this code gets deleted once host_slave_sbe_config.C is in - TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace, - "WORKAROUND:RTC:152203 - Setup slave sbe scratch " - "registers for proc 0x%.8X", - TARGETING::get_huid(l_procChip)); - - // Bits 7-15 are address portion - const uint32_t CFAM_ADDRESS_MASK = 0x1FF; - - // Bits 0-6 are engine offset - const uint32_t CFAM_ENGINE_OFFSET = 0xFE00; - - - uint64_t l_addr = 0x283A; - l_addr = ((l_addr & CFAM_ADDRESS_MASK) << 2) | - (l_addr & CFAM_ENGINE_OFFSET); - uint32_t l_data = 0x10000000; - size_t l_size = sizeof(uint32_t); - l_errl = deviceWrite(l_procChip, - &l_data, - l_size, - DEVICE_FSI_ADDRESS(l_addr)); - if (l_errl) - { - TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace, - ERR_MRK"WORKAROUND:RTC:152203 - FAIL to setup " - "slave sbe scratch registers for proc 0x%.8X " - "scratch 0x3A", - TARGETING::get_huid(l_procChip)); - delete l_errl; - l_errl = NULL; - } - - l_addr = 0x283D; - l_addr = ((l_addr & CFAM_ADDRESS_MASK) << 2) | - (l_addr & CFAM_ENGINE_OFFSET); - l_data = 0x00000080; - l_errl = deviceWrite(l_procChip, - &l_data, - l_size, - DEVICE_FSI_ADDRESS(l_addr)); - if (l_errl) - { - TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace, - ERR_MRK"WORKAROUND:RTC:152203 - FAIL to setup " - "slave sbe scratch registers for proc 0x%.8X " - "scratch 0x3D", - TARGETING::get_huid(l_procChip)); - delete l_errl; - l_errl = NULL; - } - l_addr = 0x283F; - l_addr = ((l_addr & CFAM_ADDRESS_MASK) << 2) | - (l_addr & CFAM_ENGINE_OFFSET); - l_data = 0x24000000; - l_errl = deviceWrite(l_procChip, - &l_data, - l_size, - DEVICE_FSI_ADDRESS(l_addr)); - if (l_errl) - { - TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace, - ERR_MRK"WORKAROUND:RTC:152203 - FAIL to setup " - "slave sbe scratch " - "registers for proc 0x%.8X scratch 0x3F", - TARGETING::get_huid(l_procChip)); - delete l_errl; - l_errl = NULL; - } - // TODO-RTC:152203 END } } // end of cycling through all processor chips |