]> git.baikalelectronics.ru Git - kernel.git/commit
staging/rdma/hfi1: Fix port bounce issues with 0.22 DC firmware
authorEaswar Hariharan <easwar.hariharan@intel.com>
Mon, 26 Oct 2015 14:28:36 +0000 (10:28 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 08:19:22 +0000 (17:19 +0900)
commit75417308219f5a403ae4ffb347478cc22e4cc545
tree62b65d20d5e2bbe5c7a6dfc8204c57279353587b
parent124763c4ff1d5f6cb736bcbe5769c6af5eb440cd
staging/rdma/hfi1: Fix port bounce issues with 0.22 DC firmware

The DC firmware overwrites the enable_lane_tx register and does not update it
on a host request to go to Poll. This causes an infinite loop through the LNI
state machine if a link width downgrade occurs. This patch re-sets the
enable_lane_tx register to all 4 lanes.

Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/chip.c