Skip to content

x86/kexec: Carry forward the boot DTB on kexec

Brian Mak kexec linux-devicetree lkml 3 versions – Applied

Status from this message: [merged mm-nonmm-stable] x86-kexec-carry-forward-the-boot-dtb-on-kexec.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 12 repliesApplied 2/2
  2. v1 posting 2/21 patch 8 repliesSuperseded
  3. v1 posting 1/21 patch 0 repliesSuperseded

Changes in v2 from the cover letter

- 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.

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2kexec: Add KEXEC_FILE_NO_CMA as a legal flaginclude/linux/kexec.h+2 -18 repliesApplied
2/2x86/kexec: Carry forward the boot DTB on kexecarch/x86/kernel/kexec-bzimage64.c include/linux/kexec.h include/uapi/linux/kexec.h +1 more+53 -40 repliesApplied

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchBaoquan He
1/2A-b A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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

Signature · 1 line
2.25.1