[nrf fromtree] soc: nordic: nrf71: Update MPC to allow unpriv access …#3902
Open
travis3630 wants to merge 1 commit intonrfconnect:mainfrom
Open
[nrf fromtree] soc: nordic: nrf71: Update MPC to allow unpriv access …#3902travis3630 wants to merge 1 commit intonrfconnect:mainfrom
travis3630 wants to merge 1 commit intonrfconnect:mainfrom
Conversation
…for all cores.
The MPC is currently set up to allow R,W,X,Priv access to all RAM
and MRAM for all cores. This is not sufficient if CONFIG_USERSPACE
is enabled, in which case the application core will be accessing
memory unprivileged, using the MPU to manage memory access.
Update MPC configuration to allow R,W,X,Unpriv access to all RAM and
MRAM for all cores. The R,W,X MPC configuration has to be applied
regardless of CONFIG_USERSPACE, so no need to conditionally include
the MPU configuration based in CONFIG_USERSPACE.
Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
Travis Lam <travis.lam@nordicsemi.no>
(cherry picked from commit d377e4a)
NordicBuilder
added a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
Mar 24, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-zephyr#3902 Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
dhsu-nordic
approved these changes
Mar 25, 2026
rob-robinson-14
approved these changes
Mar 25, 2026
krish2718
approved these changes
Mar 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…for all cores.
The MPC is currently set up to allow R,W,X,Priv access to all RAM and MRAM for all cores. This is not sufficient if CONFIG_USERSPACE is enabled, in which case the application core will be accessing memory unprivileged, using the MPU to manage memory access.
Update MPC configuration to allow R,W,X,Unpriv access to all RAM and MRAM for all cores. The R,W,X MPC configuration has to be applied regardless of CONFIG_USERSPACE, so no need to conditionally include the MPU configuration based in CONFIG_USERSPACE.
Signed-off-by: Bjarki Arge Andreasen bjarki.andreasen@nordicsemi.no
Travis Lam travis.lam@nordicsemi.no
(cherry picked from commit d377e4a)