Skip to content

JIRA-ONSBUSWI-3596: [SONiC][as9817-64] Fix fan tolerance logic skipped when BMC thermal control is active#691

Merged
bryan1978 merged 1 commit intoedge-core:202311.Xfrom
richardkuo1999:ONSBUSWI-3596
Mar 25, 2026
Merged

JIRA-ONSBUSWI-3596: [SONiC][as9817-64] Fix fan tolerance logic skipped when BMC thermal control is active#691
bryan1978 merged 1 commit intoedge-core:202311.Xfrom
richardkuo1999:ONSBUSWI-3596

Conversation

@richardkuo1999
Copy link
Contributor

31a468, the fan speed tolerance adjustment logic in manage_fans was placed after the BMC thermal control check. If the BMC was actively managing the thermal policy, the function would return early, causing the tolerance settings (on/off) and timers to be skipped.

This commit refactors the fan tolerance logic into a separate method adjust_tolerance() and ensures it is called in both the BMC-controlled and CPU-controlled paths.

…d when BMC thermal control is active

31a468, the fan speed tolerance adjustment logic in manage_fans
was placed after the BMC thermal control check. If the BMC was
actively managing the thermal policy, the function would return early,
causing the tolerance settings (on/off) and timers to be skipped.

This commit refactors the fan tolerance logic into a separate method
adjust_tolerance() and ensures it is called in both the BMC-controlled
and CPU-controlled paths.
@richardkuo1999 richardkuo1999 marked this pull request as draft March 25, 2026 03:33
@richardkuo1999 richardkuo1999 marked this pull request as ready for review March 25, 2026 06:09
@bryan1978 bryan1978 merged commit 4e39cb5 into edge-core:202311.X Mar 25, 2026
1 check passed
@richardkuo1999 richardkuo1999 deleted the ONSBUSWI-3596 branch March 25, 2026 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants