Skip to content

gc2: es: Add delay to filter false SYS_THROTTLE SEL#2728

Open
Joseph-Shih-ww wants to merge 1 commit into
facebook:mainfrom
Wiwynn:Joseph/fbgc2-es/Jira202_Fix_sv_status
Open

gc2: es: Add delay to filter false SYS_THROTTLE SEL#2728
Joseph-Shih-ww wants to merge 1 commit into
facebook:mainfrom
Wiwynn:Joseph/fbgc2-es/Jira202_Fix_sv_status

Conversation

@Joseph-Shih-ww
Copy link
Copy Markdown
Contributor

[Task Description]

Related to GC20T5T7-182
Add a 1 ms delayed work handler for SYS_THROTTLE interrupt handling.

[Motivation]

FM_CPU_BIC_PROCHOT_LVT3_N may have a short transient pulse during the power-off transition. This transient pulse could trigger a false SYS_THROTTLE SEL event.

[Design]

Move SYS_THROTTLE SEL logging to a delayed work handler. Delay 1 ms before rechecking RST_PLTRST_PLD_N, PWRGD_SYS_PWROK, and FM_CPU_BIC_PROCHOT_LVT3_N. Only add the SYS_THROTTLE SEL when the power/reset signals are still in a valid state after the delay.

[Test Log]

During the power-off transition, the false SYS_THROTTLE SEL event can be filtered by the 1 ms delayed check. Normal SYS_THROTTLE ASSERT/DEASSERT behavior is still reported as expected.

1.Executing 12V-cycle

power-util server 12V-cycle

2.Verify that throttle-related logs are recorded during the test.

root@bmc-oob:~# log-util all --print |grep  SYS_THROTTLE
root@bmc-oob:~#

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 28, 2026
@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync Bot commented May 28, 2026

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this in D106637548. (Because this pull request was imported automatically, there will not be any future comments.)

[Task Description]

Related to GC20T5T7-182
Add a 1 ms delayed work handler for SYS_THROTTLE interrupt handling.

[Motivation]

FM_CPU_BIC_PROCHOT_LVT3_N may have a short transient pulse during the power-off transition.
This transient pulse could trigger a false SYS_THROTTLE SEL event.

[Design]

Move SYS_THROTTLE SEL logging to a delayed work handler.
Delay 1 ms before rechecking RST_PLTRST_PLD_N, PWRGD_SYS_PWROK, and FM_CPU_BIC_PROCHOT_LVT3_N.
Only add the SYS_THROTTLE SEL when the power/reset signals are still in a valid state after the delay.

[Test Log]
During the power-off transition, the false SYS_THROTTLE SEL event can be filtered by the 1 ms delayed check. Normal SYS_THROTTLE ASSERT/DEASSERT behavior is still reported as expected.

1.Executing 12V-cycle
```
power-util server 12V-cycle
```
2.Verify that throttle-related logs are recorded during the test.
```
root@bmc-oob:~# log-util all --print |grep  SYS_THROTTLE
root@bmc-oob:~#
```
@JimLin-ww JimLin-ww force-pushed the Joseph/fbgc2-es/Jira202_Fix_sv_status branch from 481de5a to 24f8032 Compare May 28, 2026 10:53
@facebook-github-tools
Copy link
Copy Markdown

@Joseph-Shih-ww has updated the pull request. You must reimport the pull request before landing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant