Thread (15 messages) 15 messages, 4 authors, 2025-09-09
STALE322d

[PATCH v2 0/2] x86/kexec: Carry forward the boot DTB on kexec

From: Brian Mak <hidden>
Date: 2025-08-05 21:17:02
Also in: kexec, lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help