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] Nrfx 6553 fix tls handling for s2ram #2222

Merged
merged 2 commits into from
Nov 5, 2024

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