Skip to content

Commit

Permalink
support IO reconfig loop for OBUS DL link training failures
Browse files Browse the repository at this point in the history
- 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/59022
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59037
  • Loading branch information
jjmcgill authored and sgupta2m committed Jun 4, 2018
1 parent c1da4a4 commit bd17734
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER sbe Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2015,2017 */
/* Contributors Listed Below - COPYRIGHT 2015,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -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 );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -533,10 +533,11 @@
<enum>
BOTH = 0x0,
EVEN_ONLY = 0x1,
ODD_ONLY = 0x2
ODD_ONLY = 0x2,
NONE = 0x3
</enum>
<initToZero/>
<platInit/>
<writeable/>
</attribute>
<!-- ********************************************************************** -->
<attribute>
Expand Down

0 comments on commit bd17734

Please sign in to comment.