diff options
author | Shelton Leung <sleung@us.ibm.com> | 2017-01-23 09:47:47 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-01-30 11:39:18 -0500 |
commit | 31cc2fa91800f53816a222d081e238b4418ca89b (patch) | |
tree | 01396bd9fe64a54c14a0667f24916ec5d039582a /src/import/chips/p9/procedures/hwp/initfiles | |
parent | 19f6e0687252e083fb93fbda44e945f2c3b0a69f (diff) | |
download | talos-hostboot-31cc2fa91800f53816a222d081e238b4418ca89b.tar.gz talos-hostboot-31cc2fa91800f53816a222d081e238b4418ca89b.zip |
dd1 workaround for hw400075 coherency error
Change-Id: I09ba40e8b92f7800a4843ff562cea3fbb75383c5
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35235
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: LUKE MURRAY <murrayl@us.ibm.com>
Reviewed-by: Brian R. Silver <bsilver@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35259
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/initfiles')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/initfiles/p9_mcs_scom.C | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_mcs_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_mcs_scom.C index 2f1e7e112..1bf9e4bf2 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_mcs_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_mcs_scom.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2016 */ +/* Contributors Listed Below - COPYRIGHT 2016,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -31,6 +31,7 @@ using namespace fapi2; constexpr uint64_t literal_0b0111 = 0b0111; constexpr uint64_t literal_0 = 0; +constexpr uint64_t literal_0b0001100000000 = 0b0001100000000; fapi2::ReturnCode p9_mcs_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCS>& TGT0) { @@ -50,6 +51,12 @@ fapi2::ReturnCode p9_mcs_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCS>& TGT0) l_scom_buffer.insert<10, 1, 63, uint64_t>(l_MC01_PBI01_SCOMFIR_MCMODE1_DISABLE_FP_M_BIT_ON ); FAPI_TRY(fapi2::putScom(TGT0, 0x5010812ull, l_scom_buffer)); } + { + FAPI_TRY(fapi2::getScom( TGT0, 0x5010813ull, l_scom_buffer )); + + l_scom_buffer.insert<1, 13, 51, uint64_t>(literal_0b0001100000000 ); + FAPI_TRY(fapi2::putScom(TGT0, 0x5010813ull, l_scom_buffer)); + } }; fapi_try_exit: |