From 2a499e99d207e841272605916dbb503ed71c746f Mon Sep 17 00:00:00 2001 From: Joe McGill Date: Tue, 1 May 2018 14:25:39 -0500 Subject: support IO reconfig loop for OBUS DL link training failures - p9c DD1.1+ only, DD1.0 not supported - FW to trigger reconfig loop back to step 0 from sys_proc_fab_iovalid if: 1) sys_proc_fab_iovalid rc = FAPI2_RC_SUCCESS -- AND -- 2) new output o_obus_dl_rcs (vector of P9_FAB_IOVALID_DL_NOT_TRAINED_ERR rc objects identifying links which failed on this chip) has entries - attribute changes: ATTR_LINK_TRAIN -- remove platinit tag, attr should init to zero (both even and odd), and reconfig loop will adjust value as we go Change-Id: I95eebd2b893db6d2511aae40798c0a4e049835d6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59770 Tested-by: FSP CI Jenkins Tested-by: Jenkins Server Tested-by: HWSV CI Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Jennifer A. Stofer --- import/chips/p9/common/include/p9_obus_scom_addresses_fixes.H | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/import/chips/p9/common/include/p9_obus_scom_addresses_fixes.H b/import/chips/p9/common/include/p9_obus_scom_addresses_fixes.H index 08c9cd8c..548098d6 100644 --- a/import/chips/p9/common/include/p9_obus_scom_addresses_fixes.H +++ b/import/chips/p9/common/include/p9_obus_scom_addresses_fixes.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HCODE Project */ /* */ -/* COPYRIGHT 2015,2017 */ +/* COPYRIGHT 2015,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -53,11 +53,15 @@ static const uint64_t SH_UNT_OBUS_2 = 515; REG64( OBUS_1_LL1_IOOL_CONTROL, RULL(0x0A01080B), SH_UNT_OBUS_1, SH_ACS_SCOM ); +REG64( OBUS_1_LL1_IOOL_DLL_STATUS, + RULL(0x0A010828), SH_UNT_OBUS_1, SH_ACS_SCOM ); REG64( OBUS_1_LL1_LL1_LL1_PB_IOOL_FIR_REG, RULL(0x0A010800), SH_UNT_OBUS_2, SH_ACS_SCOM ); REG64( OBUS_2_LL2_IOOL_CONTROL, RULL(0x0B01080B), SH_UNT_OBUS_2, SH_ACS_SCOM ); +REG64( OBUS_2_LL2_IOOL_DLL_STATUS, + RULL(0x0B010828), SH_UNT_OBUS_2, SH_ACS_SCOM ); REG64( OBUS_2_LL2_LL2_LL2_PB_IOOL_FIR_REG, RULL(0x0B010800), SH_UNT_OBUS_2, SH_ACS_SCOM ); -- cgit v1.2.3