Re: [PATCH] MIPS: TXx9: Fix boot crash in free_initmem()
From: Atsushi Nemoto
Date: Wed May 22 2019 - 09:04:47 EST
On Wed, 22 May 2019 10:15:35 +0200, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:
> On rbtx4927:
...
> As of commit b93ddc4f9156205e ("mips: Reserve memory for the kernel
> image resources"), bootmem_init() no longer reserves the memory below
> the kernel, while prom_free_prom_memory() still frees it.
>
> Fix this by reverting commit b6263ff2d6e58cc2 ("MIPS: TXx9: Implement
> prom_free_prom_memory").
>
> Suggested-by: Serge Semin <fancer.lancer@xxxxxxxxx>
> Fixes: b93ddc4f9156205e ("mips: Reserve memory for the kernel image resources")
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Thank you for fixing this. It looks OK for me.
Reviewed-by: Atsushi Nemoto <anemo@xxxxxxxxxxxxx>
---
Atsushi Nemoto