Re: [PATCH fixes 1/3] MIPS: Loongson64: Reserve vgabios memory on boot
From: Sergey Shtylyov
Date: Wed Nov 01 2023 - 12:22:14 EST
On 11/1/23 2:39 PM, Jiaxun Yang wrote:
> vgabios is passed from firmware to kernel on Loongson64 systems.
> Sane firmware will keep this pointer in reserved memory space
> passed from the firmware but insane firmware keeps it in low
> memory before kernel entry that is not reserved.
>
> Previously kernel won't try to allocate memory from low memory
> before kernel entry on boot, but after converting to memblock
> it will do that.
>
> Fix by resversing those memory on early boot.
Reserving? :-)
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: a94e4f24ec83 ("MIPS: init: Drop boot_mem_map")
> Signed-off-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx>
[...]
MBR, Sergey