SMP ABUS -- use pattern A to detect lane failures
SMP ABUS -- use pattern A to detect lane failures

p9_io_obus_linktrain
- Prior to engaging link training, send and observe pattern A in PHY
  RX capture latches
- Power down any failed lanes, with sparing for single lane failures or
  deconfiguration for multi-lane failures to be handled by DL training
  in downstream HWP code
- Adapt flow so HWP is directly callable in CCM retraining flow

p9_io_obus_dccal
- Reset attributes used by p9_io_obus_linktrain -- needed to support
  reconfig loop IPL and CCM retraining flow

p9_fab_iovalid
- Update DL state machine half link fail detection logic

p9_io_obus_attributes
- Create new attributes to support pattern A detection scheme
  ATTR_IO_OBUS_PAT_A_DETECT_RUN - flag to track per half link status, ised
                                  to enable coordinated execution on endpoints
                                  without requiring HWP interface changes
  ATTR_IO_OBUS_PAT_A_DETECT_RX_AMP_VALUE - RX amp bias, override only
  ATTR_IO_OBUS_PAT_A_CAPTURE - actual RX data pipe content, for debug
  ATTR_IO_OBUS_LANE_PDWN - actual per-lane powerdown decisions, for debug

Change-Id: I316df486954fa61ff5d616634dadeaa034af028f
Original-Change-Id: Ic418000b1c50bcd6454be996e7206fa1d1690f75
CQ: SW443349
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65737
Tested-by: Jenkins Server <8e3f934e4c44875bc48d33da3ea13d93ba9a233f@us.ibm.com>
Tested-by: HWSV CI <ae069ce3805842f4ed79e0ef7868baadb5df0a6b@us.ibm.com>
Tested-by: Hostboot CI <52521565bd8ea18a2b112942dce4f4220a97c2c8@us.ibm.com>
Reviewed-by: Thi N. Tran <25a2bca7ae5a8ea03be09ca8d282480c08c13052@us.ibm.com>
Reviewed-by: Christopher W. Steffen <32d1a9ec72cb0b49628aa45b733da26c4736f36b@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <ab93eca12e43608f33daa16a67357cd7b7e867ab@us.ibm.com>

open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot