Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mellanox] Upgrade hw-mgmt to 7.0100.2303 #70

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion platform/mellanox/hw-management.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Mellanox HW Management

MLNX_HW_MANAGEMENT_VERSION = 7.0010.2002
MLNX_HW_MANAGEMENT_VERSION = 7.0010.2303

export MLNX_HW_MANAGEMENT_VERSION

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
From 5858f60aa5948a502ca8a1c9357ac81baa6f68dc Mon Sep 17 00:00:00 2001
From: junchao <[email protected]>
Date: Fri, 23 Apr 2021 09:27:43 +0800
Subject: [PATCH] Make hw-mgmt SimX compatible

---
usr/usr/bin/hw-management-ready.sh | 11 +++++++----
usr/usr/bin/hw-management.sh | 9 +++++++++
2 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/usr/usr/bin/hw-management-ready.sh b/usr/usr/bin/hw-management-ready.sh
index 3c9f7b6..05d143f 100755
--- a/usr/usr/bin/hw-management-ready.sh
Expand All @@ -20,10 +30,10 @@ index 3c9f7b6..05d143f 100755
echo "Start Chassis HW management service."
logger -t hw-management -p daemon.notice "Start Chassis HW management service."
diff --git a/usr/usr/bin/hw-management.sh b/usr/usr/bin/hw-management.sh
index 70f1297..e427a3d 100755
index 991cf45..16ad0bf 100755
--- a/usr/usr/bin/hw-management.sh
+++ b/usr/usr/bin/hw-management.sh
@@ -1110,6 +1110,13 @@ do_chip_down()
@@ -1265,6 +1265,13 @@ do_chip_down()
/usr/bin/hw-management-thermal-events.sh change hotplug_asic down %S %p
}

Expand All @@ -35,9 +45,9 @@ index 70f1297..e427a3d 100755
+}
+
__usage="
Usage: $(basename $0) [Options]
Usage: $(basename "$0") [Options]

@@ -1135,6 +1142,8 @@ Options:
@@ -1290,6 +1297,8 @@ Options:
force-reload Performs hw-management 'stop' and the 'start.
"

Expand All @@ -46,3 +56,6 @@ index 70f1297..e427a3d 100755
case $ACTION in
start)
if [ -d /var/run/hw-management ]; then
--
1.9.1

