OSDN Git Service

mlxsw: core: Remove critical trip points from thermal zones
authorVadim Pasternak <vadimp@nvidia.com>
Tue, 6 Apr 2021 12:27:33 +0000 (15:27 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Apr 2021 21:26:18 +0000 (14:26 -0700)
commitd567fd6e82faa61756810b9b0dfd9d0da11e960e
treeea1fc0c90409874fd9bd7bd71a2dc10e78a507c0
parent017d6250ad719d3ddab9070446db1e9fd4ba4a65
mlxsw: core: Remove critical trip points from thermal zones

Disable software thermal protection by removing critical trip points
from all thermal zones.

The software thermal protection is redundant given there are two layers
of protection below it in firmware and hardware. The first layer is
performed by firmware, the second, in case firmware was not able to
perform protection, by hardware.
The temperature threshold set for hardware protection is always higher
than for firmware.

Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c