sonic-buildimage/platform
dbarashinvd 7a34d4a275
[Mellanox] fix code for warm reboot to work with FW controlled ports (#18065)
- Why I did it
Fix the code to work also after warm reboot to work with FW controlled ports.
In warm reboot the control state sysfs of each port does not change unlike reboot or fast boot.

- How I did it
1. Check procfs cmdline if warm reboot done this is due to the fact pmon don't recognize warm reboot when it's taking place since pmon is loaded after warm reboot is finished.
2. If warm reboot done, check in static detection part for each port if it's FW controlled. If so, leave it this way and stop the state machine flow (set it to final state).

- How to verify it
1. Boot a switch with CMIS host management with at least one FW controlled port (non active cables or non cmis cables) then run warm reboot.
2. Verify no errors of sysfs reading appears for control sysfs
2024-02-08 14:49:56 +02:00
..
barefoot Update sonic-linux-kernel to use 6.1.38 2023-11-21 18:53:15 -08:00
broadcom [Broadcom] Upgrade xgs SAI to 10.1.6.0 (#18044) 2024-02-07 09:29:40 +08:00
cavium [infra] Support syslog rate limit configuration (#12490) 2022-12-20 10:53:58 +02:00
centec [Bookworm] Upgrade centec platforms to Bookworm (#17364) 2023-12-01 16:07:52 -08:00
centec-arm64 [Bookworm] Upgrade centec-arm64 platform to Bookworm. (#17411) 2023-12-07 08:42:13 -08:00
checkout Update cisco-8000.ini (#17428) 2023-12-07 17:05:05 -08:00
components Upgrade libsaibroncos debian package to version 3.11 (#17127) 2023-11-09 10:15:02 -08:00
generic [dockers] Rename 'docker-snmp-sv2' to 'docker-snmp' (#4699) 2020-06-11 16:04:23 -07:00
innovium Why I did it (#14826) 2023-07-30 09:48:36 -07:00
marvell [Marvell] Updated SAI 1.13.0 amd64 debian (#16811) 2023-10-18 16:47:53 +08:00
marvell-arm64 [ci] Enable cache for marvell-arm64 build in PR checks. (#15449) 2024-01-09 20:28:31 +08:00
marvell-armhf [Nokia-7215][armhf] Enable Watchdog service (#16612) 2023-11-30 16:34:53 -08:00
mellanox [Mellanox] fix code for warm reboot to work with FW controlled ports (#18065) 2024-02-08 14:49:56 +02:00
nephos [infra] Support syslog rate limit configuration (#12490) 2022-12-20 10:53:58 +02:00
p4 docker prefer COPY to ADD in dockerfile (#15394) 2023-06-22 13:16:56 -07:00
pddf [Edgecore][sonic-platform-modules-accton]Support kernel 6.1 and bookworm (#16982) 2023-11-21 18:53:15 -08:00
pensando Add pensando platform (#15978) 2023-12-04 14:41:52 -08:00
s3ip-sysfs The CPLD and FPGA driver framework module complies with s3ip sysfs specification (#12891) 2022-12-16 22:05:53 +08:00
template Mount directory warmboot in docker gbsyncd (#11852) 2022-08-26 22:00:45 +08:00
vs [Build] Fix krb5 package not found issue (#17926) 2024-01-30 21:44:32 +08:00