Skip to content

kexec-tools: multiboot2: Accept x86-64 images

Zhaofeng Li kexec 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyIn review
  2. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- Coding style fixes
- Fixed one more occurrence of mhi.rel_tag in rel_min/rel_max patch
- Added a patch to address code duplication in elf_x86_64_probe
- Added a patch to address the case where add_buffer tried to allocate at 0x0.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5x86: Consolidate elf_x86_probe routineskexec/arch/i386/kexec-elf-x86.c kexec/arch/i386/kexec-x86.h kexec/arch/x86_64/kexec-elf-x86_64.c+40 -330 replies
2/5multiboot2: Correct MBI size calculationkexec/arch/i386/kexec-mb2-x86.c+13 -40 replies
3/5multiboot2: Use rel_min and rel_max for buffer destinationskexec/arch/i386/kexec-mb2-x86.c+2 -20 replies
4/5multiboot2: Avoid first 0x500 byteskexec/arch/i386/kexec-mb2-x86.c+1 -10 replies
5/5multiboot2: Accept x86-64 imageskexec/arch/i386/kexec-mb2-x86.c kexec/arch/x86_64/kexec-x86_64.c+6 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/5] kexec-tools: multiboot2: Accept x86-64 images

Hi Simon,

Thanks for your review! In this patchset I have addressed your comments and included an extra fix.

Zhaofeng

--

This patch series adds support for loading x86-64 ELF images with the multiboot2 header and fixes a couple of related issues.

Changes since v1:
- Coding style fixes
- Fixed one more occurrence of mhi.rel_tag in rel_min/rel_max patch
- Added a patch to address code duplication in elf_x86_64_probe
- Added a patch to address the case where add_buffer tried to allocate at 0x0.

Zhaofeng Li (5):
x86: Consolidate elf_x86_probe routines
multiboot2: Correct MBI size calculation
multiboot2: Use rel_min and rel_max for buffer destinations
multiboot2: Avoid first 0x500 bytes
multiboot2: Accept x86-64 images

 kexec/arch/i386/kexec-elf-x86.c      | 44 +++++++++++++++++++++++-----
 kexec/arch/i386/kexec-mb2-x86.c      | 29 ++++++++++++------
 kexec/arch/i386/kexec-x86.h          |  1 +
 kexec/arch/x86_64/kexec-elf-x86_64.c | 28 ++----------------
 kexec/arch/x86_64/kexec-x86_64.c     |  4 +--
 5 files changed, 62 insertions(+), 44 deletions(-)
Signature · 7 lines
2.32.0


_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec