Skip to content

Conversation

NordicBuilder
Copy link
Contributor

Backport dab9c11~2..dab9c11 from #2258.

HesselM and others added 2 commits November 14, 2024 08:11
… of s2ram_suspend

The return value of the system_off call is overwritten by the the call to
pm_s2ram_mark_check_and_clear. As arch_pm_s2ram_suspend needs to specify
why system_off failed, we need to make sure the rv of system_off is moved
to a safe register before calling pm_s2ram_mark_check_and_clear and moved
to r0 als rv of arch_pm_s2ram_suspend when the suspend call exits.

Upstream PR #: 80642

Signed-off-by: Hessel van der Molen <[email protected]>
(cherry picked from commit a93ae9d)
IRQs must be disabled before starting any procedures to prepare
for low-power states.

Upstream PR #: 79067

Signed-off-by: Adam Kondraciuk <[email protected]>
(cherry picked from commit dab9c11)
@rlubos rlubos merged commit 0bc3393 into v3.7.99-ncs1-branch Nov 14, 2024
19 checks passed
@rlubos rlubos deleted the backport-2258-to-v3.7.99-ncs1-branch branch November 14, 2024 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants