From: David S. Miller Date: Thu, 3 Sep 2020 19:12:05 +0000 (-0700) Subject: Merge branch 'mlxsw-Expose-critical-and-emergency-module-alarms' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ffd923f5f8d5501f7f123f5c4241eaee3e870a30;p=linux.git Merge branch 'mlxsw-Expose-critical-and-emergency-module-alarms' Ido Schimmel says: ==================== mlxsw: Expose critical and emergency module alarms Amit says: Extend hwmon interface with critical and emergency module alarms. In case that current module temperature is higher than emergency threshold, EMERGENCY alarm will be reported in sensors utility: $ sensors ... front panel 025: +55.0°C (crit = +35.0°C, emerg = +40.0°C) ALARM(EMERGENCY) In case that current module temperature is higher than critical threshold, CRIT alarm will be reported in sensors utility: $ sensors ... front panel 025: +54.0°C (crit = +35.0°C, emerg = +80.0°C) ALARM(CRIT) Patch set overview: Patches #1-#2 make several changes to make the code easier to change. Patch #3 extends the hwmon interface with the new module alarms. ==================== Signed-off-by: David S. Miller --- ffd923f5f8d5501f7f123f5c4241eaee3e870a30