diff options
| author | Sebastian Sanchez <[email protected]> | 2017-12-18 19:56:59 -0800 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2018-01-05 13:34:55 -0500 |
| commit | 9996b049f64125dbf05916e80a06546e92185f9f (patch) | |
| tree | 94f9bf06dab280c0c99ae289edd0893cc4788183 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | f5b53b043470b28b60a9c50317e3f777a872b77c (diff) | |
IB/hfi1: Fix infinite loop in 8051 command error path
When an 8051 command times out, the entire DC block is restarted. During
the restart, the host interface version bit is set, which calls
do_8051_command() recursively. The host version bit needs to be set
before the link moves into polling, so the host version bit can be set
in set_local_link_attributes() instead. Thus, the 8051 command functions
can be simplied as a non-locking version (dd->dc8051_lock) of those
functions are no longer needed.
Fixes: 9be6a5d788b0 ("IB/hfi1: Prevent LNI out of sync by resetting host interface version")
Reviewed-by: Michael J. Ruhl <[email protected]>
Signed-off-by: Sebastian Sanchez <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions