From 49045ba73c1a99330ab6265ce1c8e3b912e43ff9 Mon Sep 17 00:00:00 2001 From: Kebo Liu Date: Fri, 8 Apr 2022 17:58:41 +0800 Subject: [PATCH] [202111][Mellanox] Update hw-mgmt package to version V.7.0020.2004 (#10402) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR is to backport #10401 to 202111 - Why I did it Take new hw-mgmt release to SONiC, including: new features: hw-mgmt: add to PSU FW upgrade tool command to show current FW version hw-mgmt: add to PSU FW upgrade tool support for single-PSU-in-the-system FW upgrade hw-mgmt: add attribute “/firmware” to show FW version of restricted upgradable PSUs only hw-mgmt: Add NVME temperature reports attributes (_alarm/_crit/_min/_max) bug fix: psu: redundant i2c_addr attributes being created for psu 3 & 4 in system having only 2 psus. hw-mgmt: in SPC1/2 i2c driver removal is too slow vs. ASIC reset causing non-functional log errors PSU thresholds sysfs changed in 5.10 to “read only” preventing modification (modification required due PSU HW bug) CPLD3 sysfs attribute missing after chip down/up flow sysfs attributes missing when hw-mgmt is restarted (stop/start) within systemd release notes can be found from link https://github.com/Mellanox/hw-mgmt/blob/V.7.0020.2004/debian/Release.txt - How I did it Update hw-mgmt make file with new version number Update hw-mgmt submodule pointer - How to verify it Run platform regression on all Mellanox platform Signed-off-by: Kebo Liu --- platform/mellanox/hw-management.mk | 2 +- ...03-Remove-unused-non-upstream-kernel-modules-from-load.patch | 2 +- platform/mellanox/hw-management/hw-mgmt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/mellanox/hw-management.mk b/platform/mellanox/hw-management.mk index 620dd39a96..37f8831413 100644 --- a/platform/mellanox/hw-management.mk +++ b/platform/mellanox/hw-management.mk @@ -16,7 +16,7 @@ # # Mellanox HW Management -MLNX_HW_MANAGEMENT_VERSION = 7.0020.1300 +MLNX_HW_MANAGEMENT_VERSION = 7.0020.2004 export MLNX_HW_MANAGEMENT_VERSION diff --git a/platform/mellanox/hw-management/0003-Remove-unused-non-upstream-kernel-modules-from-load.patch b/platform/mellanox/hw-management/0003-Remove-unused-non-upstream-kernel-modules-from-load.patch index fb11422449..496085e9d4 100644 --- a/platform/mellanox/hw-management/0003-Remove-unused-non-upstream-kernel-modules-from-load.patch +++ b/platform/mellanox/hw-management/0003-Remove-unused-non-upstream-kernel-modules-from-load.patch @@ -16,7 +16,7 @@ index 39f621e..c0980bc 100644 mp2888 i2c-mux-pca954x -emc2305 --ads1015 +-ti-ads1015 powr1220 gpio-pca953x pmbus diff --git a/platform/mellanox/hw-management/hw-mgmt b/platform/mellanox/hw-management/hw-mgmt index cd4e3f7bdc..ec2e9173e9 160000 --- a/platform/mellanox/hw-management/hw-mgmt +++ b/platform/mellanox/hw-management/hw-mgmt @@ -1 +1 @@ -Subproject commit cd4e3f7bdc9fe77f0dc78b405e52fe876f7ca490 +Subproject commit ec2e9173e9f24cbc02eb87d81889d408528e090b