Skip to content

[202311] [Mellanox] Integrate HW-MGMT 7.0030.4002#393

Merged
saiarcot895 merged 5 commits intosonic-net:202311from
vivekrnv:hw_mgmt_4000
May 25, 2024
Merged

[202311] [Mellanox] Integrate HW-MGMT 7.0030.4002#393
saiarcot895 merged 5 commits intosonic-net:202311from
vivekrnv:hw_mgmt_4000

Conversation

@vivekrnv
Copy link
Copy Markdown
Contributor

What I did

  • Integrate new hw-mgmt changes
  • Add support for compiling linux kernel with custom platform patches and kconfig

How to Verify

  • Compile linux kernel for mellanox and vs platforms. Make sure compilation is succeeded
  • Run regression tests on mellanox platform

vivekrnv added 4 commits May 7, 2024 22:42
Signed-off-by: vkarri <vkarri@contoso.com>
 ## Patch List
* 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-mlxsw-Use-weak-reverse-dependencies-for-firmware-fla.patch :
* 0099-mlxsw-core_hwmon-Fix-variable-names-for-hwmon-attrib.patch : torvalds/linux@bed8f4197cb2
* 0100-mlxsw-core_thermal-Rename-labels-according-to-naming.patch : torvalds/linux@009da9fad567
* 0101-mlxsw-core_thermal-Remove-obsolete-API-for-query-res.patch : torvalds/linux@bfb82c9cceac
* 0102-mlxsw-reg-Add-mgpir_-prefix-to-MGPIR-fields-comments.patch : torvalds/linux@719fc0662cdc
* 0103-mlxsw-core-Remove-unnecessary-asserts.patch : torvalds/linux@af9911c569d5
* 0104-mlxsw-reg-Extend-MTMP-register-with-new-slot-number-.patch : torvalds/linux@d30bed29a718
* 0105-mlxsw-reg-Extend-MTBR-register-with-new-slot-number-.patch : torvalds/linux@c6e6ad703ed2
* 0106-mlxsw-reg-Extend-MCIA-register-with-new-slot-number-.patch : torvalds/linux@89dd6fcd07f9
* 0107-mlxsw-reg-Extend-MCION-register-with-new-slot-number.patch : torvalds/linux@655cbb1d7530
* 0108-mlxsw-reg-Extend-PMMP-register-with-new-slot-number-.patch : torvalds/linux@7cb85d3c696e
* 0109-mlxsw-reg-Extend-MGPIR-register-with-new-slot-fields.patch : torvalds/linux@b691602c6f96
* 0110-mlxsw-core_env-Pass-slot-index-during-PMAOS-register.patch : torvalds/linux@64e65a540e6d
* 0111-mlxsw-reg-Add-new-field-to-Management-General-Periph.patch : torvalds/linux@e94295e0ed27
* 0112-mlxsw-core-Extend-interfaces-for-cable-info-access-w.patch : torvalds/linux@349454526f5f
* 0113-mlxsw-core-Extend-port-module-data-structures-for-li.patch : torvalds/linux@e5b6a5bac8cc
* 0114-mlxsw-core-Move-port-module-events-enablement-to-a-s.patch : torvalds/linux@b244143a085e
* 0115-mlxsw-core_hwmon-Split-gearbox-initialization.patch :
* 0116-mlxsw-core_hwmon-Extend-internal-structures-to-suppo.patch : torvalds/linux@b890ad418e1f
* 0117-mlxsw-core_hwmon-Introduce-slot-parameter-in-hwmon-i.patch : torvalds/linux@fd27849dd6fd
* 0118-mlxsw-core_hwmon-Extend-hwmon-device-with-gearbox-ma.patch :
* 0119-mlxsw-core_thermal-Extend-internal-structures-to-sup.patch : torvalds/linux@ef0df4fa324a
* 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 : torvalds/linux@6d94449a7d7d
* 0123-mlxsw-core_thermal-Use-exact-name-of-cooling-devices.patch : torvalds/linux@739d56bc635e
* 0124-mlxsw-core_thermal-Use-common-define-for-thermal-zon.patch : torvalds/linux@03978fb88b06
* 0125-devlink-add-support-to-create-line-card-and-expose-t.patch : torvalds/linux@c246f9b5fd61
* 0126-devlink-implement-line-card-provisioning.patch : torvalds/linux@fcdc8ce23a30
* 0127-devlink-implement-line-card-active-state.patch : torvalds/linux@fc9f50d5b366
* 0128-devlink-add-port-to-line-card-relationship-set.patch : torvalds/linux@b83758598538
* 0129-devlink-introduce-linecard-info-get-message.patch : torvalds/linux@276910aecc6a
* 0130-devlink-introduce-linecard-info-get-message.patch :
* 0131-mlxsw-reg-Add-Ports-Mapping-event-Configuration-Regi.patch : torvalds/linux@ebf0c5341731
* 0132-mlxsw-reg-Add-Management-DownStream-Device-Query-Reg.patch : torvalds/linux@505f524dc660
* 0133-mlxsw-reg-Add-Management-DownStream-Device-Control-R.patch : torvalds/linux@5290a8ff2e11
* 0134-mlxsw-reg-Add-Management-Binary-Code-Transfer-Regist.patch : torvalds/linux@5bade5aa4afc
* 0135-mlxsw-core_linecards-Add-line-card-objects-and-imple.patch : torvalds/linux@b217127e5e4e
* 0136-mlxsw-core_linecards-Implement-line-card-activation-.patch : torvalds/linux@ee7a70fa671b
* 0137-mlxsw-core-Extend-driver-ops-by-remove-selected-port.patch : torvalds/linux@45bf3b7267e0
* 0138-mlxsw-spectrum-Add-port-to-linecard-mapping.patch : torvalds/linux@6445eef0f600
* 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 : torvalds/linux@8f9b0513a950
* 0142-mlxsw-core_linecards-Probe-devices-for-provisioned-l.patch :
* 0143-mlxsw-core_linecards-Expose-device-FW-version-over-d.patch : torvalds/linux@e932b4bdbd7c
* 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 : torvalds/linux@06a0fc43bb10
* 0149-mlxsw-core_thermal-Add-interfaces-for-line-card-init.patch : torvalds/linux@f11a323da46c
* 0150-mlxsw-core_hwmon-Add-interfaces-for-line-card-initia.patch : torvalds/linux@99a03b3193f6
* 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 : torvalds/linux@33fa6909a263
* 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 : torvalds/linux@52e01c0b1d80
* 0174-DS-mlxsw-core_linecards-Skip-devlink-and-provisionin.patch :
* 0181-Revert-Fix-out-of-bounds-memory-accesses-in-thermal.patch :
* 0268-DS-mlxsw-core_linecards-Disable-firmware-bundling-ma.patch :
* 0275-mlxsw-Use-u16-for-local_port-field-instead-of-u8.patch : torvalds/linux@c934757d9000
* 0276-mlxsw-minimal-Change-type-for-local-port.patch :
* 0277-mlxsw-i2c-Fix-chunk-size-setting-in-output-mailbox-b.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 :
* 0306-dt-bindings-trivial-devices-Add-infineon-xdpe1a2g7.patch :
* 0307-leds-mlxreg-Add-support-for-new-flavour-of-capabilit.patch :
* 0308-leds-mlxreg-Remove-code-for-amber-LED-colour.patch :
* 0308-platform_data-mlxreg-Add-capability-bit-and-mask-fie.patch :
* 0309-hwmon-mlxreg-fan-Add-support-for-new-flavour-of-capa.patch :
* 0310-hwmon-mlxreg-fan-Extend-number-of-supporetd-fans.patch :
* 0317-platform-mellanox-Introduce-support-for-switches-equ.patch :
* 0318-mellanox-Relocate-mlx-platform-driver.patch :
* 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 :
* 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 :
* 0335-hwmon-pmbus-Add-support-for-MPS-Multi-phase-mp2855-c.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 :
Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
…kconfig

Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
@saiarcot895
Copy link
Copy Markdown
Contributor

Could you modify the azure-pipelines.yml pipeline to add a build for mellanox-amd64?

@vivekrnv
Copy link
Copy Markdown
Contributor Author

vivekrnv commented May 14, 2024

Could you modify the azure-pipelines.yml pipeline to add a build for mellanox-amd64?

Edit: updated

Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
@liat-grozovik
Copy link
Copy Markdown
Collaborator

@saiarcot895 @yxieca please help to approve and merge

@liat-grozovik
Copy link
Copy Markdown
Collaborator

@saiarcot895 Please hold the merge. we are looking into a failure we observed.

@dgsudharsan dgsudharsan reopened this May 16, 2024
@vivekrnv vivekrnv marked this pull request as draft May 16, 2024 06:53
@vivekrnv vivekrnv marked this pull request as ready for review May 21, 2024 16:28
@vivekrnv vivekrnv changed the title [202311] [Mellanox] Integrate HW-MGMT 7.0030.4001 [202311] [Mellanox] Integrate HW-MGMT 7.0030.4002 May 21, 2024
@saiarcot895
Copy link
Copy Markdown
Contributor

Just to recheck, I don't see any diff between 4001 and 4002 here. Were the changes elsewhere (i.e. not in the kernel patches)?

@vivekrnv
Copy link
Copy Markdown
Contributor Author

yes, the changes are only in the hw-mgmt submodule b/w 4001 & 4002. you can check it in here sonic-net/sonic-buildimage#18954

@saiarcot895 saiarcot895 merged commit 55e845d into sonic-net:202311 May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants