Skip to content

[Mellanox] Skip the leftover hardware reboot cause in case of warm/fast reboot#78

Closed
keboliu wants to merge 3 commits intomasterfrom
master_reboot_cause
Closed

[Mellanox] Skip the leftover hardware reboot cause in case of warm/fast reboot#78
keboliu wants to merge 3 commits intomasterfrom
master_reboot_cause

Conversation

@keboliu
Copy link
Owner

@keboliu keboliu commented Dec 20, 2022

Why I did it

In case of warm/fast reboot, the hardware reboot cause will NOT be cleared because CPLD will not be touched in this flow. To not confuse the reboot cause determine logic, the leftover hardware reboot cause shall be skipped by the platform API, platform API will return the 'REBOOT_CAUSE_NON_HARDWARE' reboot cause when the last boot was warm/fast boot.

How I did it

How to verify it

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211

Description for the changelog

Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.

Link to config_db schema for YANG module changes

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

@stephenxs
Copy link
Collaborator

LGTM but we probably need unit test cases updated to cover the change.

@keboliu keboliu closed this Jan 4, 2023
@keboliu keboliu deleted the master_reboot_cause branch June 14, 2023 10:02
keboliu pushed a commit that referenced this pull request Nov 8, 2023
…utomatically (sonic-net#16842)

#### Why I did it
src/sonic-host-services
```
* fc88254 - (HEAD -> 202305, origin/202305) Support to config fips state (#69) (#78) (16 hours ago) [xumia]
```
#### How I did it
#### How to verify it
#### Description for the changelog
keboliu pushed a commit that referenced this pull request Dec 22, 2025
…ly (sonic-net#24654)

#### Why I did it
src/sonic-stp
```
* 6be3721 - (HEAD -> master, origin/master, origin/HEAD) Correcting stp-stpmgrd IPC data structure similar to structure defined in stpmgr.h file (#80) (4 days ago) [Divya Kumaran Chandralekha]
* e80c7be - [stpctl] stpctl enhancements for mstp debugging commands (#79) (5 days ago) [vganesan-nokia]
* bfcb492 - [mstp] Fix for port enable handlinging and rx pkt type check (#78) (5 days ago) [vganesan-nokia]
```
#### How I did it
#### How to verify it
#### Description for the changelog
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.

2 participants