linux_dsm_epyc7002/drivers/net/ethernet/mellanox
Amit Cohen ac004e8416 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: da382875c6 ("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>
2020-02-27 12:09:22 -08:00
..
mlx4 Merge ra.kernel.org:/pub/scm/linux/kernel/git/netdev/net 2020-01-19 22:10:04 +01:00
mlx5/core mlx5: register lag notifier for init network namespace only 2020-02-27 11:16:14 -08:00
mlxfw net/mlxfw: Fix out-of-memory error in mfa2 flash burning 2019-12-26 11:48:39 -08:00
mlxsw mlxsw: pci: Wait longer before accessing the device after reset 2020-02-27 12:09:22 -08:00
Kconfig
Makefile