Skip to content

Commit 60fc089

Browse files
Junchao-MellanoxCarl Keene
authored and
Carl Keene
committed
[Mellanox] Upgrade hw-mgmt to 7.0100.2303 (sonic-net#7419)
- Why I did it Upgrade hw-mgmt to 7.0100.2303 Bug fixes 1. Fan direction feature fix for fixed FAN system (using shell instead of binutils/strings) 2. Remove cpld 4th link on systems with only 3 CPLD's 3. hw-mgmt: thermal: Add hardcoded critical trip point. Follow-up after patch "Removing critical thermal zones to prevent unexpected software system shutdown". 4. Fix sensor attribute mapping to be label based instead of index based to allow common handling of voltage regulator names independently of hardware changes. 5. Update 'lm-sensors' custom configuration file. Relevant only for users utilizing sensors.conf files coming along with hw-management package. 6. For full feature list please follow https://github.com/Mellanox/hw-mgmt/blob/V.7.0010.2300_BR/debian/Release.txt - How I did it Update hw-mgmt pointer Remove unused patches Fix existing patch to make sure it apply successfully - How to verify it Full platform regression on all mellanox platforms
1 parent dd534b8 commit 60fc089

File tree

4 files changed

+19
-36
lines changed

4 files changed

+19
-36
lines changed

platform/mellanox/hw-management.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Mellanox HW Management
22

3-
MLNX_HW_MANAGEMENT_VERSION = 7.0010.2002
3+
MLNX_HW_MANAGEMENT_VERSION = 7.0010.2303
44

55
export MLNX_HW_MANAGEMENT_VERSION
66

platform/mellanox/hw-management/0002-hw-mgmt-events-Add-support-for-SDK-OFFLINE-event-for.patch

-30
This file was deleted.

platform/mellanox/hw-management/0003-Make-hw-mgmt-SimX-compatiable.patch

+17-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
From 5858f60aa5948a502ca8a1c9357ac81baa6f68dc Mon Sep 17 00:00:00 2001
2+
From: junchao <[email protected]>
3+
Date: Fri, 23 Apr 2021 09:27:43 +0800
4+
Subject: [PATCH] Make hw-mgmt SimX compatible
5+
6+
---
7+
usr/usr/bin/hw-management-ready.sh | 11 +++++++----
8+
usr/usr/bin/hw-management.sh | 9 +++++++++
9+
2 files changed, 16 insertions(+), 4 deletions(-)
10+
111
diff --git a/usr/usr/bin/hw-management-ready.sh b/usr/usr/bin/hw-management-ready.sh
212
index 3c9f7b6..05d143f 100755
313
--- a/usr/usr/bin/hw-management-ready.sh
@@ -20,10 +30,10 @@ index 3c9f7b6..05d143f 100755
2030
echo "Start Chassis HW management service."
2131
logger -t hw-management -p daemon.notice "Start Chassis HW management service."
2232
diff --git a/usr/usr/bin/hw-management.sh b/usr/usr/bin/hw-management.sh
23-
index 70f1297..e427a3d 100755
33+
index 991cf45..16ad0bf 100755
2434
--- a/usr/usr/bin/hw-management.sh
2535
+++ b/usr/usr/bin/hw-management.sh
26-
@@ -1110,6 +1110,13 @@ do_chip_down()
36+
@@ -1265,6 +1265,13 @@ do_chip_down()
2737
/usr/bin/hw-management-thermal-events.sh change hotplug_asic down %S %p
2838
}
2939

@@ -35,9 +45,9 @@ index 70f1297..e427a3d 100755
3545
+}
3646
+
3747
__usage="
38-
Usage: $(basename $0) [Options]
48+
Usage: $(basename "$0") [Options]
3949

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

@@ -46,3 +56,6 @@ index 70f1297..e427a3d 100755
4656
case $ACTION in
4757
start)
4858
if [ -d /var/run/hw-management ]; then
59+
--
60+
1.9.1
61+
Submodule hw-mgmt updated 85 files

0 commit comments

Comments
 (0)