linux/drivers/infiniband/hw
Kaike Wan c1a797c081 IB/hfi1: Ignore LNI errors before DC8051 transitions to Polling state
When it is requested to change its physical state back to Offline while in
the process to go up, DC8051 will set the ERROR field in the
DC8051_DBG_ERR_INFO_SET_BY_8051 register. This ERROR field will remain
until the next time when DC8051 transitions from Offline to Polling.
Subsequently, when the host requests DC8051 to change its physical state
to Polling again, it may receive a DC8051 interrupt with the stale ERROR
field still in DC8051_DBG_ERR_INFO_SET_BY_8051. If the host link state has
been changed to Polling, this stale ERROR will force the host to
transition to Offline state, resulting in a vicious cycle of Polling
->Offline->Polling->Offline. On the other hand, if the host link state is
still Offline when the stale ERROR is received, the stale ERROR will be
ignored, and the link will come up correctly.  This patch implements the
correct behavior by changing host link state to Polling only after DC8051
changes its physical state to Polling.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Krzysztof Goreczny <krzysztof.goreczny@intel.com>
Signed-off-by: Kaike Wan <kaike.wan@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-12-06 19:50:08 -07:00
..
bnxt_re RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
cxgb3 infiniband/hw/cxgb3/cxio_hal.c: Use dma_zalloc_coherent 2018-11-21 15:52:35 -07:00
cxgb4 iw_cxgb4: only reconnect with MPAv1 if the peer aborts 2018-11-21 16:15:19 -07:00
hfi1 IB/hfi1: Ignore LNI errors before DC8051 transitions to Polling state 2018-12-06 19:50:08 -07:00
hns RDMA/hns: Add SRQ asynchronous event support 2018-12-05 07:59:13 -07:00
i40iw i40iw: remove support for ib_get_vector_affinity 2018-11-08 14:22:53 -07:00
mlx4 mlx4: trigger IB events needed by SMC 2018-11-22 11:57:31 -07:00
mlx5 IB/mlx5: Allow XRC usage via verbs in DEVX context 2018-12-04 13:46:42 -05:00
mthca RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
nes First merge window pull request 2018-10-26 07:38:19 -07:00
ocrdma RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
qedr RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
qib RDMA/qib: Remove all occurrences of BUG_ON() 2018-11-29 15:59:40 -07:00
usnic IB/usnic: fix spelling mistake "miniumum" -> "minimum" 2018-11-29 15:59:40 -07:00
vmw_pvrdma RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00