[PATCH] ARM: mmu: set up vectors prior to full MMU setup
Sascha Hauer
s.hauer at pengutronix.de
Mon Dec 1 03:04:26 PST 2025
On Fri, 28 Nov 2025 18:22:05 +0100, Ahmad Fatoum wrote:
> Interleaving vector table setup with zero page setup introduces an
> unfortunate dependency: We need to call setup_pages after mapping the
> SDRAM, so mapping the zero page as faulting is not overridden and we
> need to do it before mapping the text area read-only, because the
> vectors are relocated on ARM32.
>
> Avoid this issue by setting up the vectors at core_initcall and only do
> trap page setup during MMU init. This is already what is being done on
> arm64.
>
> [...]
Applied, thanks!
[1/1] ARM: mmu: set up vectors prior to full MMU setup
https://git.pengutronix.de/cgit/barebox/commit/?id=c036c7a1d7d0 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list