Skip to content

Commit 82f72e4

Browse files
vadimp-nvidiagregkh
authored andcommitted
mlxsw: core: Increase critical threshold for ASIC thermal zone
[ Upstream commit b06ca3d ] 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: 41e7608 ("mlxsw: core: Replace thermal temperature trips with defines") Fixes: a50c1e3 ("mlxsw: core: Implement thermal zone") Signed-off-by: Vadim Pasternak <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent d2bfbfc commit 82f72e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/mellanox/mlxsw/core_thermal.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#define MLXSW_THERMAL_ASIC_TEMP_NORM 75000 /* 75C */
2020
#define MLXSW_THERMAL_ASIC_TEMP_HIGH 85000 /* 85C */
2121
#define MLXSW_THERMAL_ASIC_TEMP_HOT 105000 /* 105C */
22-
#define MLXSW_THERMAL_ASIC_TEMP_CRIT 110000 /* 110C */
22+
#define MLXSW_THERMAL_ASIC_TEMP_CRIT 140000 /* 140C */
2323
#define MLXSW_THERMAL_HYSTERESIS_TEMP 5000 /* 5C */
2424
#define MLXSW_THERMAL_MODULE_TEMP_SHIFT (MLXSW_THERMAL_HYSTERESIS_TEMP * 2)
2525
#define MLXSW_THERMAL_ZONE_MAX_NAME 16

0 commit comments

Comments
 (0)