diff options
| author | Peter Yin <peter.yin@quantatw.com> | 2025-04-08 09:54:56 +0300 |
|---|---|---|
| committer | Amithash Prasad <amithash@meta.com> | 2025-04-09 04:57:51 +0300 |
| commit | 6910ff6677c4f1d47474cde3e312c21d57e69050 (patch) | |
| tree | ba0a00226571385a8e4a91f2d32202b3278150d4 /meta-openembedded/meta-python/recipes-devtools/python | |
| parent | 4ff8dda4e21c1474d09c93011905ec0782a80bc5 (diff) | |
| download | openbmc-6910ff6677c4f1d47474cde3e312c21d57e69050.tar.xz | |
meta-facebook: harma: fix power state abnormal log
Remove current status synchronization on GPIO change, as it may
lead to abnormal events being recorded by the PSM or GPIO service.
For example, when the power button is pressed to power off the host:
Power off:
The GPIO service updates CurrentHostState to Off, which records the
first "Host off" log. Then it synchronizes RequestedHostTransition to
Off, causing CurrentHostState to change from TransitioningToOff to Off,
which results in a second "Host off" log being recorded.
The GPIO service updates CurrentHostState to Running, and then
synchronizes RequestedHostTransition to Running. If CurrentHostState is
already Running, the PSM considers this an abnormal state. As a result,
it triggers a host reboot status, which leads to on -> off -> on
in the logs.
Change-Id: I543c2d46831a182ee1879a1e983d3ccc2509a0ae
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python')
0 files changed, 0 insertions, 0 deletions
