OSDN Git Service

Merge branch 'mlxsw-hwmon-and-thermal-extensions'
authorDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2019 06:33:03 +0000 (22:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2019 06:33:03 +0000 (22:33 -0800)
commit79e088239c3bfaf0b6f185770ae262041e42072f
tree9b56fa2585722d769c2178bf0125af1c702c678f
parent03b967420280f01b225d9f7c46c2d9117e1bc16b
parent97cd342ae41fd524906e5acb0b760fd8331f3b1b
Merge branch 'mlxsw-hwmon-and-thermal-extensions'

Ido Schimmel says:

====================
mlxsw: hwmon and thermal extensions

Vadim says:

This patchset contains various improvements to hwmon and thermal code in
mlxsw. The most significant improvement is the ability to read modules'
temperature attributes (input, fault, critical and emergency thresholds)
as well as fans' fault indication. These new attributes will improve the
ability to monitor the system.

Patches #1-#4 add the necessary device registers and APIs to read
modules' temperature attributes and fans' fault indication.

Patches #5-#8 perform small improvements in hwmon and thermal code such
as using a more indicative name for cooling devices.

Patch #9 exposes fans' fault indication via hwmon.

Patch #10 exposes modules' temperature attributes via hwmon.

Patch #11 adds an hwmon label to modules' temperature sensor. This helps
to parse the output of utilities such as "sensors".

Patch #12 allows to bind an external cooling device ("mlxreg-fan") to
mlxsw thermal zone. This will allow the mlxsw thermal zone to change the
cooling level of cooling devices not programmed via switch registers.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>