From: David S. Miller Date: Thu, 14 Feb 2019 06:33:03 +0000 (-0800) Subject: Merge branch 'mlxsw-hwmon-and-thermal-extensions' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=79e088239c3bfaf0b6f185770ae262041e42072f;p=linux.git 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 --- 79e088239c3bfaf0b6f185770ae262041e42072f