[PATCH v3] ARM64: mmu: implement mmu_disable completely in assembly
Sascha Hauer
s.hauer at pengutronix.de
Thu Dec 18 00:13:52 PST 2025
On Tue, 16 Dec 2025 11:52:40 +0100, Ahmad Fatoum wrote:
> Splitting mmu_disable into two noinline function on a RK3568 leads to a
> barebox crash, because the code has the implicit assumption that the
> compiler won't generate memory accesses including spilling to stack.
>
> We can't guarantee this in C code, so implement the procedure in
> assembly.
>
> [...]
Applied, thanks!
[1/1] ARM64: mmu: implement mmu_disable completely in assembly
https://git.pengutronix.de/cgit/barebox/commit/?id=3d5c7a8e4afb (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list