Skip to content

Conversation

NordicBuilder
Copy link
Contributor

Backport b16abc6~2..b16abc6 from #2129.

…ions

The S2RAM procedure requires marker checking after reset.
Such checking is performed on very early stage of the system initialization
and must ensure that the stack is not used due to the TLS pointer which is
not initialized yet.

Signed-off-by: Adam Kondraciuk <[email protected]>
(cherry picked from commit 474d4c3)
(cherry picked from commit 2a43406)
Rework Nordic specific S2RAM marking procedures.
The S2RAM marking procedures must not disrupt the stack due to
the TLS pointer not yet being initialized during their execution.

Signed-off-by: Adam Kondraciuk <[email protected]>
(cherry picked from commit 59629d0)
(cherry picked from commit b16abc6)
@rlubos rlubos merged commit ef26ec2 into v3.7.99-ncs1-branch Nov 5, 2024
19 checks passed
@rlubos rlubos deleted the backport-2129-to-v3.7.99-ncs1-branch branch November 6, 2024 08:47
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.

3 participants