Skip to content

efi: add support for non-standard capsule headers

Jan Kiszka linux-efi lkml 1 version Applied

Status from this message: Queued for v4.13 -- thanks all

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 10 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3efi/capsule-loader: Redirect calls to efi_capsule_setup_info via weak aliasdrivers/firmware/efi/capsule-loader.c include/linux/efi.h+39 -290 replies
2/3efi/capsule-loader: Use page addresses rather than struct page pointersdrivers/firmware/efi/capsule-loader.c drivers/firmware/efi/capsule.c include/linux/efi.h+14 -90 replies
3/3efi/capsule: Add support for Quark security headerarch/x86/platform/efi/quirks.c drivers/firmware/efi/Kconfig+146 -01 reply

Reviews trailers per patch

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

PatchAndy ShevchenkoBryan O'Donoghue
SeriesT-b
1/3
2/3
3/3R-b

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/3] efi: add support for non-standard capsule headers

This picks up the patches Ard send before in [1], including the "left-over" patches 6..8.

As Ard suggested, I've taken updated patches 6 and 7 of him from [2] which address reviewer comments. Furthermore, I've changed patch 8 to factor out the Quark quirk logic from the overloaded efi_capsule_setup_info as requested by Matt and also applied Andy's suggestion to have a quirk dispatcher table with callbacks.

Tested successfully on the IOT2040 - still without a working Galileo board.

Jan

[1] http://www.spinics.net/lists/linux-efi/msg11194.html
[2] https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/log/?h=quark-capsule

Cc Matt Fleming <matt-mF/unelCI9GS6iBeEJttW/[email protected]>

Ard Biesheuvel (2):
efi/capsule-loader: Redirect calls to efi_capsule_setup_info via weak
alias
efi/capsule-loader: Use page addresses rather than struct page
pointers

Jan Kiszka (1):
efi/capsule: Add support for Quark security header

 arch/x86/platform/efi/quirks.c        | 137 ++++++++++++++++++++++++++++++++++
 drivers/firmware/efi/Kconfig          |   9 +++
 drivers/firmware/efi/capsule-loader.c |  66 ++++++++--------
 drivers/firmware/efi/capsule.c        |   7 +-
 include/linux/efi.h                   |  14 +++-
 5 files changed, 197 insertions(+), 36 deletions(-)
Signature · 1 line
2.12.0