Commit 05087f3b authored by Dean Luick's avatar Dean Luick Committed by Greg Kroah-Hartman

staging/rdma/hfi1: Extend quiet timeout

The longest quiet timeout is now 6s.  Extend the driver wait to 6s.

The driver wasn't following our internal specification: 6 seconds.
This patch corrects that issue.
Reviewed-by: default avatarDennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: default avatarDean Luick <dean.luick@intel.com>
Signed-off-by: default avatarJubin John <jubin.john@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bbdeb33d
...@@ -6379,9 +6379,10 @@ static int goto_offline(struct hfi1_pportdata *ppd, u8 rem_reason) ...@@ -6379,9 +6379,10 @@ static int goto_offline(struct hfi1_pportdata *ppd, u8 rem_reason)
* depending on how the link went down. The 8051 firmware * depending on how the link went down. The 8051 firmware
* will observe the needed wait time and only move to ready * will observe the needed wait time and only move to ready
* when that is completed. The largest of the quiet timeouts * when that is completed. The largest of the quiet timeouts
* is 2.5s, so wait that long and then a bit more. * is 6s, so wait that long and then at least 0.5s more for
* other transitions, and another 0.5s for a buffer.
*/ */
ret = wait_fm_ready(dd, 3000); ret = wait_fm_ready(dd, 7000);
if (ret) { if (ret) {
dd_dev_err(dd, dd_dev_err(dd,
"After going offline, timed out waiting for the 8051 to become ready to accept host requests\n"); "After going offline, timed out waiting for the 8051 to become ready to accept host requests\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment