Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next 00/12] mlxsw: hwmon and thermal extensions
@ 2019-02-13 11:28 Ido Schimmel
  2019-02-13 11:28 ` [PATCH net-next 01/12] mlxsw: spectrum: Move QSFP EEPROM definitions to common location Ido Schimmel
                   ` (12 more replies)
  0 siblings, 13 replies; 18+ messages in thread
From: Ido Schimmel @ 2019-02-13 11:28 UTC (permalink / raw)
  To: netdev@vger.kernel.org
  Cc: davem@davemloft.net, Jiri Pirko, andrew@lunn.ch, mlxsw,
	Ido Schimmel

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.

Vadim Pasternak (12):
  mlxsw: spectrum: Move QSFP EEPROM definitions to common location
  mlxsw: reg: Add Management Temperature Bulk Register
  mlxsw: reg: Add Fan Out of Range Event Register
  mlxsw: core: Add API for QSFP module temperature thresholds reading
  mlxsw: core: Set different thermal polling time based on bus frequency
    capability
  mlxsw: core: Modify thermal zone definition
  mlxsw: core: Replace thermal temperature trips with defines
  mlxsw: core: Rename cooling device
  mlxsw: core: Extend hwmon interface with fan fault attribute
  mlxsw: core: Extend hwmon interface with QSFP module temperature
    attributes
  mlxsw: core: Add QSFP module temperature label attribute to hwmon
  mlxsw: core: Allow thermal zone binding to an external cooling device

 drivers/net/ethernet/mellanox/mlxsw/Makefile  |   2 +-
 drivers/net/ethernet/mellanox/mlxsw/core.h    |   1 +
 .../net/ethernet/mellanox/mlxsw/core_env.c    | 117 ++++++++
 .../net/ethernet/mellanox/mlxsw/core_env.h    |  10 +
 .../net/ethernet/mellanox/mlxsw/core_hwmon.c  | 275 +++++++++++++++++-
 .../ethernet/mellanox/mlxsw/core_thermal.c    |  77 +++--
 drivers/net/ethernet/mellanox/mlxsw/i2c.c     |   1 +
 drivers/net/ethernet/mellanox/mlxsw/reg.h     | 137 ++++++++-
 .../net/ethernet/mellanox/mlxsw/spectrum.c    |  62 ++--
 9 files changed, 617 insertions(+), 65 deletions(-)
 create mode 100644 drivers/net/ethernet/mellanox/mlxsw/core_env.c
 create mode 100644 drivers/net/ethernet/mellanox/mlxsw/core_env.h

-- 
2.20.1


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

end of thread, other threads:[~2019-02-14 14:29 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-13 11:28 [PATCH net-next 00/12] mlxsw: hwmon and thermal extensions Ido Schimmel
2019-02-13 11:28 ` [PATCH net-next 01/12] mlxsw: spectrum: Move QSFP EEPROM definitions to common location Ido Schimmel
2019-02-13 11:28 ` [PATCH net-next 02/12] mlxsw: reg: Add Management Temperature Bulk Register Ido Schimmel
2019-02-13 11:28 ` [PATCH net-next 03/12] mlxsw: reg: Add Fan Out of Range Event Register Ido Schimmel
2019-02-13 11:28 ` [PATCH net-next 04/12] mlxsw: core: Add API for QSFP module temperature thresholds reading Ido Schimmel
2019-02-13 11:28 ` [PATCH net-next 05/12] mlxsw: core: Set different thermal polling time based on bus frequency capability Ido Schimmel
2019-02-13 11:28 ` [PATCH net-next 06/12] mlxsw: core: Modify thermal zone definition Ido Schimmel
2019-02-13 11:28 ` [PATCH net-next 07/12] mlxsw: core: Replace thermal temperature trips with defines Ido Schimmel
2019-02-13 11:28 ` [PATCH net-next 08/12] mlxsw: core: Rename cooling device Ido Schimmel
2019-02-13 11:28 ` [PATCH net-next 09/12] mlxsw: core: Extend hwmon interface with fan fault attribute Ido Schimmel
2019-02-13 13:53   ` Andrew Lunn
2019-02-13 15:02     ` Guenter Roeck
2019-02-14  7:06       ` Vadim Pasternak
2019-02-14 14:29         ` Guenter Roeck
2019-02-13 11:28 ` [PATCH net-next 10/12] mlxsw: core: Extend hwmon interface with QSFP module temperature attributes Ido Schimmel
2019-02-13 11:28 ` [PATCH net-next 11/12] mlxsw: core: Add QSFP module temperature label attribute to hwmon Ido Schimmel
2019-02-13 11:28 ` [PATCH net-next 12/12] mlxsw: core: Allow thermal zone binding to an external cooling device Ido Schimmel
2019-02-14  6:33 ` [PATCH net-next 00/12] mlxsw: hwmon and thermal 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