Skip to content

efi: fix and test FMP image info authentication attribute

Vincent Stehlé u-boot 2 versions – In review

Get series with b4
b4 am [email protected] change-id 20260922-authi-329cc6a9a07c

Versions newest first

  1. v2 Latest2 patches 4 repliesIn review
  2. v12 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Rework FMP selftest with Simon's suggestions (changes details in the patch).
- Link to v1: https://patch.msgid.link/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2efi_loader: fix image info authentication attributelib/efi_loader/efi_firmware.c+1 -12 replies
2/2efi_selftest: add minimal fmp testlib/efi_selftest/Makefile lib/efi_selftest/efi_selftest_fmp.c+242 -02 replies

Reviews trailers per patch

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

PatchSimon GlassIlias Apalodimas
1/2R-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 v2 thread

Cover letter [PATCH v2 0/2] efi: fix and test FMP image info authentication attribute

Here is a couple of patches to:

- Do a small fix in the UEFI Firmware Management Protocol:
GetImageInfo() returns a correct authentication flag for the first image, but not for the subsequent ones.

- Add a minimal FMP selftest, just enough to catch this issue, and which should be easy enough to extend in the future.

---
Changes in v2:
- Rework FMP selftest with Simon's suggestions (changes details in the patch).
- Link to v1: https://patch.msgid.link/[email protected]

---
Vincent Stehlé (2):
efi_loader: fix image info authentication attribute
efi_selftest: add minimal fmp test

 lib/efi_loader/efi_firmware.c       |   2 +-
 lib/efi_selftest/Makefile           |   2 +
 lib/efi_selftest/efi_selftest_fmp.c | 240 ++++++++++++++++++++++++++++++++++++
 3 files changed, 243 insertions(+), 1 deletion(-)

---
base-commit: c92d8c3c431e37a17c3b37918037dbd7ade32d1e
change-id: 20260922-authi-329cc6a9a07c

Best regards,

Signature · 1 line
Vincent.