sonic-buildimage/device/mellanox
Stephen Sun 33d14521f2 [Mellanox] Use Debian reboot in Nvidia platform reboot when it is invoked from kdump capture boot (#15701)
#### Why I did it

When a kernel crash occurs, the system will reboot to the kdump capture kernel if kdump is enabled (`config kdump enable`). In the kdump capture boot, it only stores the crash information, and then reboot the system to a normal boot.
In this boot, no SONiC service is started but it invokes `reboot` which is actually the SONiC reboot that depends on SONiC services. There is a logic to skip all SONiC stuff and invoke platform reboot in SONiC reboot to avoid issues.
However, on Nvidia platforms, the platform reboot still depends on SONiC services, which can cause issues.
So, the Debian reboot is called directly in platform reboot if it is invoked from the kdump capture boot.

#### How I did it

Manual test
2023-08-07 14:33:34 +08:00
..
x86_64-mlnx_lssn2700-r0 Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
x86_64-mlnx_msn2010-r0 [Mellanox] Advance hw-mgmt to v.7.0020.4104 (#13372) 2023-02-12 11:23:47 +02:00
x86_64-mlnx_msn2100-r0 [Mellanox] Advance hw-mgmt to v.7.0020.4104 (#13372) 2023-02-12 11:23:47 +02:00
x86_64-mlnx_msn2410-r0 [Mellanox] Advance hw-mgmt to v.7.0020.4104 (#13372) 2023-02-12 11:23:47 +02:00
x86_64-mlnx_msn2700_simx-r0 Removed platform specific reboot files for mellanox simx platforms (#10806) 2022-05-14 15:20:57 +03:00
x86_64-mlnx_msn2700-r0 [Mellanox] Use Debian reboot in Nvidia platform reboot when it is invoked from kdump capture boot (#15701) 2023-08-07 14:33:34 +08:00
x86_64-mlnx_msn2740-r0 [Reclaim buffer] Reclaim unused buffers by applying zero buffer profiles (#8768) 2021-11-29 08:04:01 -08:00
x86_64-mlnx_msn3420-r0 [Reclaim buffer] Reclaim unused buffers by applying zero buffer profiles (#8768) 2021-11-29 08:04:01 -08:00
x86_64-mlnx_msn3700_simx-r0 Removed platform specific reboot files for mellanox simx platforms (#10806) 2022-05-14 15:20:57 +03:00
x86_64-mlnx_msn3700-r0 [Mellanox] Add Sensor conf to support respined platforms(SN3700/SN3700C/SN4600C) (#11553) 2022-08-10 18:09:10 +03:00
x86_64-mlnx_msn3700c-r0 [Mellanox] Add Sensor conf to support respined platforms(SN3700/SN3700C/SN4600C) (#11553) 2022-08-10 18:09:10 +03:00
x86_64-mlnx_msn3800-r0 [Mellanox] Auto correct PSU voltage threshold (WA) (#10394) 2022-04-14 08:14:40 +03:00
x86_64-mlnx_msn4410-r0 fix MSN4410 chassis name in platform_components.json (#9939) 2022-02-13 15:01:09 +02:00
x86_64-mlnx_msn4600-r0 [mellanox] Fix DPB supported breakout modes (#10072) 2022-02-25 18:33:35 +05:30
x86_64-mlnx_msn4600c-r0 [Mellanox] Support DSCP remapping in dual ToR topo on T0 switch (#12605) 2023-02-07 16:21:59 +02:00
x86_64-mlnx_msn4700_simx-r0 Removed platform specific reboot files for mellanox simx platforms (#10806) 2022-05-14 15:20:57 +03:00
x86_64-mlnx_msn4700-r0 [Mellanox]Adding SKU Mellanox-SN4700-O8C48 (#15179) 2023-06-02 13:10:04 -07:00
x86_64-mlnx_x86-r5.0.1400 Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
x86_64-nvidia_sn2201-r0 [Mellanox] Advance hw-mgmt to v.7.0020.4104 (#13372) 2023-02-12 11:23:47 +02:00
x86_64-nvidia_sn4800_simx-r0 Removed platform specific reboot files for mellanox simx platforms (#10806) 2022-05-14 15:20:57 +03:00
x86_64-nvidia_sn4800-r0 [Mellanox] Fix platform name for SN4800 (#9635) 2021-12-28 14:58:28 +02:00
x86_64-nvidia_sn5600_simx-r0 [Mellanox] Add support for Service Port in SN5600 (#11609) 2022-08-15 11:47:56 +03:00
x86_64-nvidia_sn5600-r0 Update SN5600 platform.json with service port sfp (#15337) 2023-06-13 14:15:15 +03:00