aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm
diff options
context:
space:
mode:
authorVadim Pasternak <vadimp@mellanox.com>2019-03-12 08:40:41 +0000
committerDavid S. Miller <davem@davemloft.net>2019-03-12 14:55:16 -0700
commit6bab45b4de0d70f56ac163fd0b105c0c76451515 (patch)
tree0bf310e1a2a44858b4ebbaf5210c2aae0b232633 /drivers/atm
parentnet: dwmac-sun8i: fix a missing check of of_get_phy_mode (diff)
downloadlinux-dev-6bab45b4de0d70f56ac163fd0b105c0c76451515.tar.xz
linux-dev-6bab45b4de0d70f56ac163fd0b105c0c76451515.zip
mlxsw: core: Prevent duplication during QSFP module initialization
Verify during thermal initialization if QSFP module's entry is already configured in order to prevent duplication. Such scenario could happen in case two switch drivers (PCI and I2C based) coexist and if after boot, splitting configuration is applied for some ports and then I2C based driver is re-probed. In such case after reboot same QSFP module, associated with split will be discovered by I2C based driver few times, and it will cause a crash. It could happen for example on system equipped with BMC (Baseboard Management Controller), running I2C based driver, when the next steps are performed: - System boot - Host side configures port spilt. - BMC side is rebooted. Fixes: 6a79507cfe94 ("mlxsw: core: Extend thermal module with per QSFP module thermal zones") Signed-off-by: Vadim Pasternak <vadimp@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions