lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 13 Apr 2022 18:17:24 +0300 From: Ido Schimmel <idosch@...dia.com> To: netdev@...r.kernel.org Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com, petrm@...dia.com, vadimp@...dia.com, jiri@...dia.com, mlxsw@...dia.com, Ido Schimmel <idosch@...dia.com> Subject: [PATCH net-next 0/9] mlxsw: Preparations for line cards support Currently, mlxsw registers thermal zones as well as hwmon entries for objects such as transceiver modules and gearboxes. In upcoming modular systems, these objects are no longer found on the main board (i.e., slot 0), but on plug-able line cards. This patchset prepares mlxsw for such systems in terms of hwmon, thermal and cable access support. Patches #1-#3 gradually prepare mlxsw for transceiver modules access support for line cards by splitting some of the internal structures and some APIs. Patches #4-#5 gradually prepare mlxsw for hwmon support for line cards by splitting some of the internal structures and augmenting them with a slot index. Patches #6-#7 do the same for thermal zones. Patch #8 selects cooling device for binding to a thermal zone by exact name match to prevent binding to non-relevant devices. Patch #9 replaces internal define for thermal zone name length with a common define. Vadim Pasternak (9): mlxsw: core: Extend interfaces for cable info access with slot argument mlxsw: core: Extend port module data structures for line cards mlxsw: core: Move port module events enablement to a separate function mlxsw: core_hwmon: Extend internal structures to support multi hwmon objects mlxsw: core_hwmon: Introduce slot parameter in hwmon interfaces mlxsw: core_thermal: Extend internal structures to support multi thermal areas mlxsw: core_thermal: Add line card id prefix to line card thermal zone name mlxsw: core_thermal: Use exact name of cooling devices for binding mlxsw: core_thermal: Use common define for thermal zone name length .../net/ethernet/mellanox/mlxsw/core_env.c | 473 ++++++++++++------ .../net/ethernet/mellanox/mlxsw/core_env.h | 43 +- .../net/ethernet/mellanox/mlxsw/core_hwmon.c | 217 ++++---- .../ethernet/mellanox/mlxsw/core_thermal.c | 172 ++++--- drivers/net/ethernet/mellanox/mlxsw/minimal.c | 24 +- .../net/ethernet/mellanox/mlxsw/spectrum.c | 21 +- .../mellanox/mlxsw/spectrum_ethtool.c | 18 +- 7 files changed, 611 insertions(+), 357 deletions(-) -- 2.33.1
Powered by blists - more mailing lists