Re: [PATCH RESEND] x86/kexec: Carry forward the boot DTB on kexec

2025-07-30 Thread Brian Mak
On Jul 30, 2025, at 12:31 AM, Dave Young wrote >> +#ifdef CONFIG_OF_FLATTREE >> + if (initial_boot_params) { >> + setup_dtb(params, params_load_addr, setup_data_offset); >> + setup_data_offset += sizeof(struct setup_data) + >> + fdt_tot

Re: [PATCH RESEND] x86/kexec: Carry forward the boot DTB on kexec

2025-07-30 Thread Dave Young
On Tue, Jul 29, 2025 at 11:21:42AM -0700, 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 i