Skip to content

RFC efi: put an API version number in the PE/COFF header

Ard Biesheuvel linux-efi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3efi/x86: Use symbolic constants in PE header instead of bare numbersarch/x86/boot/header.S+31 -299 replies
2/3efi/libstub: Introduce symbolic constants for the stub major/minor versionarch/arm/boot/compressed/efi-header.S arch/arm64/kernel/efi-header.S arch/x86/boot/header.S +1 more+9 -60 replies
3/3efi: Bump the Linux EFI stub major version number to #1include/linux/pe.h+19 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/3] efi: put an API version number in the PE/COFF header

After having added new ways to load the initrd and the mixed mode kernel, we will need to tell the loader about this, so it can use the new, generic method if supported, and fall back to the existing method(s) otherwise.

This is an RFC - if there are better ways to record this in the image somehow, please shout.

Ard Biesheuvel (3):
efi/x86: Use symbolic constants in PE header instead of bare numbers efi/libstub: Introduce symbolic constants for the stub major/minor
version
efi: Bump the Linux EFI stub major version number to #1

 arch/arm/boot/compressed/efi-header.S |  4 +-
 arch/arm64/kernel/efi-header.S        |  4 +-
 arch/x86/boot/header.S                | 64 ++++++++++----------
 include/linux/pe.h                    | 21 +++++++
 4 files changed, 58 insertions(+), 35 deletions(-)
Signature · 1 line
2.17.1