OpenCloudOS-Kernel/drivers/net/ethernet/mellanox/mlxsw
Vadim Pasternak b06ca3d5a4 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: 41e760841d ("mlxsw: core: Replace thermal temperature trips with defines")
Fixes: a50c1e3565 ("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>
2021-01-09 16:25:10 -08:00
..
Kconfig mlxsw: Fix firmware flashing 2020-11-18 11:07:00 -08:00
Makefile mlxsw: spectrum_router: Introduce XM implementation of router low-level ops 2020-12-14 19:09:54 -08:00
cmd.h mlxsw: spectrum: Set KVH XLT cache mode for Spectrum2/3 2020-12-14 19:09:55 -08:00
core.c mlxsw: Ignore ports that are connected to eXtended mezanine 2020-12-14 19:09:54 -08:00
core.h mlxsw: spectrum: Set KVH XLT cache mode for Spectrum2/3 2020-12-14 19:09:55 -08:00
core_acl_flex_actions.c mlxsw: core_acl_flex_actions: Add police action 2020-07-15 18:10:00 -07:00
core_acl_flex_actions.h mlxsw: core_acl_flex_actions: Add police action 2020-07-15 18:10:00 -07:00
core_acl_flex_keys.c mlxsw: core_acl: Use an array instead of a struct with a zero-length array 2020-12-06 19:22:14 -08:00
core_acl_flex_keys.h mlxsw: core_acl: Avoid defining static variable in header file 2020-03-27 15:06:43 -07:00
core_env.c mlxsw: Update module's settings when module is plugged in 2020-09-27 13:27:01 -07:00
core_env.h net: don't include ethtool.h from netdevice.h 2020-11-23 17:27:04 -08:00
core_hwmon.c mlxsw: core_hwmon: Query MTMP before writing to set only relevant fields 2020-09-27 13:27:00 -07:00
core_thermal.c mlxsw: core: Increase critical threshold for ASIC thermal zone 2021-01-09 16:25:10 -08:00
emad.h mlxsw: core: Add EMAD string TLV 2019-11-12 10:54:02 -08:00
i2c.c mlxsw: i2c: Add missing field documentation 2020-03-27 15:06:43 -07:00
i2c.h
ib.h
item.h
minimal.c mlxsw: Ignore ports that are connected to eXtended mezanine 2020-12-14 19:09:54 -08:00
pci.c mlxsw: spectrum: Set KVH XLT cache mode for Spectrum2/3 2020-12-14 19:09:55 -08:00
pci.h
pci_hw.h mlxsw: pci: Add mirror reason field to CQEv2 2020-07-14 14:50:49 -07:00
port.h mlxsw: spectrum: Use PMTM register to get max module width 2019-10-31 10:54:46 -07:00
reg.h mlxsw: reg: Add Router LPM Cache Enable Register 2020-12-14 19:09:55 -08:00
resources.h mlxsw: resources: Add resource identifier for global policers 2020-07-15 18:09:59 -07:00
spectrum.c mlxsw: spectrum: Set KVH XLT cache mode for Spectrum2/3 2020-12-14 19:09:55 -08:00
spectrum.h mlxsw: spectrum: Publish mlxsw_sp_ethtype_to_sver_type() 2020-12-08 15:45:56 -08:00
spectrum1_acl_tcam.c
spectrum1_kvdl.c mlxsw: Replace zero-length array with flexible-array member 2020-02-19 16:23:10 -08:00
spectrum1_mr_tcam.c
spectrum2_acl_tcam.c mlxsw: Fix some IS_ERR() vs NULL bugs 2020-04-23 12:34:43 -07:00
spectrum2_kvdl.c mlxsw: Replace zero-length array with flexible-array member 2020-02-19 16:23:10 -08:00
spectrum2_mr_tcam.c mlxsw: spectrum: Rename acl_block to flow_block 2020-04-27 12:43:29 -07:00
spectrum_acl.c mlxsw: spectrum_acl: Offload FLOW_ACTION_POLICE 2020-07-15 18:10:00 -07:00
spectrum_acl_atcam.c
spectrum_acl_bloom_filter.c mlxsw: Replace zero-length array with flexible-array member 2020-02-19 16:23:10 -08:00
spectrum_acl_ctcam.c
spectrum_acl_erp.c
spectrum_acl_flex_actions.c mlxsw: spectrum_acl: Offload FLOW_ACTION_POLICE 2020-07-15 18:10:00 -07:00
spectrum_acl_flex_actions.h
spectrum_acl_flex_keys.c
spectrum_acl_tcam.c mlxsw: spectrum_acl: Fix mlxsw_sp_acl_tcam_group_add()'s error path 2020-09-27 13:22:31 -07:00
spectrum_acl_tcam.h mlxsw: spectrum_flower: Expose a function to get min and max rule priority 2020-05-09 16:02:43 -07:00
spectrum_buffers.c mlxsw: spectrum_buffers: Support two headroom modes 2020-09-17 17:01:38 -07:00
spectrum_cnt.c mlxsw: spectrum_cnt: Use flex_array_size() helper in memcpy() 2020-07-30 17:38:23 -07:00
spectrum_cnt.h mlxsw: spectrum_cnt: Expose subpool sizes over devlink resources 2020-03-18 16:46:19 -07:00
spectrum_dcb.c mlxsw: spectrum_dcb: Implement dcbnl_setbuffer / getbuffer 2020-09-17 17:01:38 -07:00
spectrum_dpipe.c mlxsw: spectrum_router: Add support for blackhole nexthops 2020-11-24 12:14:56 -08:00
spectrum_dpipe.h
spectrum_ethtool.c mlxsw: Only advertise link modes supported by both driver and device 2020-10-26 16:45:50 -07:00
spectrum_fid.c mlxsw: spectrum: Remove unused RIF and FID families 2020-03-27 15:06:43 -07:00
spectrum_flow.c mlxsw: spectrum_flow: Promote binder-type dispatch to spectrum.c 2020-07-13 17:22:22 -07:00
spectrum_flower.c mlxsw: spectrum_acl: Offload FLOW_ACTION_POLICE 2020-07-15 18:10:00 -07:00
spectrum_ipip.c mlxsw: spectrum_router: Reduce mlxsw_sp_ipip_fib_entry_op_gre4() 2020-12-06 19:22:14 -08:00
spectrum_ipip.h mlxsw: spectrum_router: Reduce mlxsw_sp_ipip_fib_entry_op_gre4() 2020-12-06 19:22:14 -08:00
spectrum_kvdl.c mlxsw: spectrum_kvdl: Protect allocations with a lock 2020-02-20 10:04:33 -08:00
spectrum_matchall.c mlxsw: spectrum_span: Allow setting policer on a SPAN agent 2020-07-14 14:50:49 -07:00
spectrum_mr.c mlxsw: spectrum_mr: Use flexible-array member instead of zero-length array 2020-12-06 19:22:14 -08:00
spectrum_mr.h
spectrum_mr_tcam.c mlxsw: Fix some IS_ERR() vs NULL bugs 2020-04-23 12:34:43 -07:00
spectrum_mr_tcam.h
spectrum_nve.c mlxsw: Veto Q-in-VNI for Spectrum-1 ASIC 2020-12-08 15:45:56 -08:00
spectrum_nve.h mlxsw: Veto Q-in-VNI for Spectrum-1 ASIC 2020-12-08 15:45:56 -08:00
spectrum_nve_vxlan.c mlxsw: Veto Q-in-VNI for Spectrum-1 ASIC 2020-12-08 15:45:56 -08:00
spectrum_policer.c mlxsw: spectrum_policer: Add devlink resource support 2020-07-15 18:10:00 -07:00
spectrum_ptp.c mlxsw: spectrum_ptp: use PTP wide message type definitions 2020-11-25 12:23:14 -08:00
spectrum_ptp.h mlxsw: spectrum_ptp: use PTP wide message type definitions 2020-11-25 12:23:14 -08:00
spectrum_qdisc.c mlxsw: spectrum_qdisc: Disable port buffer autoresize with qdiscs 2020-09-17 17:01:38 -07:00
spectrum_router.c mlxsw: spectrum_router: Use eXtended mezzanine to offload IPv4 router 2020-12-14 19:09:55 -08:00
spectrum_router.h mlxsw: spectrum_router: Use eXtended mezzanine to offload IPv4 router 2020-12-14 19:09:55 -08:00
spectrum_router_xm.c mlxsw: spectrum_router: Use eXtended mezzanine to offload IPv4 router 2020-12-14 19:09:55 -08:00
spectrum_span.c mlxsw: spectrum_buffers: Manage internal buffer in the hdroom code 2020-09-16 15:19:30 -07:00
spectrum_span.h mlxsw: spectrum_buffers: Manage internal buffer in the hdroom code 2020-09-16 15:19:30 -07:00
spectrum_switchdev.c mlxsw: spectrum_switchdev: Allow joining VxLAN to 802.1ad bridge 2020-12-08 15:45:57 -08:00
spectrum_switchdev.h
spectrum_trap.c mlxsw: spectrum_trap: Add blackhole_nexthop trap 2020-11-24 12:14:56 -08:00
spectrum_trap.h mlxsw: spectrum_trap: Allow for per-ASIC traps initialization 2020-08-03 18:06:46 -07:00
switchib.c mlxsw: Set port split ability attribute in driver 2020-07-09 13:15:29 -07:00
switchx2.c net: don't include ethtool.h from netdevice.h 2020-11-23 17:27:04 -08:00
trap.h mlxsw: spectrum_router: Use different trap identifier for unresolved nexthops 2020-11-24 12:14:55 -08:00
txheader.h