diff options
| author | Michael Chan <[email protected]> | 2021-01-25 02:08:10 -0500 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-01-25 19:20:03 -0800 |
| commit | d1cbd1659cac9b192f4677715becf937978b091a (patch) | |
| tree | 40b6ec0e3628860ec81c96e17c09f3535c5bea1e /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | b187e4bae0aaa49958cc589af46f7059672980db (diff) | |
bnxt_en: Retry sending the first message to firmware if it is under reset.
The first HWRM_VER_GET message to firmware during probe may timeout if
firmware is under reset. This can happen during hot-plug for example.
On P5 and newer chips, we can check if firmware is in the boot stage by
reading a status register. Retry 5 times if the status register shows
that firmware is not ready and not in error state.
Reviewed-by: Edwin Peer <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Acked-by: Willem de Bruijn <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions