staging/rdma/hfi1: Fix fabric serdes reset by re-downloading firmware
authorDean Luick <dean.luick@intel.com>
Wed, 3 Feb 2016 22:35:40 +0000 (14:35 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:37:56 +0000 (20:37 -0500)
commit53f449e4bf04ac5dce6385a1546ab6108666def2
tree04b1b4647999866bfad3e6b4f3e0b8f94bbfeab9
parentf45c8dc8543783701fbad39a995e7a074a233b9d
staging/rdma/hfi1: Fix fabric serdes reset by re-downloading firmware

A host fabric serdes reset is required to go back to polling.
However, access to the fabric serdes may have been invalidated
by the sibling HFI when it downloads its fabric serdes firmware.
Work around this by re-downloading and re-validating the serdes
firmware at reset time on Bx hardware.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/firmware.c