Skip to content

Commit

Permalink
Intgerate HW-MGMT 7.0030.3006 Changes
Browse files Browse the repository at this point in the history
 ## Patch List
* 0329-gpio-mlxbf3-Fix-error-message.patch :
* 9003-platform-mellanox-Introduce-support-of-Nvidia-L1-tra.patch :
  • Loading branch information
keboliu authored and sw-r2d2-bot committed Apr 1, 2024
1 parent fced303 commit cf0cd53
Show file tree
Hide file tree
Showing 75 changed files with 331 additions and 13,410 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.0030.2008
MLNX_HW_MANAGEMENT_VERSION = 7.0030.3006

export MLNX_HW_MANAGEMENT_VERSION

Expand Down
2 changes: 1 addition & 1 deletion platform/mellanox/hw-management/hw-mgmt
Submodule hw-mgmt updated 296 files
71 changes: 2 additions & 69 deletions platform/mellanox/hw-management/hwmgmt_nonup_patches
Original file line number Diff line number Diff line change
Expand Up @@ -2,71 +2,9 @@
0049-leds-mlxreg-Provide-conversion-for-hardware-LED-colo.patch
0050-leds-mlxreg-Skip-setting-LED-color-during-initializa.patch
0051-leds-mlxreg-Allow-multi-instantiation-of-same-name-L.patch
0098-1-Revert-mlxsw-Use-u16-for-local_port-field.patch
0098-2-Revert-mlxsw-i2c-Fix-chunk-size-setting.patch
0098-3-Revert-mlxsw-core_hwmon-Adjust-module-label-names.patch
0099-mlxsw-core_hwmon-Fix-variable-names-for-hwmon-attrib.patch
0100-mlxsw-core_thermal-Rename-labels-according-to-naming.patch
0101-mlxsw-core_thermal-Remove-obsolete-API-for-query-res.patch
0102-mlxsw-reg-Add-mgpir_-prefix-to-MGPIR-fields-comments.patch
0103-mlxsw-core-Remove-unnecessary-asserts.patch
0104-mlxsw-reg-Extend-MTMP-register-with-new-slot-number-.patch
0105-mlxsw-reg-Extend-MTBR-register-with-new-slot-number-.patch
0106-mlxsw-reg-Extend-MCIA-register-with-new-slot-number-.patch
0107-mlxsw-reg-Extend-MCION-register-with-new-slot-number.patch
0108-mlxsw-reg-Extend-PMMP-register-with-new-slot-number-.patch
0109-mlxsw-reg-Extend-MGPIR-register-with-new-slot-fields.patch
0110-mlxsw-core_env-Pass-slot-index-during-PMAOS-register.patch
0111-mlxsw-reg-Add-new-field-to-Management-General-Periph.patch
0112-mlxsw-core-Extend-interfaces-for-cable-info-access-w.patch
0113-mlxsw-core-Extend-port-module-data-structures-for-li.patch
0114-mlxsw-core-Move-port-module-events-enablement-to-a-s.patch
0115-mlxsw-core_hwmon-Split-gearbox-initialization.patch
0116-mlxsw-core_hwmon-Extend-internal-structures-to-suppo.patch
0117-mlxsw-core_hwmon-Introduce-slot-parameter-in-hwmon-i.patch
0118-mlxsw-core_hwmon-Extend-hwmon-device-with-gearbox-ma.patch
0119-mlxsw-core_thermal-Extend-internal-structures-to-sup.patch
0120-mlxsw-core_thermal-Split-gearbox-initialization.patch
0121-mlxsw-core_thermal-Extend-thermal-area-with-gearbox-.patch
0122-mlxsw-core_thermal-Add-line-card-id-prefix-to-line-c.patch
0123-mlxsw-core_thermal-Use-exact-name-of-cooling-devices.patch
0124-mlxsw-core_thermal-Use-common-define-for-thermal-zon.patch
0125-devlink-add-support-to-create-line-card-and-expose-t.patch
0126-devlink-implement-line-card-provisioning.patch
0127-devlink-implement-line-card-active-state.patch
0128-devlink-add-port-to-line-card-relationship-set.patch
0129-devlink-introduce-linecard-info-get-message.patch
0130-devlink-introduce-linecard-info-get-message.patch
0131-mlxsw-reg-Add-Ports-Mapping-event-Configuration-Regi.patch
0132-mlxsw-reg-Add-Management-DownStream-Device-Query-Reg.patch
0133-mlxsw-reg-Add-Management-DownStream-Device-Control-R.patch
0134-mlxsw-reg-Add-Management-Binary-Code-Transfer-Regist.patch
0135-mlxsw-core_linecards-Add-line-card-objects-and-imple.patch
0136-mlxsw-core_linecards-Implement-line-card-activation-.patch
0137-mlxsw-core-Extend-driver-ops-by-remove-selected-port.patch
0138-mlxsw-spectrum-Add-port-to-linecard-mapping.patch
0139-mlxsw-reg-Introduce-Management-Temperature-Extended-.patch
0140-mlxsw-core-Add-APIs-for-thermal-sensor-mapping.patch
0141-mlxsw-reg-Add-Management-DownStream-Device-Tunneling.patch
0142-mlxsw-core_linecards-Probe-devices-for-provisioned-l.patch
0143-mlxsw-core_linecards-Expose-device-FW-version-over-d.patch
0144-mlxsw-core-Introduce-flash-update-components.patch
0145-mlxfw-Get-the-PSID-value-using-op-instead-of-passing.patch
0146-mlxsw-core_linecards-Implement-line-card-device-flas.patch
0147-mlxsw-core_linecards-Introduce-ops-for-linecards-sta.patch
0148-mlxsw-core-Add-interfaces-for-line-card-initializati.patch
0149-mlxsw-core_thermal-Add-interfaces-for-line-card-init.patch
0150-mlxsw-core_hwmon-Add-interfaces-for-line-card-initia.patch
0151-mlxsw-minimal-Prepare-driver-for-modular-system-supp.patch
0152-mlxsw-core-Extend-bus-init-function-with-event-handl.patch
0153-mlxsw-i2c-Add-support-for-system-events-handling.patch
0154-mlxsw-core-Export-line-card-API.patch
0155-mlxsw-minimal-Add-system-event-handler.patch
0156-mlxsw-minimal-Add-interfaces-for-line-card-initializ.patch
0167-DS-lan743x-Add-support-for-fixed-phy.patch
0168-TMP-mlxsw-minimal-Ignore-error-reading-SPAD-register.patch
0171-platform-mellanox-mlxreg-lc-Fix-cleanup-on-failure-a.patch
0174-DS-mlxsw-core_linecards-Skip-devlink-and-provisionin.patch
0181-Revert-Fix-out-of-bounds-memory-accesses-in-thermal.patch
0200-dt-bindings-i2c-mellanox-i2c-mlxbf-convert-txt-to-YA.patch
0203-i2c-mlxbf-remove-IRQF_ONESHOT.patch
Expand Down Expand Up @@ -127,18 +65,11 @@
0264-UBUNTU-SAUCE-platform-mellanox-Add-ctrl-message-and-.patch
0266-UBUNTU-SAUCE-mlxbf-pmc-Bug-fix-for-BlueField-3-count.patch
0267-UBUNTU-SAUCE-mmc-sdhci-of-dwcmshc-add-the-missing-de.patch
0268-DS-mlxsw-core_linecards-Disable-firmware-bundling-ma.patch
0275-mlxsw-Use-u16-for-local_port-field-instead-of-u8.patch
0276-mlxsw-minimal-Change-type-for-local-port.patch
0277-mlxsw-i2c-Fix-chunk-size-setting-in-output-mailbox-b.patch
0285-UBUNTU-SAUCE-mlxbf-gige-Fix-intermittent-no-ip-issue.patch
0286-pinctrl-Introduce-struct-pinfunction-and-PINCTRL_PIN.patch
0287-pinctrl-mlxbf3-Add-pinctrl-driver-support.patch
0288-UBUNTU-SAUCE-gpio-mmio-handle-ngpios-properly-in-bgp.patch
0289-UBUNTU-SAUCE-gpio-mlxbf3-Add-gpio-driver-support.patch
0291-mlxsw-core_hwmon-Align-modules-label-name-assignment.patch
0292-mlxsw-i2c-Limit-single-transaction-buffer-size.patch
0293-mlxsw-reg-Limit-MTBR-register-records-buffer-by-one-.patch
0296-UBUNTU-SAUCE-mmc-sdhci-of-dwcmshc-Add-runtime-PM-ope.patch
0298-UBUNTU-SAUCE-mlxbf-ptm-use-0444-instead-of-S_IRUGO.patch
0299-UBUNTU-SAUCE-mlxbf-ptm-add-atx-debugfs-nodes.patch
Expand All @@ -164,4 +95,6 @@
0326-platform-mellanox-mlxreg-hotplug-Add-support-for-new.patch
0327-platform-mellanox-mlx-platform-Change-register-name.patch
0328-platform-mellanox-mlx-platform-Add-support-for-new-X.patch
0329-gpio-mlxbf3-Fix-error-message.patch
9002-TMP-fix-for-fan-minimum-speed.patch
9003-platform-mellanox-Introduce-support-of-Nvidia-L1-tra.patch
121 changes: 16 additions & 105 deletions platform/mellanox/non-upstream-patches/external-changes.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/patch/series
+++ b/patch/series
@@ -115,6 +115,9 @@
@@ -116,6 +116,9 @@
0045-i2c-mlxcpld-Fix-criteria-for-frequency-setting.patch
0046-i2c-mlxcpld-Reduce-polling-time-for-performance-impr.patch
0047-i2c-mlxcpld-Allow-flexible-polling-time-setting-for-.patch
Expand All @@ -10,76 +10,7 @@
0053-mlxsw-core-Avoid-creation-virtual-hwmon-objects-by-t.patch
0054-mlxsw-minimal-Simplify-method-of-modules-number-dete.patch
0055-platform_data-mlxreg-Add-new-type-to-support-modular.patch
@@ -162,7 +165,68 @@
0097-1-mlxsw-Use-u16-for-local_port-field.patch
0097-2-mlxsw-i2c-Fix-chunk-size-setting.patch
0097-3-mlxsw-core_hwmon-Adjust-module-label-names.patch
+0098-1-Revert-mlxsw-Use-u16-for-local_port-field.patch
+0098-2-Revert-mlxsw-i2c-Fix-chunk-size-setting.patch
+0098-3-Revert-mlxsw-core_hwmon-Adjust-module-label-names.patch
+0099-mlxsw-core_hwmon-Fix-variable-names-for-hwmon-attrib.patch
+0100-mlxsw-core_thermal-Rename-labels-according-to-naming.patch
+0101-mlxsw-core_thermal-Remove-obsolete-API-for-query-res.patch
+0102-mlxsw-reg-Add-mgpir_-prefix-to-MGPIR-fields-comments.patch
+0103-mlxsw-core-Remove-unnecessary-asserts.patch
+0104-mlxsw-reg-Extend-MTMP-register-with-new-slot-number-.patch
+0105-mlxsw-reg-Extend-MTBR-register-with-new-slot-number-.patch
+0106-mlxsw-reg-Extend-MCIA-register-with-new-slot-number-.patch
+0107-mlxsw-reg-Extend-MCION-register-with-new-slot-number.patch
+0108-mlxsw-reg-Extend-PMMP-register-with-new-slot-number-.patch
+0109-mlxsw-reg-Extend-MGPIR-register-with-new-slot-fields.patch
+0110-mlxsw-core_env-Pass-slot-index-during-PMAOS-register.patch
+0111-mlxsw-reg-Add-new-field-to-Management-General-Periph.patch
+0112-mlxsw-core-Extend-interfaces-for-cable-info-access-w.patch
+0113-mlxsw-core-Extend-port-module-data-structures-for-li.patch
+0114-mlxsw-core-Move-port-module-events-enablement-to-a-s.patch
+0115-mlxsw-core_hwmon-Split-gearbox-initialization.patch
+0116-mlxsw-core_hwmon-Extend-internal-structures-to-suppo.patch
+0117-mlxsw-core_hwmon-Introduce-slot-parameter-in-hwmon-i.patch
+0118-mlxsw-core_hwmon-Extend-hwmon-device-with-gearbox-ma.patch
+0119-mlxsw-core_thermal-Extend-internal-structures-to-sup.patch
+0120-mlxsw-core_thermal-Split-gearbox-initialization.patch
+0121-mlxsw-core_thermal-Extend-thermal-area-with-gearbox-.patch
+0122-mlxsw-core_thermal-Add-line-card-id-prefix-to-line-c.patch
+0123-mlxsw-core_thermal-Use-exact-name-of-cooling-devices.patch
+0124-mlxsw-core_thermal-Use-common-define-for-thermal-zon.patch
+0125-devlink-add-support-to-create-line-card-and-expose-t.patch
+0126-devlink-implement-line-card-provisioning.patch
+0127-devlink-implement-line-card-active-state.patch
+0128-devlink-add-port-to-line-card-relationship-set.patch
+0129-devlink-introduce-linecard-info-get-message.patch
+0130-devlink-introduce-linecard-info-get-message.patch
+0131-mlxsw-reg-Add-Ports-Mapping-event-Configuration-Regi.patch
+0132-mlxsw-reg-Add-Management-DownStream-Device-Query-Reg.patch
+0133-mlxsw-reg-Add-Management-DownStream-Device-Control-R.patch
+0134-mlxsw-reg-Add-Management-Binary-Code-Transfer-Regist.patch
+0135-mlxsw-core_linecards-Add-line-card-objects-and-imple.patch
+0136-mlxsw-core_linecards-Implement-line-card-activation-.patch
+0137-mlxsw-core-Extend-driver-ops-by-remove-selected-port.patch
+0138-mlxsw-spectrum-Add-port-to-linecard-mapping.patch
+0139-mlxsw-reg-Introduce-Management-Temperature-Extended-.patch
+0140-mlxsw-core-Add-APIs-for-thermal-sensor-mapping.patch
+0141-mlxsw-reg-Add-Management-DownStream-Device-Tunneling.patch
+0142-mlxsw-core_linecards-Probe-devices-for-provisioned-l.patch
+0143-mlxsw-core_linecards-Expose-device-FW-version-over-d.patch
+0144-mlxsw-core-Introduce-flash-update-components.patch
+0145-mlxfw-Get-the-PSID-value-using-op-instead-of-passing.patch
+0146-mlxsw-core_linecards-Implement-line-card-device-flas.patch
+0147-mlxsw-core_linecards-Introduce-ops-for-linecards-sta.patch
+0148-mlxsw-core-Add-interfaces-for-line-card-initializati.patch
+0149-mlxsw-core_thermal-Add-interfaces-for-line-card-init.patch
+0150-mlxsw-core_hwmon-Add-interfaces-for-line-card-initia.patch
+0151-mlxsw-minimal-Prepare-driver-for-modular-system-supp.patch
+0152-mlxsw-core-Extend-bus-init-function-with-event-handl.patch
0152-mlxsw-i2c-Prevent-transaction-execution-for-spec.patch
+0153-mlxsw-i2c-Add-support-for-system-events-handling.patch
+0154-mlxsw-core-Export-line-card-API.patch
+0155-mlxsw-minimal-Add-system-event-handler.patch
+0156-mlxsw-minimal-Add-interfaces-for-line-card-initializ.patch
0157-platform-x86-mlx-platform-Make-activation-of-some-dr.patch
0158-platform-x86-mlx-platform-Add-cosmetic-changes-for-a.patch
0159-mlx-platform-Add-support-for-systems-equipped-with-t.patch
@@ -173,14 +237,19 @@
@@ -236,7 +239,10 @@
0164-hwmon-jc42-Add-support-for-Seiko-Instruments-S-34TS0.patch
0165-platform-mellanox-mlxreg-io-Add-locking-for-io-opera.patch
0166-DS-leds-leds-mlxreg-Send-udev-event-from-leds-mlxreg.patch
Expand All @@ -89,17 +20,16 @@
+0171-platform-mellanox-mlxreg-lc-Fix-cleanup-on-failure-a.patch
0172-DS-platform-mlx-platform-Add-SPI-path-for-rack-switc.patch
0173-mlxsw-core-Add-support-for-OSFP-transceiver-modules.patch
+0174-DS-mlxsw-core_linecards-Skip-devlink-and-provisionin.patch
0175-hwmon-pmbus-Add-support-for-Infineon-Digital-Multi-p.patch
0176-platform-mellanox-fix-reset_pwr_converter_fail-attri.patch
0174-DS-mlxsw-core_linecards-Skip-devlink-and-provisionin.patch
@@ -245,6 +251,7 @@
0177-Documentation-ABI-fix-description-of-fix-reset_pwr_c.patch
0178-platform-mellanox-Introduce-support-for-next-generat.patch
0180-hwmon-pmbus-Fix-sensors-readouts-for-MPS-Multi-phase.patch
+0181-Revert-Fix-out-of-bounds-memory-accesses-in-thermal.patch
0182-platform-mellanox-Introduce-support-of-new-Nvidia-L1.patch
0183-platform-mellanox-Split-initialization-procedure.patch
0184-platform-mellanox-Split-logic-in-init-and-exit-flow.patch
@@ -198,24 +267,121 @@
@@ -262,6 +269,65 @@
0197-platform-mellanox-Fix-order-in-exit-flow.patch
0198-platform-mellanox-Add-new-attributes.patch
0199-platform-mellanox-Change-register-offset-addresses.patch
Expand Down Expand Up @@ -162,15 +92,10 @@
+0264-UBUNTU-SAUCE-platform-mellanox-Add-ctrl-message-and-.patch
+0266-UBUNTU-SAUCE-mlxbf-pmc-Bug-fix-for-BlueField-3-count.patch
+0267-UBUNTU-SAUCE-mmc-sdhci-of-dwcmshc-add-the-missing-de.patch
+0268-DS-mlxsw-core_linecards-Disable-firmware-bundling-ma.patch
0268-DS-mlxsw-core_linecards-Disable-firmware-bundling-ma.patch
0269-platform-mellanox-Add-field-upgrade-capability-regis.patch
0270-platform-mellanox-Modify-reset-causes-description.patch
+0275-mlxsw-Use-u16-for-local_port-field-instead-of-u8.patch
+0276-mlxsw-minimal-Change-type-for-local-port.patch
+0277-mlxsw-i2c-Fix-chunk-size-setting-in-output-mailbox-b.patch
0278-platform-mellanox-mlx-platform-Modify-graceful-shutd.patch
0279-platform-mellanox-mlx-platform-Fix-signals-polarity-.patch
0280-platform-mellanox-mlxreg-hotplug-Extend-condition-fo.patch
@@ -274,22 +340,55 @@
0281-platform-mellanox-mlx-platform-Modify-health-and-pow.patch
0282-platform-mellanox-mlx-platform-Add-reset-cause-attri.patch
0284-platform-mellanox-mlx-platform-add-support-for-addit.patch
Expand All @@ -179,9 +104,9 @@
+0287-pinctrl-mlxbf3-Add-pinctrl-driver-support.patch
+0288-UBUNTU-SAUCE-gpio-mmio-handle-ngpios-properly-in-bgp.patch
+0289-UBUNTU-SAUCE-gpio-mlxbf3-Add-gpio-driver-support.patch
+0291-mlxsw-core_hwmon-Align-modules-label-name-assignment.patch
+0292-mlxsw-i2c-Limit-single-transaction-buffer-size.patch
+0293-mlxsw-reg-Limit-MTBR-register-records-buffer-by-one-.patch
0291-mlxsw-core_hwmon-Align-modules-label-name-assignment.patch
0292-mlxsw-i2c-Limit-single-transaction-buffer-size.patch
0293-mlxsw-reg-Limit-MTBR-register-records-buffer-by-one-.patch
0294-hwmon-pmbus-Add-support-for-MPS-Multi-phase-mp2891-c.patch
0295-dt-bindings-trivial-devices-Add-mps-mp2891.patch
+0296-UBUNTU-SAUCE-mmc-sdhci-of-dwcmshc-Add-runtime-PM-ope.patch
Expand Down Expand Up @@ -217,27 +142,13 @@
+0326-platform-mellanox-mlxreg-hotplug-Add-support-for-new.patch
+0327-platform-mellanox-mlx-platform-Change-register-name.patch
+0328-platform-mellanox-mlx-platform-Add-support-for-new-X.patch
+0329-gpio-mlxbf3-Fix-error-message.patch
0330-mlxsw-i2c-Downstream-Add-retry-mechanism-for-failed-.patch
0331-mlxsw-i2c-DBG-Add-debug-output-for-failed-transactio.patch
0332-platform-mellanox-indicate-deferred-I2C-bus-creation.patch
+9002-TMP-fix-for-fan-minimum-speed.patch
+9003-platform-mellanox-Introduce-support-of-Nvidia-L1-tra.patch
9004-DS-OPT-mlxsw-minimal-Downstream-Disable-ethtool-interface.patch
###-> mellanox_hw_mgmt-end

# Cisco patches for 5.10 kernel

--- a/patch/kconfig-inclusions
+++ b/patch/kconfig-inclusions
@@ -206,4 +206,15 @@
[mellanox-arm64]
CONFIG_THERMAL_STATISTICS=n
CONFIG_THERMAL_WRITABLE_TRIPS=y
-
+CONFIG_SENSORS_MP2891=m
+CONFIG_MMC_SDHCI_OF_DWCMSHC=m
+CONFIG_VFIO_PLATFORM=m
+CONFIG_SENSORS_ARM_SCMI=m
+CONFIG_MLXBF_GIGE=m
+CONFIG_I2C_MLXBF=m
+CONFIG_GPIO_MLXBF3=m
+CONFIG_MLXBF_TMFIFO=m
+CONFIG_MLXBF_BOOTCTL=m
+CONFIG_MLXBF_PMC=m
+CONFIG_MLXBF_PTM=m
+
Loading

0 comments on commit cf0cd53

Please sign in to comment.