2 changes: 1 addition & 1 deletion platform/mellanox/hw-management/hw-mgmt
Submodule hw-mgmt updated 85 files
+ Documentation/Chassis_Management_for_Mellanox_Switch_Systems_with_Sysfs-for-update_rev.1.8.pdf
+ Documentation/Chassis_Management_for_Mellanox_Switch_Systems_with_Sysfs-for-update_rev.1.9.pdf
+11 −1 README.md
+340 −8 debian/Release.txt
+2 −2 debian/changelog
+1 −1 debian/control
+5 −0 debian/rules
+3 −3 examples/src/ev_hndl/ev_hndl.c
+73 −0 examples/src/ev_hndl/lc_event_handler.c
+57 −0 examples/src/ev_hndl/lc_event_handler.py
+60 −23 recipes-kernel/linux/Patch_Status_Table.txt
+874 −0 recipes-kernel/linux/linux-4.19/0032-hwmon-pmbus-Add-support-for-MPS-Multi-phase-mp2975-c.patch
+39 −0 recipes-kernel/linux/linux-4.19/0033-hwmon-Add-convience-macro-to-define-simple-static-se.patch
+314 −0 recipes-kernel/linux/linux-4.19/0034-backport-nvme-Add-hardware-monitoring-support.patch
+185 −0 recipes-kernel/linux/linux-4.19/0035-platform-x86-mlx-platform-Extend-FAN-and-LED-config-.patch
+42 −0 recipes-kernel/linux/linux-4.19/0036-mlxsw-core-Increase-critical-threshold-for-ASIC-ther.patch
+288 −0 recipes-kernel/linux/linux-4.19/0037-hwmon-pmbus-Add-support-for-MPS-Multi-phase-mp2888-c.patch
+54 −0 recipes-kernel/linux/linux-4.19/0038-mlxsw-core-Add-validation-of-transceiver-temperature.patch
+433 −0 recipes-kernel/linux/linux-4.19/0039-platform-mellanox-Add-dedicated-match-for-system-typ.patch
+174 −0 recipes-kernel/linux/linux-4.19/0041-mlxsw-core-Align-thermal-and-hwmon-modules-with-upst.patch
+112 −0 recipes-kernel/linux/linux-4.19/0044-platform-mellanox-mlxreg-hotplug-Use-capability-regi.patch
+58 −0 recipes-kernel/linux/linux-4.19/0045-i2c-mlxcpld-Update-module-license.patch
+128 −0 recipes-kernel/linux/linux-4.19/0046-i2c-mlxcpld-Add-support-for-I2C-bus-frequency-settin.patch
+60 −0 recipes-kernel/linux/linux-4.19/0047-i2c-mux-mlxcpld-Update-module-license.patch
+40 −0 recipes-kernel/linux/linux-4.19/0048-i2c-mux-mlxcpld-Move-header-file-out-of-x86-realm.patch
+60 −0 recipes-kernel/linux/linux-4.19/0049-platform-x86-mlxcpld-Update-module-license.patch
+183 −0 recipes-kernel/linux/linux-4.19/0050-i2c-mux-mlxcpld-Convert-driver-to-platform-driver.patch
+87 −0 recipes-kernel/linux/linux-4.19/0051-i2c-mux-mlxcpld-Prepare-mux-selection-infrastructure.patch
+74 −0 recipes-kernel/linux/linux-4.19/0052-i2c-mux-mlxcpld-Get-rid-of-adapter-numbers-enforceme.patch
+114 −0 recipes-kernel/linux/linux-4.19/0053-i2c-mux-mlxcpld-Extend-driver-to-support-word-addres.patch
+51 −0 recipes-kernel/linux/linux-4.19/0054-i2c-mux-mlxcpld-Extend-supported-mux-number.patch
+58 −0 recipes-kernel/linux/linux-4.19/0055-i2c-mux-mlxcpld-Add-callback-to-notify-mux-creation-.patch
+88 −0 recipes-kernel/linux/linux-4.19/0056-leds-mlxreg-Allow-multi-instantiation-of-same-name-L.patch
+65 −0 recipes-kernel/linux/linux-4.19/0057-platform-x86-mlx-platform-remove-an-unused-variable.patch
+53 −0 recipes-kernel/linux/linux-4.19/0058-platform-x86-mlx-platform-Fix-item-counter-assignmen.patch
+53 −0 recipes-kernel/linux/linux-4.19/0059-platform-x86-mlx-platform-Fix-item-counter-assignmen.patch
+227 −0 recipes-kernel/linux/linux-4.19/0060-platform_data-mlxreg-Add-new-types-to-support-for-mo.patch
+2,435 −0 recipes-kernel/linux/linux-4.19/0061-platform-x86-mlx-platform-Add-initial-support-for-ne.patch
+171 −0 recipes-kernel/linux/linux-4.19/0062-platform-mellanox-mlxreg-hotplug-Extend-logic-for-ho.patch
+31 −0 recipes-kernel/linux/linux-4.19/0063-platform-mellanox-mlxreg-io-Extend-number-of-hwmon-a.patch
+129 −0 recipes-kernel/linux/linux-4.19/0064-platform-mellanox-mlxreg-hotplug-Add-line-card-event.patch
+961 −0 recipes-kernel/linux/linux-4.19/0065-platform-mellanox-mlxreg-lc-Add-initial-support-for-.patch
+1,742 −0 recipes-kernel/linux/linux-4.19/0066-mlxsw-core-Introduce-initial-chassis-management-supp.patch
+286 −0 recipes-kernel/linux/linux-4.19/0067-mlxsw-reg-Introduce-Management-Temperature-Extended-.patch
+99 −0 recipes-kernel/linux/linux-4.19/0068-mlxsw-core-Add-APIs-for-thermal-sensor-mapping.patch
+545 −0 recipes-kernel/linux/linux-4.19/0069-mlxsw-core_linecards-Add-line-card-objects-and-imple.patch
+290 −0 recipes-kernel/linux/linux-4.19/0070-mlxsw-minimal-Extend-internal-structures-to-support-.patch
+295 −0 recipes-kernel/linux/linux-4.19/0071-mlxsw-minimal-Add-support-for-line-card-event-handli.patch
+169 −0 recipes-kernel/linux/linux-4.19/0072-mlxsw-core_thermal-Add-line-card-support.patch
+185 −0 recipes-kernel/linux/linux-4.19/0073-mlxsw-core_hwmon-Add-line-card-support.patch
+207 −0 recipes-kernel/linux/linux-4.19/0074-mlxsw-minimal-Add-support-line-card-ready-unready-ev.patch
+125 −0 recipes-kernel/linux/linux-4.19/0075-platform-x86-mlx-platform-Extend-register-space-with.patch
+874 −0 recipes-kernel/linux/linux-4.9/0065-hwmon-pmbus-Add-support-for-MPS-Multi-phase-mp2975-c.patch
+185 −0 recipes-kernel/linux/linux-4.9/0066-platform-x86-mlx-platform-Extend-FAN-and-LED-config-.patch
+42 −0 recipes-kernel/linux/linux-4.9/0067-mlxsw-core-Increase-critical-threshold-for-ASIC-ther.patch
+288 −0 recipes-kernel/linux/linux-4.9/0068-hwmon-pmbus-Add-support-for-MPS-Multi-phase-mp2888-c.patch
+53 −0 recipes-kernel/linux/linux-4.9/0069-mlxsw-core-Add-validation-of-transceiver-temperature.patch
+433 −0 recipes-kernel/linux/linux-4.9/0070-platform-mellanox-Add-dedicated-match-for-system-typ.patch
+52 −0 recipes-kernel/linux/linux-5.10/0001-platform-x86-mlx-platform-Remove-PSU-EEPROM-from-def.patch
+51 −0 recipes-kernel/linux/linux-5.10/0002-platform-x86-mlx-platform-Remove-PSU-EEPROM-from-MSN.patch
+65 −0 recipes-kernel/linux/linux-5.10/0003-platform-x86-mlx-platform-remove-an-unused-variable.patch
+53 −0 recipes-kernel/linux/linux-5.10/0004-platform-x86-mlx-platform-Fix-item-counter-assignmen.patch
+53 −0 recipes-kernel/linux/linux-5.10/0005-platform-x86-mlx-platform-Fix-item-counter-assignmen.patch
+44 −0 recipes-kernel/linux/linux-5.10/0006-mlxsw-core-Increase-critical-threshold-for-ASIC-ther.patch
+56 −0 recipes-kernel/linux/linux-5.10/0007-mlxsw-core-Add-validation-of-transceiver-temperature.patch
+58 −0 recipes-kernel/linux/linux-5.10/0008-i2c-mlxcpld-Update-module-license.patch
+34 −0 recipes-kernel/linux/linux-5.10/0009-i2c-mlxcpld-Decrease-polling-time-for-performance-im.patch
+76 −0 recipes-kernel/linux/linux-5.10/0010-mlxsw-core-Avoid-creation-virtual-hwmon-objects-by-t.patch
+179 −0 recipes-kernel/linux/linux-5.10/0011-mlxsw-minimal-Simplify-method-of-modules-number-dete.patch
+85 −0 recipes-kernel/linux/linux-5.10/0012-mlxsw-core-thermal-Skip-thermal-zones-setting-for-mo.patch
+48 −0 recipes-kernel/linux/linux-5.10/0013-mlxsw-core-thermal-Set-default-thermal-trips-for-mod.patch
+189 −0 usr/etc/hw-management-sensors/mqm9700_sensors.conf
+168 −0 usr/etc/hw-management-sensors/msn4700_respin_sensors.conf
+93 −93 usr/etc/hw-management-sensors/msn4700_sensors.conf
+1 −0 usr/etc/modprobe.d/hw-management.conf
+211 −5 usr/lib/udev/rules.d/50-hw-management-events.rules
+90 −0 usr/lib/udev/rules.d/51-hw-management-events-modular.rules
+477 −17 usr/usr/bin/hw-management-chassis-events.sh
+18 −10 usr/usr/bin/hw-management-generate-dump.sh
+271 −0 usr/usr/bin/hw-management-lc-fru-parser.py
+61 −37 usr/usr/bin/hw-management-parse-eeprom.sh
+7 −3 usr/usr/bin/hw-management-start-post.sh
+304 −130 usr/usr/bin/hw-management-thermal-control.sh
+323 −82 usr/usr/bin/hw-management-thermal-events.sh
+467 −376 usr/usr/bin/hw-management.sh