Skip to content

Commit

Permalink
[202111][Mellanox] Update hw-mgmt package to version V.7.0020.2004 (s…
Browse files Browse the repository at this point in the history
…onic-net#10402)

This PR is to backport sonic-net#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 <[email protected]>
  • Loading branch information
keboliu authored Apr 8, 2022
1 parent a90ca48 commit 49045ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion platform/mellanox/hw-management.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ index 39f621e..c0980bc 100644
mp2888
i2c-mux-pca954x
-emc2305
-ads1015
-ti-ads1015
powr1220
gpio-pca953x
pmbus
Expand Down
2 changes: 1 addition & 1 deletion platform/mellanox/hw-management/hw-mgmt
Submodule hw-mgmt updated 87 files
+ Documentation/Chassis_Management_for_Mellanox_Switch_Systems_with_Sysfs-for-update_rev.2.1.pdf
+ Documentation/Chassis_Management_for_Mellanox_Switch_Systems_with_Sysfs-for-update_rev.2.2.pdf
+4 −7 README.md
+178 −0 debian/Release.txt
+2 −2 debian/changelog
+1 −0 debian/hw-management.hw-management.service
+63 −12 recipes-kernel/linux/Patch_Status_Table.txt
+200 −63 recipes-kernel/linux/linux-4.19/0151-platform-mellanox-Add-support-for-new-SN2201-system.patch
+9 −7 recipes-kernel/linux/linux-5.10/0086-hwmon-powr1220-Add-support-for-Lattice-s-POWR1014-po.patch
+200 −63 recipes-kernel/linux/linux-5.10/0089-platform-mellanox-Add-support-for-new-SN2201-system.patch
+34 −0 recipes-kernel/linux/linux-5.10/0098-mlxsw-Use-weak-reverse-dependencies-for-firmware-fla.patch
+256 −0 recipes-kernel/linux/linux-5.10/0099-mlxsw-core_hwmon-Fix-variable-names-for-hwmon-attrib.patch
+162 −0 recipes-kernel/linux/linux-5.10/0100-mlxsw-core_thermal-Rename-labels-according-to-naming.patch
+111 −0 recipes-kernel/linux/linux-5.10/0101-mlxsw-core_thermal-Remove-obsolete-API-for-query-res.patch
+52 −0 recipes-kernel/linux/linux-5.10/0102-mlxsw-reg-Add-mgpir_-prefix-to-MGPIR-fields-comments.patch
+103 −0 recipes-kernel/linux/linux-5.10/0103-mlxsw-core-Remove-unnecessary-asserts.patch
+147 −0 recipes-kernel/linux/linux-5.10/0104-mlxsw-reg-Extend-MTMP-register-with-new-slot-number-.patch
+88 −0 recipes-kernel/linux/linux-5.10/0105-mlxsw-reg-Extend-MTBR-register-with-new-slot-number-.patch
+109 −0 recipes-kernel/linux/linux-5.10/0106-mlxsw-reg-Extend-MCIA-register-with-new-slot-number-.patch
+69 −0 recipes-kernel/linux/linux-5.10/0107-mlxsw-reg-Extend-MCION-register-with-new-slot-number.patch
+68 −0 recipes-kernel/linux/linux-5.10/0108-mlxsw-reg-Extend-PMMP-register-with-new-slot-number-.patch
+199 −0 recipes-kernel/linux/linux-5.10/0109-mlxsw-reg-Extend-MGPIR-register-with-new-slot-fields.patch
+66 −0 recipes-kernel/linux/linux-5.10/0110-mlxsw-core_env-Pass-slot-index-during-PMAOS-register.patch
+38 −0 recipes-kernel/linux/linux-5.10/0111-mlxsw-reg-Add-new-field-to-Management-General-Periph.patch
+828 −0 recipes-kernel/linux/linux-5.10/0112-mlxsw-core-Extend-interfaces-for-cable-info-access-w.patch
+520 −0 recipes-kernel/linux/linux-5.10/0113-mlxsw-core-Extend-port-module-data-structures-for-li.patch
+92 −0 recipes-kernel/linux/linux-5.10/0114-mlxsw-core-Move-port-module-events-enablement-to-a-s.patch
+122 −0 recipes-kernel/linux/linux-5.10/0115-mlxsw-core_hwmon-Split-gearbox-initialization.patch
+541 −0 recipes-kernel/linux/linux-5.10/0116-mlxsw-core_hwmon-Extend-internal-structures-to-suppo.patch
+129 −0 recipes-kernel/linux/linux-5.10/0117-mlxsw-core_hwmon-Introduce-slot-parameter-in-hwmon-i.patch
+136 −0 recipes-kernel/linux/linux-5.10/0118-mlxsw-core_hwmon-Extend-hwmon-device-with-gearbox-ma.patch
+367 −0 recipes-kernel/linux/linux-5.10/0119-mlxsw-core_thermal-Extend-internal-structures-to-sup.patch
+138 −0 recipes-kernel/linux/linux-5.10/0120-mlxsw-core_thermal-Split-gearbox-initialization.patch
+127 −0 recipes-kernel/linux/linux-5.10/0121-mlxsw-core_thermal-Extend-thermal-area-with-gearbox-.patch
+59 −0 recipes-kernel/linux/linux-5.10/0122-mlxsw-core_thermal-Add-line-card-id-prefix-to-line-c.patch
+35 −0 recipes-kernel/linux/linux-5.10/0123-mlxsw-core_thermal-Use-exact-name-of-cooling-devices.patch
+48 −0 recipes-kernel/linux/linux-5.10/0124-mlxsw-core_thermal-Use-common-define-for-thermal-zon.patch
+532 −0 recipes-kernel/linux/linux-5.10/0125-devlink-add-support-to-create-line-card-and-expose-t.patch
+575 −0 recipes-kernel/linux/linux-5.10/0126-devlink-implement-line-card-provisioning.patch
+107 −0 recipes-kernel/linux/linux-5.10/0127-devlink-implement-line-card-active-state.patch
+107 −0 recipes-kernel/linux/linux-5.10/0128-devlink-add-port-to-line-card-relationship-set.patch
+246 −0 recipes-kernel/linux/linux-5.10/0129-devlink-introduce-linecard-info-get-message.patch
+316 −0 recipes-kernel/linux/linux-5.10/0130-devlink-introduce-linecard-info-get-message.patch
+99 −0 recipes-kernel/linux/linux-5.10/0131-mlxsw-reg-Add-Ports-Mapping-event-Configuration-Regi.patch
+268 −0 recipes-kernel/linux/linux-5.10/0132-mlxsw-reg-Add-Management-DownStream-Device-Query-Reg.patch
+71 −0 recipes-kernel/linux/linux-5.10/0133-mlxsw-reg-Add-Management-DownStream-Device-Control-R.patch
+155 −0 recipes-kernel/linux/linux-5.10/0134-mlxsw-reg-Add-Management-Binary-Code-Transfer-Regist.patch
+1,062 −0 recipes-kernel/linux/linux-5.10/0135-mlxsw-core_linecards-Add-line-card-objects-and-imple.patch
+206 −0 recipes-kernel/linux/linux-5.10/0136-mlxsw-core_linecards-Implement-line-card-activation-.patch
+99 −0 recipes-kernel/linux/linux-5.10/0137-mlxsw-core-Extend-driver-ops-by-remove-selected-port.patch
+153 −0 recipes-kernel/linux/linux-5.10/0138-mlxsw-spectrum-Add-port-to-linecard-mapping.patch
+105 −0 recipes-kernel/linux/linux-5.10/0139-mlxsw-reg-Introduce-Management-Temperature-Extended-.patch
+114 −0 recipes-kernel/linux/linux-5.10/0140-mlxsw-core-Add-APIs-for-thermal-sensor-mapping.patch
+126 −0 recipes-kernel/linux/linux-5.10/0141-mlxsw-reg-Add-Management-DownStream-Device-Tunneling.patch
+224 −0 recipes-kernel/linux/linux-5.10/0142-mlxsw-core_linecards-Probe-devices-for-provisioned-l.patch
+177 −0 recipes-kernel/linux/linux-5.10/0143-mlxsw-core_linecards-Expose-device-FW-version-over-d.patch
+244 −0 recipes-kernel/linux/linux-5.10/0144-mlxsw-core-Introduce-flash-update-components.patch
+200 −0 recipes-kernel/linux/linux-5.10/0145-mlxfw-Get-the-PSID-value-using-op-instead-of-passing.patch
+401 −0 recipes-kernel/linux/linux-5.10/0146-mlxsw-core_linecards-Implement-line-card-device-flas.patch
+277 −0 recipes-kernel/linux/linux-5.10/0147-mlxsw-core_linecards-Introduce-ops-for-linecards-sta.patch
+133 −0 recipes-kernel/linux/linux-5.10/0148-mlxsw-core-Add-interfaces-for-line-card-initializati.patch
+213 −0 recipes-kernel/linux/linux-5.10/0149-mlxsw-core_thermal-Add-interfaces-for-line-card-init.patch
+235 −0 recipes-kernel/linux/linux-5.10/0150-mlxsw-core_hwmon-Add-interfaces-for-line-card-initia.patch
+496 −0 recipes-kernel/linux/linux-5.10/0151-mlxsw-minimal-Prepare-driver-for-modular-system-supp.patch
+90 −0 recipes-kernel/linux/linux-5.10/0152-mlxsw-core-Extend-bus-init-function-with-event-handl.patch
+199 −0 recipes-kernel/linux/linux-5.10/0153-mlxsw-i2c-Add-support-for-system-events-handling.patch
+27 −0 recipes-kernel/linux/linux-5.10/0154-mlxsw-core-Export-line-card-API.patch
+62 −0 recipes-kernel/linux/linux-5.10/0155-mlxsw-minimal-Add-system-event-handler.patch
+119 −0 recipes-kernel/linux/linux-5.10/0156-mlxsw-minimal-Add-interfaces-for-line-card-initializ.patch
+155 −0 recipes-kernel/linux/linux-5.10/0157-mlx-platform-Add-support-for-systems-equipped-with-t.patch
+79 −0 recipes-kernel/linux/linux-5.10/0158-platform-mellanox-Introduce-support-for-COMe-NVSwitc.patch
+97 −0 recipes-kernel/linux/linux-5.10/0159-platform-x86-mlx-platform-Add-support-for-new-system.patch
+381 −0 recipes-kernel/linux/linux-5.10/0160-platform-mellanox-Introduce-support-for-NDR-InfiniBa.patch
+45 −0 usr/etc/hw-management-sensors/p2317_sensors.conf
+214 −0 usr/etc/hw-management-sensors/p4697_sensors.conf
+1 −5 usr/etc/hw-management-sensors/sn2201_sensors.conf
+1 −1 usr/etc/modules-load.d/05-hw-management-modules.conf
+41 −13 usr/lib/udev/rules.d/50-hw-management-events.rules
+194 −34 usr/usr/bin/hw-management-chassis-events.sh
+153 −0 usr/usr/bin/hw-management-global-wp.sh
+39 −1 usr/usr/bin/hw-management-helpers.sh
+2 −2 usr/usr/bin/hw-management-start-post.sh
+22 −9 usr/usr/bin/hw-management-thermal-control.sh
+124 −25 usr/usr/bin/hw-management-thermal-events.sh
+354 −53 usr/usr/bin/hw-management.sh
+20 −4 usr/usr/bin/hw_management_psu_fw_update_delta.py
+21 −6 usr/usr/bin/hw_management_psu_fw_update_murata.py

0 comments on commit 49045ba

Please sign in to comment.