Skip to content

Commit d2f372b

Browse files
nirdotandavem330
authored andcommitted
mlxsw: pci: Increase PCI SW reset timeout
Spectrum-2 PHY layer introduces a calibration period which is a part of the Spectrum-2 firmware boot process. Hence increase the SW timeout waiting for the firmware to come out of boot. This does not increase system boot time in cases where the firmware PHY calibration process is done quickly. Fixes: c3ab435 ("mlxsw: spectrum: Extend to support Spectrum-2 ASIC") Signed-off-by: Nir Dotan <nird@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent c9ebea0 commit d2f372b

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/mellanox/mlxsw

1 file changed

+1
-1
lines changed

drivers/net/ethernet/mellanox/mlxsw/pci_hw.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
#define MLXSW_PCI_SW_RESET 0xF0010
2929
#define MLXSW_PCI_SW_RESET_RST_BIT BIT(0)
30-
#define MLXSW_PCI_SW_RESET_TIMEOUT_MSECS 5000
30+
#define MLXSW_PCI_SW_RESET_TIMEOUT_MSECS 13000
3131
#define MLXSW_PCI_SW_RESET_WAIT_MSECS 100
3232
#define MLXSW_PCI_FW_READY 0xA1844
3333
#define MLXSW_PCI_FW_READY_MASK 0xFFFF

0 commit comments

Comments
 (0)