From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>,
Sascha Hauer <s.hauer@pengutronix.de>
Cc: Steffen Trumtrar <str@pengutronix.de>
Subject: Re: [PATCH] ARM: ARMv5: make PTE_SMALL_AP_UNO_SRO work
Date: Mon, 13 Apr 2026 09:31:37 +0200 [thread overview]
Message-ID: <177606549757.3498877.11316489075811039808.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20260402140129.1108000-1-s.hauer@pengutronix.de>
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@pengutronix.de>
prev parent reply other threads:[~2026-04-13 7:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-02 14:01 Sascha Hauer
2026-04-10 11:23 ` Ahmad Fatoum
2026-04-13 7:31 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=177606549757.3498877.11316489075811039808.b4-ty@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=str@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox