sonic-buildimage/platform
Junchao-Mellanox aedffd333b
[Mellanox] wait reset cause ready (#16722)
Why I did it
SONiC service determine-reboot-cause might run before driver creating reset cause files. In that case, the reset cause will be "Unknown". This PR introduces a wait mechanism to wait for reset cause sysfs files ready.

How I did it
/run/hw-management/config/reset_attr_ready is the file to indicate all reset cause files are ready. In chassis.get_reboot_cause function, it waits /run/hw-management/config/reset_attr_ready for up to 45 seconds.

How to verify it
Manual test on master/202211/202205
2023-10-03 18:58:31 -07:00
..
barefoot [BFN] Fix 'show platform psustatus' command (#15934) 2023-09-23 00:51:28 -07:00
broadcom Add info syslog for cpu_wdt.service (#16678) 2023-09-25 20:59:44 -07:00
cavium [infra] Support syslog rate limit configuration (#12490) 2022-12-20 10:53:58 +02:00
centec Update to Linux 5.10.179 (#15926) 2023-09-20 15:24:39 -07:00
centec-arm64 Update to Linux 5.10.179 (#15926) 2023-09-20 15:24:39 -07:00
checkout [cisco]: Align the ref pointer to latest code drop on 202205 (#16600) 2023-09-20 10:56:37 -07:00
components Revert "[gearbox] use credo sai v0.9.0 (#14149)" (#15708) 2023-07-05 10:42:46 -07: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 [infra] Support syslog rate limit configuration (#12490) 2022-12-20 10:53:58 +02:00
marvell-arm64 [Marvell] Update arm64 sai debian to 1.12.0-2 (#16664) 2023-09-23 00:01:14 -07:00
marvell-armhf [Marvell] Update armhf sai debian to 1.12.0-2 (#16638) 2023-09-21 10:35:01 -07:00
mellanox [Mellanox] wait reset cause ready (#16722) 2023-10-03 18:58:31 -07: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 [doc]: Improve platform/pddf/readme.md (#16525) 2023-09-23 00:11:03 -07: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] Remove the debian jessie mirror in docker-sonic-vs (#14665) 2023-09-23 02:47:44 -07:00