Skip to content
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

[Backport v3.7.99-ncs1-branch] soc: nordic: nrf54h: disable IRQ before PM config #2270

Merged
merged 2 commits into from
Nov 14, 2024

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 <hvandermolen@dexels.com>
(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 <adam.kondraciuk@nordicsemi.no>
(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