Skip to content

efi: Enhance capsule loader to support signed Quark images

Jan Kiszka linux-efi lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 20 repliesIn review
  2. v12 patches 35 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7efi/capsule: Fix return code on failing kmap/vmapdrivers/firmware/efi/capsule-loader.c+2 -21 reply
2/7efi/capsule: Remove pr_debug on ENOMEM or EFAULTdrivers/firmware/efi/capsule-loader.c+2 -91 reply
3/7efi/capsule: Clean up pr_err/info messagesdrivers/firmware/efi/capsule-loader.c+8 -111 reply
4/7efi/capsule: Adjust return type of efi_capsule_setup_infodrivers/firmware/efi/capsule-loader.c+2 -21 reply
5/7efi/capsule: Prepare for loading images with security headerdrivers/firmware/efi/capsule-loader.c drivers/firmware/efi/capsule.c include/linux/efi.h+31 -1010 replies
6/7efi/capsule: Factor out overloadable efi_capsule_identify_imagedrivers/firmware/efi/capsule-loader.c include/linux/efi.h+73 -340 replies
7/7efi/capsule: Add support for Quark security headerarch/x86/platform/efi/quirks.c+95 -01 reply

Reviews trailers per patch

4 of 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchArd BiesheuvelAndy Shevchenko
SeriesR-b
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7
6/7
7/7

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/7] efi: Enhance capsule loader to support signed Quark images

This addresses the review feedback provided on round 1, specifically
- refactored queue to keep the Quark mess in
- only check for CSH on Quark CPUs
- added some smaller cleanups of the capsule loader
- documented capsule header / linked to original code

See last patch for the background of the series.

The series has been tested on the Galileo Gen2, to exclude regressions, with a firmware.cap with AND without security header and the SIMATIC IOT2040 which requires the header because of its mandatory secure boot.

Jan

Jan Kiszka (7):
efi/capsule: Fix return code on failing kmap/vmap efi/capsule: Remove pr_debug on ENOMEM or EFAULT efi/capsule: Clean up pr_err/info messages efi/capsule: Adjust return type of efi_capsule_setup_info efi/capsule: Prepare for loading images with security header efi/capsule: Factor out overloadable efi_capsule_identify_image efi/capsule: Add support for Quark security header

 arch/x86/platform/efi/quirks.c        |  95 ++++++++++++++++++++++++
 drivers/firmware/efi/capsule-loader.c | 136 +++++++++++++++++++---------------
 drivers/firmware/efi/capsule.c        |  21 +++++-
 include/linux/efi.h                   |  19 +++++
 4 files changed, 208 insertions(+), 63 deletions(-)
Signature · 1 line
2.10.2