Skip to content

arm64: zboot support

Pingfan Liu kexec 6 versions – Applied

Status from this message: applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest5 patches 8 repliesApplied
  2. v65 patches 7 repliesSuperseded
  3. v58 patches 6 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v48 patches0 repliesSuperseded
v26 patches4 repliesSuperseded
v15 patches6 repliesSuperseded

Changes in v7 from the cover letter

Fix the included file issue in dist

Patches in v7 Applied

#Subject and filesSizeRepliesApplied
1/5kexec/arm64: Simplify the code for zImagekexec/arch/arm64/Makefile kexec/arch/arm64/kexec-arm64.c kexec/arch/arm64/kexec-arm64.h +3 more+26 -2544 replies
2/5kexec: Introduce a member kernel_fd in kexec_infokexec/kexec.c kexec/kexec.h+9 -01 reply
3/5kexec/zboot: Add arch independent zboot supportinclude/Makefile include/kexec-pe-zboot.h kexec/Makefile +1 more+148 -02 replies
4/5arm64: Add ZBOOT PE containing compressed image supportkexec/arch/arm64/image-header.h kexec/arch/arm64/kexec-vmlinuz-arm64.c+111 -00 replies
5/5arm64: Hook up the ZBOOT support as vmlinuzkexec/arch/arm64/Makefile kexec/arch/arm64/kexec-arm64.c kexec/arch/arm64/kexec-arm64.h+9 -10 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchDave Young
1/5Co-authored-by
2/5Co-authored-by
3/5
4/5
5/5

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

Read the v7 thread

Cover letter [PATCHv7 0/5] arm64: zboot support

From: root <[email protected]>

As more complicated capsule kernel format occurs like zboot, where the compressed kernel is stored as a payload. The straight forward decompression can not meet the demand.

As the first step, on aarch64, reading in the kernel file in a probe method and decide how to unfold the content by the method itself.

This series consists of two parts
[1/5], simplify the current aarch64 image probe
[2-5/5], return the kernel fd by the image load interface, and let the handling of zboot image built on it. (Thanks for Dave Young, who contributes the original idea and the code)

To ease the review, a branch is also available at https://github.com/pfliu/kexec-tools.git
branch zbootV7

To: [email protected]
Cc: Dave Young <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
v6 -> v7
Fix the included file issue in dist

v5 -> v6
introduce kexec_info.kernel_fd and return the fd through image load
interface.

Jeremy Linton (3):
kexec/zboot: Add arch independent zboot support
arm64: Add ZBOOT PE containing compressed image support
arm64: Hook up the ZBOOT support as vmlinuz

Pingfan Liu (2):
kexec/arm64: Simplify the code for zImage
kexec: Introduce a member kernel_fd in kexec_info

 include/Makefile                       |   1 +
 include/kexec-pe-zboot.h               |  15 ++
 kexec/Makefile                         |   1 +
 kexec/arch/arm64/Makefile              |   2 +-
 kexec/arch/arm64/image-header.h        |   1 +
 kexec/arch/arm64/kexec-arm64.c         |   2 +-
 kexec/arch/arm64/kexec-arm64.h         |   8 +-
 kexec/arch/arm64/kexec-image-arm64.c   |   2 +-
 kexec/arch/arm64/kexec-vmlinuz-arm64.c | 110 ++++++++++++
 kexec/arch/arm64/kexec-zImage-arm64.c  | 226 -------------------------
 kexec/kexec-pe-zboot.c                 | 131 ++++++++++++++
 kexec/kexec.c                          |  50 ++++--
 kexec/kexec.h                          |   1 +
 13 files changed, 299 insertions(+), 251 deletions(-)
 create mode 100644 include/kexec-pe-zboot.h
 create mode 100644 kexec/arch/arm64/kexec-vmlinuz-arm64.c
 delete mode 100644 kexec/arch/arm64/kexec-zImage-arm64.c
 create mode 100644 kexec/kexec-pe-zboot.c
Signature · 7 lines
2.31.1


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