[PATCH 1/2] ARM: mmu: have zero_page_remappable() check MMU status
Sascha Hauer
s.hauer at pengutronix.de
Mon Nov 3 00:56:50 PST 2025
On Tue, 28 Oct 2025 15:32:34 +0100, Ahmad Fatoum wrote:
> zero_page_access() and zero_page_faulting() call remap_range(), which
> assumes the TTBR was initialized to page tables set up by barebox.
>
> It's thus not safe to call them from generic code prior to enabling the
> MMU, but we are doing just that. In preparation for fixing, let's make
> zero_page_remappable reflect MMU status.
>
> [...]
Applied, thanks!
[1/2] ARM: mmu: have zero_page_remappable() check MMU status
https://git.pengutronix.de/cgit/barebox/commit/?id=ce3410882a3a (link may not be stable)
[2/2] ARM: i.MX8M: romapi: skip zero_page_access() if MMU is disabled
https://git.pengutronix.de/cgit/barebox/commit/?id=accef8382d96 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list