]> git.baikalelectronics.ru Git - 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)
committerJakub Kicinski <kuba@kernel.org>
Sun, 10 Jan 2021 00:25:10 +0000 (16:25 -0800)
commit9d4394dc5ff2a2bfb73af46de47fe45d53deb93a
tree591f344b6d1cf6aa0ff76f0878e777db3a30f3e0
parent841d2ad43653af2e807a51cf45a89baee18903cc
mlxsw: core: Increase critical threshold for ASIC thermal zone

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: c67042c8d03d ("mlxsw: core: Replace thermal temperature trips with defines")
Fixes: 8bd2987aab37 ("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>
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c