Skip to content

pm: Fix to prevent incorrect forever timeout #93114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

serhiy-katsyuba-intel
Copy link
Contributor

K_TICKS_FOREVER is defined as -1. Guard logic has been added for the case when ticks - exit_latency_ticks == -1 to prevent sys_clock_set_timeout() from incorrectly setting a forever timeout.

K_TICKS_FOREVER is defined as -1. Guard logic has been added for the case
when `ticks - exit_latency_ticks == -1` to prevent sys_clock_set_timeout()
from incorrectly setting a forever timeout.

Signed-off-by: Serhiy Katsyuba <[email protected]>
Copy link

@nashif nashif added this to the v4.2.0 milestone Jul 15, 2025
@danieldegrasse danieldegrasse added the backport-v4.2-branch Request backport to the v4.2-branch label Jul 16, 2025
@danieldegrasse danieldegrasse removed this from the v4.2.0 milestone Jul 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Power Management backport-v4.2-branch Request backport to the v4.2-branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants