[PATCH] ARM: mmu: panic after pr_debug_remap if base address is unaligned

Sascha Hauer s.hauer at pengutronix.de
Fri Jan 16 00:18:10 PST 2026


On Wed, 14 Jan 2026 11:12:13 +0100, Ahmad Fatoum wrote:
> It's always a bug to call remap_range with an unaligned address and it's
> the responsibility of the callers (whether it's an ELF parser or code
> walking reserved memory entries) to ensure that this doesn't happen.
> 
> We enforce this on ARM32, but don't yet on ARM64, so have it follow
> suit and have both do the enforcement directly after pr_debug_remap():
> That way, a developer enabling debug ouptut can easily see what was
> last attempted before the BUG().
> 
> [...]

Applied, thanks!

[1/1] ARM: mmu: panic after pr_debug_remap if base address is unaligned
      https://git.pengutronix.de/cgit/barebox/commit/?id=b9fb6845b763 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list