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 <[email protected]>


Reply via email to