[PATCH v2 0/2] x86/kexec: Carry forward the boot DTB on kexec
Brian Mak
makb at juniper.net
Tue Aug 12 11:00:15 PDT 2025
On Aug 5, 2025, at 2:15 PM, Brian Mak <makb at juniper.net> wrote:
> Hi all,
>
> Here is v2 with the comments from v1 addressed. I also added a patch to
> the series to add KEXEC_FILE_NO_CMA as a legal flag. I noticed that this
> was missing when I went to add my KEXEC_FILE_FORCE_DTB flag.
>
> Thanks,
> Brian
>
> Changes in v2:
> - Added a patch to add KEXEC_FILE_NO_CMA as a legal flag
> - Added a KEXEC_FILE_FORCE_DTB flag to enable carrying over the current
> boot's DTB on x86.
> - Modified the commit message to include more reasoning for the change.
> - Changed a pr_info print to a pr_debug print.
>
> Brian Mak (2):
> kexec: Add KEXEC_FILE_NO_CMA as a legal flag
> x86/kexec: Carry forward the boot DTB on kexec
>
> arch/x86/kernel/kexec-bzimage64.c | 47 +++++++++++++++++++++++++++++--
> include/linux/kexec.h | 6 +++-
> include/uapi/linux/kexec.h | 4 +++
> kernel/kexec_file.c | 1 +
> 4 files changed, 54 insertions(+), 4 deletions(-)
>
>
> base-commit: 35a813e010b99894bb4706c56c16a580bf7959c2
> --
> 2.25.1
I see Andrew has sent these patches to linux-next. Thanks for that,
Andrew!
Dave and Baoquan, have you two had a chance to peek at the updated patch
set yet?
Thanks,
Brian
More information about the kexec
mailing list