]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
mlxsw: core: Increase critical threshold for ASIC thermal zone
authorVadim Pasternak <vadimp@nvidia.com>
Fri, 8 Jan 2021 14:52:10 +0000 (16:52 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 19 Feb 2021 15:45:18 +0000 (16:45 +0100)
commit2f2d98329c8f7686e242fb47ce466704f417bca9
treeb3487fe376d8a54502300e0b8aa6a16719e59c26
parent86db410c831f8ee6b3212d0c0717077850592991
mlxsw: core: Increase critical threshold for ASIC thermal zone

BugLink: https://bugs.launchpad.net/bugs/1915186
[ Upstream commit b06ca3d5a43ca2dd806f7688a17e8e7e0619a80a ]

Increase critical threshold for ASIC thermal zone from 110C to 140C
according to the system hardware requirements. All the supported ASICs
(Spectrum-1, Spectrum-2, Spectrum-3) could be still operational with ASIC
temperature below 140C. With the old critical threshold value system
can perform unjustified shutdown.

All the systems equipped with the above ASICs implement thermal
protection mechanism at firmware level and firmware could decide to
perform system thermal shutdown in case the temperature is below 140C.
So with the new threshold system will not meltdown, while thermal
operating range will be aligned with hardware abilities.

Fixes: 41e760841d26 ("mlxsw: core: Replace thermal temperature trips with defines")
Fixes: a50c1e35650b ("mlxsw: core: Implement thermal zone")
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: William Breathitt Gray <william.gray@canonical.com>
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c