diff options
author | Amit Cohen <amitc@mellanox.com> | 2020-02-27 21:07:53 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-27 12:09:22 -0800 |
commit | ac004e84164e27d69017731a97b11402a69d854b (patch) | |
tree | ad88760ed5936fe96c05a4dcd43d4983c4f659e6 /drivers/virt | |
parent | sfc: fix timestamp reconstruction at 16-bit rollover points (diff) | |
download | linux-dev-ac004e84164e27d69017731a97b11402a69d854b.tar.xz linux-dev-ac004e84164e27d69017731a97b11402a69d854b.zip |
mlxsw: pci: Wait longer before accessing the device after reset
During initialization the driver issues a reset to the device and waits
for 100ms before checking if the firmware is ready. The waiting is
necessary because before that the device is irresponsive and the first
read can result in a completion timeout.
While 100ms is sufficient for Spectrum-1 and Spectrum-2, it is
insufficient for Spectrum-3.
Fix this by increasing the timeout to 200ms.
Fixes: da382875c616 ("mlxsw: spectrum: Extend to support Spectrum-3 ASIC")
Signed-off-by: Amit Cohen <amitc@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions