netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] mlxsw: Thermal and hwmon extensions
@ 2019-06-24 10:32 Ido Schimmel
  2019-06-24 10:32 ` [PATCH net-next v2 1/3] mlxsw: core: Extend thermal core with per inter-connect device thermal zones Ido Schimmel
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Ido Schimmel @ 2019-06-24 10:32 UTC (permalink / raw)
  To: netdev; +Cc: davem, jiri, vadimp, andrew, mlxsw, Ido Schimmel

From: Ido Schimmel <idosch@mellanox.com>

This patchset from Vadim includes various enhancements to thermal and
hwmon code in mlxsw.

Patch #1 adds a thermal zone for each inter-connect device (gearbox).
These devices are present in SN3800 systems and code to expose their
temperature via hwmon was added in commit 2e265a8b6c09 ("mlxsw: core:
Extend hwmon interface with inter-connect temperature attributes").

Currently, there are multiple thermal zones in mlxsw and only a few
cooling devices. Patch #2 detects the hottest thermal zone and the
cooling devices are switched to follow its trends. RFC was sent last
month [1].

Patch #3 allows to read and report negative temperature of the sensors
mlxsw exposes via hwmon and thermal subsystems.

v2 (Andrew Lunn):
* In patch #3, replace '%u' with '%d' in mlxsw_hwmon_module_temp_show()

[1] https://patchwork.ozlabs.org/patch/1107161/

Vadim Pasternak (3):
  mlxsw: core: Extend thermal core with per inter-connect device thermal
    zones
  mlxsw: core: Add the hottest thermal zone detection
  mlxsw: core: Add support for negative temperature readout

 .../net/ethernet/mellanox/mlxsw/core_hwmon.c  |  14 +-
 .../ethernet/mellanox/mlxsw/core_thermal.c    | 208 +++++++++++++++++-
 drivers/net/ethernet/mellanox/mlxsw/reg.h     |  12 +-
 3 files changed, 209 insertions(+), 25 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-06-24 15:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-24 10:32 [PATCH net-next v2 0/3] mlxsw: Thermal and hwmon extensions Ido Schimmel
2019-06-24 10:32 ` [PATCH net-next v2 1/3] mlxsw: core: Extend thermal core with per inter-connect device thermal zones Ido Schimmel
2019-06-24 11:39   ` Jiri Pirko
2019-06-24 10:32 ` [PATCH net-next v2 2/3] mlxsw: core: Add the hottest thermal zone detection Ido Schimmel
2019-06-24 10:32 ` [PATCH net-next v2 3/3] mlxsw: core: Add support for negative temperature readout Ido Schimmel
2019-06-24 11:42   ` Jiri Pirko
2019-06-24 15:15 ` [PATCH net-next v2 0/3] mlxsw: Thermal and hwmon extensions David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).