diff options
author | Amit Cohen <amitc@mellanox.com> | 2020-09-03 16:41:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-03 12:12:05 -0700 |
commit | 91df5d3a72e33446556b49c9b272e89baeec6cd8 (patch) | |
tree | 7f7acb33c231bf7d73c8def0d4d025727ea3a595 /kernel | |
parent | 02bed4e8b705284b593948676ebe1c6629dc5895 (diff) | |
download | linux-91df5d3a72e33446556b49c9b272e89baeec6cd8.tar.bz2 |
mlxsw: core_hwmon: Extend hwmon interface with critical and emergency alarms
Add new attributes to hwmon object for exposing critical and emergency
alarms.
In case that current 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 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)
Signed-off-by: Amit Cohen <amitc@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Acked-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions