Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[pmon] Update the platform_wait script to wait on asic init #79

Closed
wants to merge 16 commits into from

Conversation

vivekrnv
Copy link
Owner

@vivekrnv vivekrnv commented Nov 8, 2023

Why I did it

Deprecate the sfp_count == module_count approach in favour of asic init completion Ref: Mellanox/hw-mgmt@bf4f593

Need hw-mgmt 2000 version min

How I did it

How to verify it

Run the script manually

Nov  8 22:03:35.519299 r-leopard-45 INFO platform_wait: Wait for Mellanox ASIC to be ready
Nov  8 22:03:41.615107 r-leopard-45 INFO platform_wait: Mellanox ASIC is ready

Simulate a ASIC Chipup failure
root@r-leopard-45:/home/admin# echo 0 > /var/run/hw-management/config/asic_chipup_completed

Script exits with exitcode 1 and

Nov  8 22:03:06.393349 r-leopard-45 ERR platform_wait: Mellanox ASIC is not ready: INIT: 1, NUM_ASIC: 1, CHIPUP: 0 timeout....

Which release branch to backport (provide reason below if selected)

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

vivekrnv and others added 11 commits November 7, 2023 22:25
Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
…tion

Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
Deprecate the sfp_count == module_count approach in favour of asic init completion
Ref: Mellanox/hw-mgmt@bf4f593

Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
@vivekrnv
Copy link
Owner Author

vivekrnv commented Nov 9, 2023

Ignore the submodule update commit

@vivekrnv vivekrnv closed this Nov 9, 2023
@vivekrnv vivekrnv reopened this Nov 9, 2023
…FW to v4.6.2104/v2012.2104

* SDK_VERSION: 4.6.1062 -> 4.6.2104
* FW_VERSION: 2012.1062 -> 2012.2104
* SAI_VERSION: SAIBuild2211.25.1.4 -> SAIBuild2311.25.0.36
## Patch List
* 0042-hwmon-mlxreg-fan-Add-support-for-new-flavour-of-capa.patch :
* 0044-leds-mlxreg-Add-support-for-new-flavour-of-capabilit.patch :
* 0045-leds-mlxreg-Remove-code-for-amber-LED-colour.patch :
* 0046-Extend-driver-to-support-Infineon-Digital-Multi-phas.patch :
* 0047-dt-bindings-trivial-devices-Add-infineon-xdpe1a2g7.patch :
* 0048-hwmon-pmbus-Add-support-for-MPS-Multi-phase-mp2891-c.patch :
* 0049-dt-bindings-trivial-devices-Add-mps-mp2891.patch :
* 0053-platform-mellanox-Add-support-for-dynamic-I2C-channe.patch :
* 0054-platform-mellanox-Introduce-support-for-switches-equ.patch :
* 0055-mellanox-Relocate-mlx-platform-driver.patch :
* 0066-UBUNTU-SAUCE-sdhci-of-dwcmshc-Enable-host-V4-support.patch : torvalds/linux@95921151e043
* 0067-UBUNTU-SAUCE-mmc-sdhci-of-dwcmshc-add-the-missing-de.patch : torvalds/linux@cfd4ea4815d1
* 0068-UBUNTU-SAUCE-mmc-sdhci-of-dwcmshc-Add-runtime-PM-ope.patch :
* 0069-UBUNTU-SAUCE-mlxbf_gige-add-ethtool-mlxbf_gige_set_r.patch :
* 0070-UBUNTU-SAUCE-Fix-OOB-handling-RX-packets-in-heavy-tr.patch :
* 0071-UBUNTU-SAUCE-mlxbf-gige-Fix-intermittent-no-ip-issue.patch :
* 0072-mlxbf_gige-add-MDIO-support-for-BlueField-3.patch : torvalds/linux@2321d69f92aa
* 0073-mlxbf_gige-support-10M-100M-1G-speeds-on-BlueField-3.patch : torvalds/linux@20d03d4d9437
* 0074-mlxbf_gige-add-set_link_ksettings-ethtool-callback.patch :
* 0075-UBUNTU-SAUCE-mlxbf-gige-Fix-kernel-panic-at-shutdown.patch :
* 0076-UBUNTU-SAUCE-platform-mellanox-Updates-to-mlxbf-boot.patch :
* 0077-UBUNTU-SAUCE-mlx-bootctl-support-icm-carveout-eeprom.patch :
* 0078-UBUNTU-SAUCE-mlxbf-bootctl-support-SMC-call-for-sett.patch :
* 0079-UBUNTU-SAUCE-mlxbf-ptm-power-and-thermal-management-.patch :
* 0080-UBUNTU-SAUCE-mlxbf-ptm-update-license.patch :
* 0081-UBUNTU-SAUCE-mlxbf-ptm-use-0444-instead-of-S_IRUGO.patch :
* 0082-UBUNTU-SAUCE-mlxbf-ptm-add-atx-debugfs-nodes.patch :
* 0083-UBUNTU-SAUCE-mlxbf-ptm-update-module-version.patch :
* 0084-UBUNTU-SAUCE-mlxbf-bootctl-Fix-kernel-panic-due-to-b.patch :
* 8000-mlxsw-Use-weak-reverse-dependencies-for-firmware-fla.patch :
* 8004-mlxsw-minimal-Downstream-Ignore-error-reading-SPAD-r.patch :
@vivekrnv vivekrnv closed this Nov 9, 2023
vivekrnv pushed a commit that referenced this pull request Nov 12, 2024
…utomatically (sonic-net#20570)

#### Why I did it
src/sonic-host-services
```
* 47fd128 - (HEAD -> master, origin/master, origin/HEAD) [Banner] Added BannerCfg class to hostcfgd to handle Banner messages (#79) (19 hours ago) [Sviatoslav Boichuk]
```
#### How I did it
#### How to verify it
#### Description for the changelog
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants