Skip to content

EFI capsule update support

Matt Fleming linux-efi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4efi: Move efi_status_to_err() to drivers/firmware/efi/drivers/firmware/efi/efi.c drivers/firmware/efi/vars.c include/linux/efi.h+35 -331 reply
2/4efi: Capsule update supportdrivers/firmware/efi/Makefile drivers/firmware/efi/capsule.c drivers/firmware/efi/reboot.c +1 more+312 -25 replies
3/4x86/efi: Force EFI reboot to process pending capsulesarch/x86/kernel/reboot.c include/linux/efi.h+15 -00 replies
4/4efi: A misc char interface to update EFI firmwaredrivers/firmware/efi/Kconfig drivers/firmware/efi/Makefile drivers/firmware/efi/capsule-loader.c+354 -02 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchGreg Kroah-HartmanArd BiesheuvelBryan O'Donoghue
1/4A-b
2/4
3/4
4/4A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/4] EFI capsule update support

This is the reincarnation of the EFI capsule patches I originally posted in 2013, plus Hock's capsule loader driver from earlier this year. Together they provide a way for users to send capsule images to firmware.

EFI capsules are binary blobs passed from the OS to the firmware. The firmware then parses them and makes some decision based upon their contents. The most common use case is to bundle a flashable firmware image into a capsule that the firmware can use to upgrade the existing version in the flash.

The series has been tested on the Intel Quark Galileo.

I plan on queuing this up for v4.7.

Kweh, Hock Leong (1):
efi: A misc char interface to update EFI firmware

Matt Fleming (3):
efi: Move efi_status_to_err() to drivers/firmware/efi/
efi: Capsule update support
x86/efi: Force EFI reboot to process pending capsules

 arch/x86/kernel/reboot.c              |   9 +
 drivers/firmware/efi/Kconfig          |  10 +
 drivers/firmware/efi/Makefile         |   3 +-
 drivers/firmware/efi/capsule-loader.c | 343 ++++++++++++++++++++++++++++++++++
 drivers/firmware/efi/capsule.c        | 286 ++++++++++++++++++++++++++++
 drivers/firmware/efi/efi.c            |  33 ++++
 drivers/firmware/efi/reboot.c         |  12 +-
 drivers/firmware/efi/vars.c           |  33 ----
 include/linux/efi.h                   |  22 +++
 9 files changed, 716 insertions(+), 35 deletions(-)
 create mode 100644 drivers/firmware/efi/capsule-loader.c
 create mode 100644 drivers/firmware/efi/capsule.c
Signature · 1 line
2.6.2