[PATCH kvmtool] riscv: Place the FDT after the kernel's image_size
Will Deacon
will at kernel.org
Thu Nov 26 09:14:30 PST 2026
On Mon, 19 Oct 2026 16:43:04 +0200, Andrew Jones wrote:
> The FDT is placed relative to the end of the kernel image file, but a
> kernel's memory footprint includes its BSS, which isn't in the file. When
> the BSS is large enough, e.g. with lockdep enabled, the FDT lands inside
> it and is wiped when the kernel clears BSS, leaving the guest hung with no
> console output. Use the image_size from the Image header, as arm64 does.
>
>
> [...]
Applied to kvmtool (master), thanks!
[1/1] riscv: Place the FDT after the kernel's image_size
https://git.kernel.org/will/kvmtool/c/fcaa9485b7a9
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the kvm-riscv
mailing list