Re: [PATCH RESEND] x86/kexec: Carry forward the boot DTB on kexec
From: Baoquan He <hidden>
Date: 2025-08-01 03:02:49
Also in:
kexec, lkml
From: Baoquan He <hidden>
Date: 2025-08-01 03:02:49
Also in:
kexec, lkml
On 07/29/25 at 11:21am, Brian Mak wrote:
The kexec_file_load syscall on x86 currently does not support passing a device tree blob to the new kernel. To add support for this, we copy the behavior of ARM64 and PowerPC and copy the current boot's device tree blob for use in the new kernel. We do this on x86 by passing the device tree blob as a setup_data entry in accordance with the x86 boot protocol.
I see how, but no why. Why do we need to add DTB for x86?