Skip to content

mlxsw: Two port module fixes

Ido Schimmel netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mlxsw: core: Prevent QSFP module initialization for old hardwaredrivers/net/ethernet/mellanox/mlxsw/core.c drivers/net/ethernet/mellanox/mlxsw/core.h drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c +1 more+17 -00 replies
2/2mlxsw: core: Prevent reading unsupported slave address from SFP EEPROMdrivers/net/ethernet/mellanox/mlxsw/core_env.c+16 -20 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJiri Pirko
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/2] mlxsw: Two port module fixes

From: Ido Schimmel <[email protected]>

Patch #1 fixes driver initialization failure on old ASICs due to unsupported register access. This is fixed by first testing if the register is supported.

Patch #2 fixes reading of certain modules' EEPROM. The problem and solution are explained in detail in the commit message.

Please consider both patches for stable.

Vadim Pasternak (2):
mlxsw: core: Prevent QSFP module initialization for old hardware
mlxsw: core: Prevent reading unsupported slave address from SFP EEPROM

 drivers/net/ethernet/mellanox/mlxsw/core.c     |  6 ++++++
 drivers/net/ethernet/mellanox/mlxsw/core.h     |  2 ++
 drivers/net/ethernet/mellanox/mlxsw/core_env.c | 18 ++++++++++++++++--
 .../net/ethernet/mellanox/mlxsw/core_hwmon.c   |  3 +++
 .../net/ethernet/mellanox/mlxsw/core_thermal.c |  6 ++++++
 5 files changed, 33 insertions(+), 2 deletions(-)
Signature · 1 line
2.20.1