[PATCH] arm64: Fix page permissions for platforms running at EL2
Tom Rini
trini at konsulko.com
Sat Apr 5 16:28:07 CEST 2025
On Wed, 19 Mar 2025 09:22:02 +0200, Ilias Apalodimas wrote:
> We currently set both and print both PXN and UXN bits when removing
> execution for pages. This happens even in the existing per platform
> definitions of 'struct mm_region'.
>
> That's not entirely correct though. For stage-1 translations, if a
> platform runs on a translation regime with a single privilege level or the
> the translation regime supports two privilege levels and we are not
> in EL1&0 with HCR_EL2.{NV, NV1} = {1, 1} only BIT54 (XN) is needed
> and BIT53(PXN) is reserved 0.
>
> [...]
Applied to u-boot/next, thanks!
[1/1] arm64: Fix page permissions for platforms running at EL2
commit: a5ac47911abec63bcc5b3d2561ed9a5cb5a63841
--
Tom
More information about the U-Boot
mailing list