[PATCH] ARM: ARMv5: make PTE_SMALL_AP_UNO_SRO work

Sascha Hauer s.hauer at pengutronix.de
Mon Apr 13 00:31:37 PDT 2026


On Thu, 02 Apr 2026 16:01:29 +0200, Sascha Hauer wrote:
> On ARMv4/5 we have the SCTLR.S and SCTLR.R bits. We set the former which
> is deprecated and has implementation defined behaviour on ARMv5. We
> clear the latter which has the effect that AP=0b00 as used in PTE_SMALL_AP_UNO_SRO
> means "no access".
> 
> Clear SCTLR.S and set SCTLR.R instead. With this AP=0b00 maps to
> read-only access as intended.
> 
> [...]

Applied, thanks!

[1/1] ARM: ARMv5: make PTE_SMALL_AP_UNO_SRO work
      https://git.pengutronix.de/cgit/barebox/commit/?id=15ccb9d41534 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list