Skip to content

zboot: enable kexec_load for zboot kernel images

Dave Young kexec 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Changes in v1 from the cover letter

- dup the kernel_fd so that kexec_file_load can work since slurp_fd will close it.
- code clean up.

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2zboot: enable arm64 kexec_load for zboot imageinclude/kexec-pe-zboot.h kexec/arch/arm64/kexec-vmlinuz-arm64.c kexec/kexec-pe-zboot.c +2 more+30 -62 replies
2/2zboot: add loongarch kexec_load supportkexec/arch/loongarch/Makefile kexec/arch/loongarch/image-header.h kexec/arch/loongarch/kexec-loongarch.c +2 more+97 -00 replies

Reviews trailers per patch

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

PatchBaoquan HePingfan Liu
1/2T-b R-b
2/2

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

Read the v1 thread

Cover letter [PATCH v1 0/2] zboot: enable kexec_load for zboot kernel images

The current kexec-tools only support kexec_file_load for zboot kernel images on arm64.

This series tweak a bit of the code so kexec_load can also load zboot images on both arm64 and loongarch.

V1 changes:
- dup the kernel_fd so that kexec_file_load can work since slurp_fd will close it.
- code clean up.

Dave Young (2):
zboot: enable arm64 kexec_load for zboot image
zboot: add loongarch kexec_load support

 include/kexec-pe-zboot.h                   |  3 +-
 kexec/arch/arm64/kexec-vmlinuz-arm64.c     | 26 ++++++-
 kexec/arch/loongarch/Makefile              |  1 +
 kexec/arch/loongarch/image-header.h        |  1 +
 kexec/arch/loongarch/kexec-loongarch.c     |  1 +
 kexec/arch/loongarch/kexec-loongarch.h     |  4 +
 kexec/arch/loongarch/kexec-pez-loongarch.c | 90 ++++++++++++++++++++++
 kexec/kexec-pe-zboot.c                     |  4 +-
 kexec/kexec.c                              |  2 +-
 kexec/kexec.h                              |  1 +
 10 files changed, 127 insertions(+), 6 deletions(-)
 create mode 100644 kexec/arch/loongarch/kexec-pez-loongarch.c
Signature · 7 lines
2.37.2


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