]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: core: Modify thermal zone definition
authorVadim Pasternak <vadimp@mellanox.com>
Wed, 13 Feb 2019 11:28:50 +0000 (11:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2019 06:33:02 +0000 (22:33 -0800)
commitc434a9ae040e2ab03a4bdca644b12e8de28bee66
treef532aad9e9af201a57ee817b0c5e91fd3d1d47b9
parentdcf8e8e67368ec4268b382d2689d24254d314347
mlxsw: core: Modify thermal zone definition

Modify thermal zone trip points setting for better alignment with system
thermal requirement.

Add hysteresis thresholds for thermal trips in order to avoid throttling
around thermal trip point. If hysteresis temperature is not considered,
PWM can have side effect of flip up/down on thermal trip point boundary.

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