From: Sascha Hauer <s.hauer@pengutronix.de>
To: "open list:BAREBOX" <barebox@lists.infradead.org>,
Stephano Cetola <stephano@cetola.net>
Subject: Re: [PATCH] ARM: mmu64: fix arch_remap_range permission-strip order
Date: Mon, 24 Aug 2026 12:21:50 +0200 [thread overview]
Message-ID: <178756691030.3394682.1089709718239045944.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20260822-send-mmu-remap-order-v1-1-4ec8375941c5@cetola.net>
On Sat, 22 Aug 2026 07:07:31 -0700, Stephano Cetola wrote:
> arch_remap_range() reassigned map_type via
> arm_mmu_maybe_skip_permissions() before checking
> maptype_is_compatible(map_type, MAP_CACHED) to decide whether to
> flush. arm_mmu_maybe_skip_permissions() can turn MAP_CACHED into
> MAP_CACHED_RWX, so the compatibility check ran against the
> already-stripped value instead of the caller's original request. A
> plain cached remap could silently skip the cache flush whenever
> permission-skipping is active, because MAP_CACHED_RWX no longer
> compares equal to MAP_CACHED.
>
> [...]
Applied, thanks!
[1/1] ARM: mmu64: fix arch_remap_range permission-strip order
https://git.pengutronix.de/cgit/barebox/commit/?id=9594f6449bff (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
prev parent reply other threads:[~2026-08-24 10:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-22 14:07 Stephano Cetola
2026-08-24 7:01 ` Ahmad Fatoum
2026-08-24 10:21 ` 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=178756691030.3394682.1089709718239045944.b4-ty@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=stephano@cetola.net \
/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