Skip to content

[nrf fromtree] soc: nordic: nrf71: Update MPC to allow unpriv access …#3902

Open
travis3630 wants to merge 1 commit intonrfconnect:mainfrom
travis3630:update-soc-file-nrf71
Open

[nrf fromtree] soc: nordic: nrf71: Update MPC to allow unpriv access …#3902
travis3630 wants to merge 1 commit intonrfconnect:mainfrom
travis3630:update-soc-file-nrf71

Conversation

@travis3630
Copy link
Contributor

…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)

…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>
@travis3630 travis3630 requested a review from dhsu-nordic March 24, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants