Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4ac3ef99 authored by Laura Abbott's avatar Laura Abbott
Browse files

arm64: Add alternate CONFIG_DEBUG_SET_MODULE_RONX support



Commit 802ae1e1
(arm64: mm: Introduce PTE_WRITE) changed pte_wrprotect
and pte_mkwrite to use software read only bits instead
of the hardware bits explicitly. The hardware read only
bits are updated in set_pte_at. Unfortunately, the check
in set_pte_at only works for user page tables which breaks
support for the read only functions in modules. Move to an
alternative implementation which does not use pte_mkwrite/pte_wrprotect.

Change-Id: I4251a0929b1fe6f43f84b14f0a64fed30769700e
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent ff1ff8e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment